From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C7BEB3858C2D; Sun, 6 Mar 2022 20:12:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C7BEB3858C2D From: "me at ruff dot mobi" To: gdb-prs@sourceware.org Subject: [Bug gdb/28874] arm-none-eabi: internal-error: thread_info* inferior_thread(): Assertion `current_thread_ != nullptr' failed Date: Sun, 06 Mar 2022 20:12:57 +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: me at ruff dot mobi 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: Sun, 06 Mar 2022 20:12:57 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28874 --- Comment #2 from Ruslan N. Marchenko --- In my case executable is irrelevant, you can simply have none at all. Just need a remote debugger (I use BMP) and then as simple as=20 $ arm-none-eabi-gdb GNU gdb (GDB) 11.2 Copyright (C) 2022 Free Software Foundation, Inc. ... For help, type "help". Type "apropos word" to search for commands related to "word". (gdb) tar ext /dev/ttyACM0 Remote debugging using /dev/ttyACM0 (gdb) mon s Target voltage: 3.29V Available Targets: No. Att Driver 1 STM32L47x M4 (gdb) set debug remote on (gdb) attach 1 Attaching to Remote target [remote] Sending packet: $vAttach;1#37 [remote] Received Ack [remote] Packet received: T05 [remote] packet_ok: Packet vAttach (attach) is supported [remote] Sending packet: $qC#b4 [remote] Received Ack [remote] Packet received: ../../gdb/thread.c:72: internal-error: thread_info* inferior_thread(): Assertion `current_thread_ !=3D nullptr' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. Quit this debugging session? (y or n) --=20 You are receiving this mail because: You are on the CC list for the bug.=