From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A8103383E81D; Thu, 21 May 2020 21:02:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A8103383E81D From: "jeff at jkent dot net" To: gdb-prs@sourceware.org Subject: [Bug breakpoints/26019] FreeRTOS task breakpoint causes core dump Date: Thu, 21 May 2020 21:02:47 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed 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: 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, 21 May 2020 21:02:47 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26019 --- Comment #4 from Jeff Kent --- I was able to repro this bug with the following gdb session. I'm using 8.3= .0 because I accidentally wiped out my toolchain with GDB 9.1. Woops. It's currently rebuilding. GNU gdb (GNU Tools for Arm Embedded Processors 9-2019-q4-major) 8.3.0.20190709-git Copyright (C) 2019 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "--host=3Dx86_64-linux-gnu --target=3Darm-none-e= abi". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word". (gdb) file examples/freertos-demo/build/freertos-demo.elf Reading symbols from examples/freertos-demo/build/freertos-demo.elf... (gdb) target remote localhost:2331 Remote debugging using localhost:2331 _vect_irq () at ../../baremetal/entry.S:41 41 ldr pc, [pc, #24] (gdb) monitor halt (gdb) monitor reset Resetting target (gdb) load Loading section .entry, size 0xa4 lma 0x0 Loading section .entry_thumb, size 0x24 lma 0xa4 Loading section .text, size 0x3aa8 lma 0xc8 Loading section .rodata, size 0x58 lma 0x3b70 Loading section .data, size 0x10 lma 0x3bc8 Start address 0x0, load size 15320 Transfer rate: 56 KB/sec, 3064 bytes/write. (gdb) monitor reset Resetting target (gdb) break examples/freertos-demo/main.c:61 Breakpoint 1 at 0x3b64: file main.c, line 61. (gdb) continue Continuing. Breakpoint 1, task_b ( /mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-100_20191030= _1572397542/src/gdb/gdb/frame.c:558: internal-error: frame_id get_frame_id(frame_info*): Assertion `stashed' fai= led. A problem internal to GDB has been detected, further debugging may prove unreliable. Quit this debugging session? (y or n) y This is a bug, please report it. For instructions, see: . /mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-100_20191030= _1572397542/src/gdb/gdb/frame.c:558: internal-error: frame_id get_frame_id(frame_info*): Assertion `stashed' fai= led. A problem internal to GDB has been detected, further debugging may prove unreliable. Create a core file of GDB? (y or n) y Aborted (core dumped) --=20 You are receiving this mail because: You are on the CC list for the bug.=