This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug breakpoints/13568] GDB can trigger a SIGBUS putting abreakpoint on a source line removed by linker garbage collection


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]