[rfa/threads] Convert thread event descriptors to code addrs
Tue Nov 25 21:13:00 GMT 2003
For PPC64 every function has two minimal symbols vis:
.__nptl_create_event: the start address
__nptl_create_event: the descriptor
This patch modifies ps_pglobal_lookup so that it always returns the
function's start address. Doing this ensures that libthread_db and
GDB's thread code are "on the same page" when it comes to the true
address of the thread-create and thread-death breakpoints.
The alternative would be to modify libthread_db so that it knew that
PPC64 symbol were special but I suspect that it doesn't want to know
about such underlying details.
ok for mainline?
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Gdb-patches