This is the mail archive of the
mailing list for the elfutils project.
Re: [patch] Resolve ppc64 func descriptors as .func (via .opd)
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Tue, 20 Nov 2012 14:15:53 +0100
- Subject: Re: [patch] Resolve ppc64 func descriptors as .func (via .opd)
On Mon, 19 Nov 2012 20:29:31 +0100, Mark Wielaard wrote:
> A function descriptor symbol doesn't point to executable code, just
> to some data that describes the function and where its entry point is.
> Or do you mean someone could place a data watchpoint on it?
"break" command puts code execution breakpoint to whatever linespec you gave
to it. Some autodetection of symbol types would be confusing to users.
(The last sentence may be a subject for discussion but GDB generally behaves
> But my point was more that in a backtrace it is more natural to
> associate the actual function name with the address of the code
> than prefixing it with an artificial dot.
When we were designing new arch/ABI that is a nice idea. But ppc64 ABI is
what it is, I do not think elfutils should confuse it even more it already is.