[patch] Resolve ppc64 func descriptors as .func (via .opd)
Jan Kratochvil
jan.kratochvil at redhat.com
Tue Dec 4 15:08:31 UTC 2012
On Tue, 04 Dec 2012 16:02:00 +0100, Mark Wielaard wrote:
> When I use gdb on a ppc64 binary (bash in this case), it handles
> function names normally as I expect (without needing to prefix a dot).
>
> (gdb) break get_tty_state
> Breakpoint 1 at 0x1004ced0: get_tty_state. (2 locations)
The resolution above is from a DWARF symbol, this is irrelevant to the
elfutils issue.
> Breakpoint 1, get_tty_state () at jobs.c:2001
> 2001 {
> (gdb) where
> #0 get_tty_state () at jobs.c:2001
> #1 0x000000001004e9b4 in initialize_job_control (force=<optimized out>)
> at jobs.c:3734
> #2 0x000000001001f108 in shell_initialize () at shell.c:1725
> #3 0x000000001001cd48 in main (argc=1, argv=0xffffffff278, env=0xffffffff288)
> at shell.c:568
>
> I do think that is correct and also what a user expects when translating
> an address to a name (through dwfl_module_addrname).
The backtrace above is from DWARF symbols, this is irrelevant to the elfutils
issue.
Thanks,
Jan
More information about the elfutils-devel
mailing list