This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug breakpoints/13568] GDB can trigger a SIGBUS putting abreakpoint on a source line removed by linker garbage collection
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 26 Jan 2012 15:27:59 +0000
- Subject: [Bug breakpoints/13568] GDB can trigger a SIGBUS putting abreakpoint on a source line removed by linker garbage collection
- Auto-submitted: auto-generated
- References: <bug-13568-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=13568
Tom Tromey <tromey at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at sourceware |tromey at redhat dot com
|dot org |
--- Comment #5 from Tom Tromey <tromey at redhat dot com> 2012-01-26 15:27:59 UTC ---
The bug is that there is a recursive include in the .debug_macro section.
This causes gdb to overrun the stack.
I'm testing a fix.
Contents of the .debug_macro section:
Offset: 0x0
Version: 4
Offset size: 4
Offset into .debug_line: 0x0
DW_MACRO_GNU_transparent_include - offset : 0x0
DW_MACRO_GNU_start_file - lineno: 0 filenum: 1 filename: a.c
DW_MACRO_GNU_end_file
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.