From: Daniel Jacobowitz <drow@mvista.com>
To: Paul Mundt <paul.mundt@timesys.com>
Cc: gdb@sources.redhat.com
Subject: Re: gdbserver on PowerPC Issues
Date: Wed, 20 Nov 2002 10:39:00 -0000 [thread overview]
Message-ID: <20021120183953.GC24089@nevyn.them.org> (raw)
In-Reply-To: <1037812916.1315.22.camel@Origin>
On Wed, Nov 20, 2002 at 12:21:57PM -0500, Paul Mundt wrote:
> Hi,
>
> Currently when I try and debug an application via gdbserver running on a
> PowerPC target (ep8260 in this case) I get the following:
>
> $ powerpc-linux-gdb
> GNU gdb 5.2.1
> Copyright 2002 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you
> are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB. Type "show warranty" for
> details.
> This GDB was configured as "--host=i686-linux --target=powerpc-linux".
> (gdb) file hello
> Reading symbols from hello...done.
> (gdb) target remote 192.168.2.84:10002
> Remote debugging using 192.168.2.84:10002
> 0x3000fa8c in ?? ()
> warning: Unable to find dynamic linker breakpoint function.
> GDB will be unable to debug shared library initializers
> and track explicitly loaded dynamic code.
> (gdb)
>
> Now, looking through gnats, I see that someone had a similar problem and
> this was logged as PR 236 -- to which there doesn't seem to be a fix.
>
> Also looking through google, someone had suggested that this problem
> might potentially be caused by having a stripped linker, and the linker
> does indeed appear to be unstripped.
>
> Any other suggestions?
The problem is presumably that you haven't told GDB where to look for
the dynamic linker and shared libraries. Try using 'set
solib-absolute-prefix' before you 'target remote'.
I suppose it might be worth adding to that message in order to make
this clearer...
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
next prev parent reply other threads:[~2002-11-20 18:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-20 9:18 Paul Mundt
2002-11-20 10:39 ` Daniel Jacobowitz [this message]
2002-11-20 11:19 ` Paul Mundt
2002-11-20 11:21 ` Daniel Jacobowitz
2002-11-20 11:29 ` Paul Koning
2002-11-20 11:45 ` Daniel Jacobowitz
2002-11-20 11:29 ` Paul Mundt
2002-11-20 12:23 ` Andrew Cagney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021120183953.GC24089@nevyn.them.org \
--to=drow@mvista.com \
--cc=gdb@sources.redhat.com \
--cc=paul.mundt@timesys.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox