This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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] Fixes problem setting breakpoint in dynamic loader


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


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