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: "nickc at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 26 Jan 2012 09:56:29 +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
--- Comment #3 from Nick Clifton <nickc at redhat dot com> 2012-01-26 09:56:29 UTC ---
Created attachment 6177
--> http://sourceware.org/bugzilla/attachment.cgi?id=6177
Executable to demonstrate the problem
% gdb -nw a.bad
GNU gdb (GDB) 7.4.50.20120126-cvs
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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 "i686-pc-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /media/Devo/current/i686-pc-linux-gnu/tests/a.bad...done.
(gdb) break a.c:6
Bus error (core dumped)
--
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.