[prev in list] [next in list] [prev in thread] [next in thread]
List: gdb
Subject: Re: Chicken-or-egg problem with shared libraries
From: Daniel Jacobowitz <drow () false ! org>
Date: 2006-05-23 23:02:37
Message-ID: 20060523230237.GA9621 () nevyn ! them ! org
[Download RAW message or body]
On Tue, May 23, 2006 at 02:56:17PM -0700, PAUL GILLIAM wrote:
> bkpt_at_symbol:
> warning (_("Unable to find dynamic linker breakpoint function.\n"
> "GDB will be unable to debug shared library initializers\n"
> "and track explicitly loaded dynamic code."));
>
> I believe this is executed because although it finds
> "_dl_debug_state" (now that Alan made his change to BFD), on a ppc64
> system, that symbol is not in the a code section and so it is rejected:
>
> > sym_addr = bfd_lookup_symbol (tmp_bfd, *bkpt_namep, SEC_CODE);
> ^^^^^^^^^
I understood from Alan that GDB ought to actually deal with the
function descriptor here and go from that to the code address; or is
that wrong?
[I'm clueless for function descriptor platforms.]
--
Daniel Jacobowitz
CodeSourcery
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic