From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E667A387084F; Thu, 21 May 2020 03:08:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E667A387084F From: "jeff at jkent dot net" To: gdb-prs@sourceware.org Subject: [Bug breakpoints/26019] New: FreeRTOS task breakpoint causes core dump Date: Thu, 21 May 2020 03:08:59 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: breakpoints X-Bugzilla-Version: 9.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jeff at jkent dot net X-Bugzilla-Status: UNCONFIRMED 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: 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, 21 May 2020 03:09:00 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26019 Bug ID: 26019 Summary: FreeRTOS task breakpoint causes core dump Product: gdb Version: 9.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: breakpoints Assignee: unassigned at sourceware dot org Reporter: jeff at jkent dot net Target Milestone: --- Created attachment 12559 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D12559&action=3Ded= it Core dump from GDB 9.1 While debugging FreeRTOS on an ARM926EJ-S platform. I ran across a repeatab= le GDB crash. It happens with two different toolchains: GNU gdb (GNU Tools for Arm Embedded Processors 9-2019-q4-major) 8.3.0.20190709-git GNU gdb (crosstool-NG 1.24.0.105_5659366) 9.1 I am using Visual Studio Code as a frontend for GDB. I am also using JLinkGDBServer. To rule out that it is a GDB server issue, I also tried us= ing OpenOCD. The crash still occurred. To reproducing the problem is an issue, because it requires specific hardwa= re.=20 If needed I can provide GDB server and target reset access by appointment. = The source of the project can be found at https://github.com/jkent/pollux-baremetal/tree/gdb-bug . I think the next task would be to build GDB with debug symbols so the core dump can provide a useful backtrace. I do not know how to do this -- is th= ere a ./Configure option that can be passed to enable debugging? This would be= the easiest route, to build a new toolchain with crosstool-ng. Attached is the core dump. --=20 You are receiving this mail because: You are on the CC list for the bug.=