From: Daniel Jacobowitz <drow@false.org>
To: David Antliff <dave.antliff@paradise.net.nz>
Cc: gdb@sources.redhat.com
Subject: Re: remote debugging symbol problem
Date: Thu, 19 May 2005 01:01:00 -0000 [thread overview]
Message-ID: <20050519010133.GB27885@nevyn.them.org> (raw)
In-Reply-To: <Pine.LNX.4.61.0505191210040.25332@localhost>
On Thu, May 19, 2005 at 12:26:33PM +1200, David Antliff wrote:
>
> Hello,
>
> We use gdb-6.0 and a PowerPC port of gdbserver to remotely debug our
> target application on it's PowerPC platform. Our application forks several
> (20 or so) child processes shortly after starting up, and a few of these
> child processes create threads.
>
> Until quite recently, this has all worked fine. I was able to invoke:
>
> # gdbserver 0.0.0.0:2345 --attach <pid> for any of the child processes,
> and then run on my development host (x86 linux):
>
> $ cd <application-src-dir>
> $ gdb <application-binary>
>
> I am 100% sure the same application binary is running on the host as on
> the target (I'm using NFS).
>
> Normally, once GDB is pointed at the target, the process is interrupted
> and GDB can show a stack trace at the point of interruption.
>
> However, now, I just get this:
>
> (gdb) target remote 10.16.10.237:2345
> Remote debugging using 10.16.10.237:2345
> 0x0fe896a0 in ?? ()
> warning: Unable to find dynamic linker breakpoint function.
> GDB will be unable to debug shared library initializers
> and track explicitly loaded dynamic code.
>
> My understanding is that the warning is simply because the standard
> libraries aren't compiled with GDB support. This used to happen even when
> it worked so I'm not concerned about it (should I be?).
You should be. This means that GDB has not found your target
libraries. Is solib-absolute-prefix set in your cross GDB?
--
Daniel Jacobowitz
CodeSourcery, LLC
next prev parent reply other threads:[~2005-05-19 1:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-19 0:26 David Antliff
2005-05-19 1:01 ` Daniel Jacobowitz [this message]
2005-05-19 3:53 ` David Antliff
2005-05-19 4:00 ` Eli Zaretskii
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=20050519010133.GB27885@nevyn.them.org \
--to=drow@false.org \
--cc=dave.antliff@paradise.net.nz \
--cc=gdb@sources.redhat.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