This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils 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]

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
that way.)


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


Thanks,
Jan

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