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