Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Display libc function names instead of address ?
@ 2005-06-16  3:36 Victor STINNER
  2005-06-16  4:43 ` Daniel Jacobowitz
  2005-06-16 18:21 ` Eli Zaretskii
  0 siblings, 2 replies; 13+ messages in thread
From: Victor STINNER @ 2005-06-16  3:36 UTC (permalink / raw)
  To: gdb

Hi,

I woud like to know if it is possible to display libc functions name
instead of their address. Example :

(1) (...) // prepare parameters
    call 0x8048728

(2) jmp *0x804a6b0 // in relocation table, at 0x08048728

And if I do a "objdump -R file | grep 0x804a6b0", it answers printf. So
is it possible to display "call printf" instead of "call 0x8048728" ? Or
at least display "jmp *<printf>" instead of "jmp *0x804a6b0" ?

I think that gdb can already read relocation table because "print
printf" command give me the function address.

I hope that it's just an option :-)

Bye, Haypo


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2005-06-18 13:12 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-16  3:36 Display libc function names instead of address ? Victor STINNER
2005-06-16  4:43 ` Daniel Jacobowitz
2005-06-16 15:04   ` Victor STINNER
2005-06-16 15:20     ` Daniel Jacobowitz
2005-06-16 15:46       ` Victor STINNER
2005-06-16 18:21 ` Eli Zaretskii
2005-06-16 18:29   ` Daniel Jacobowitz
2005-06-16 18:56     ` Eli Zaretskii
2005-06-16 19:03       ` Daniel Jacobowitz
2005-06-17  9:44         ` Eli Zaretskii
2005-06-17 11:44           ` Victor STINNER
2005-06-17 13:56           ` Daniel Jacobowitz
2005-06-18 13:12           ` Eli Zaretskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox