This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug breakpoints/9436] gdb cannot break on entry point for statically linked binaries
- From: "jan dot kratochvil at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 24 Jun 2010 15:20:38 -0000
- Subject: [Bug breakpoints/9436] gdb cannot break on entry point for statically linked binaries
- References: <20071011093801.9436.xt28@gmx.de>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From jan dot kratochvil at redhat dot com 2010-06-24 15:20 -------
$ ./gdb -nx /sbin/ldconfig
(gdb) info files
...
Entry point: 0x400360
...
(gdb) b *0x400360
Breakpoint 1 at 0x400360: file ../sysdeps/x86_64/elf/start.S, line 65.
(gdb) r
Starting program: /sbin/ldconfig
Breakpoint 1, _start () at ../sysdeps/x86_64/elf/start.S:65
65 xorl %ebp, %ebp
(gdb) p/x $pc
$1 = 0x400360
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://sourceware.org/bugzilla/show_bug.cgi?id=9436
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.