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/9436] gdb cannot break on entry point for statically linked binaries


------- 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.


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