From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DD34C3857805; Thu, 17 Mar 2022 21:25:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DD34C3857805 From: "klen_s at mail dot ru" To: gdb-prs@sourceware.org Subject: [Bug gdb/28874] arm-none-eabi: internal-error: thread_info* inferior_thread(): Assertion `current_thread_ != nullptr' failed Date: Thu, 17 Mar 2022 21:25:20 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: 11.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: klen_s at mail dot ru X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Mar 2022 21:25:21 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28874 --- Comment #12 from Chernov Sergey aka Klen --- Despite the fact that I am also a little in kurma how it all works, I can n= ot say anything definitively. Due to the fact that microcontrollers sometimes began to have more than one core, a situation arose that the infrastructure for remote debugging should= be fundamentally expanded ( cpu cores, multithreading etc ), probably not done with just skewers and patches. Judging by the code 11.1 - it works correctly but "in the old way". In 11.2, they started trying to fix it and broke everything :) It will probably take a lot of work to make it elegant and reliable again on different targets I tried your changes on trunk code - it also fixes the problem... but unfortunately gdb now crashes when communicating via MI protocol with eclip= se IDE. in the console everything is fine and correctly debugged. --=20 You are receiving this mail because: You are on the CC list for the bug.=