[patch] Fixes problem setting breakpoint in dynamic loader
Mark Kettenis
mark.kettenis@xs4all.nl
Sat Jun 17 20:21:00 GMT 2006
> From: PAUL GILLIAM <pgilliam@us.ibm.com>
> Date: Wed, 24 May 2006 16:26:11 -0700
>
> --=-z0a1QHXPsj5sKoA5562L
> Content-Type: text/plain
> Content-Transfer-Encoding: 7bit
>
> On PowerPC-64, with 64-bit executables, GDB has been giving this message
> for a while:
>
> warning: Unable to find dynamic linker breakpoint function.
> GDB will be unable to debug shared library initializers
> and track explicitly loaded dynamic code.
>
> This is because "enable_break()" in solib-svr4.c was looking for the
> symbol "._dl_debug_state" in the 64-bit dynamic loader and not finding
> it. This should not be a surprise because these 'dot' symbols have not
> been used for a while.
Your patch removes "._dl_debug_state" from the list of symbols.
Doesn't this break debugging old binaries that still have the 'dot'
symbols?
More information about the Gdb-patches
mailing list