From: Daniel Jacobowitz <drow@mvista.com>
To: Frank van Eijkelenburg <frank.van.eijkelenburg@technolution.nl>
Cc: Gnu Debugger mailing list <gdb@sources.redhat.com>
Subject: Re: multithreaded remote debugging
Date: Fri, 17 Jan 2003 15:30:00 -0000 [thread overview]
Message-ID: <20030117153007.GA9693@nevyn.them.org> (raw)
In-Reply-To: <JJEILELDMJJENLCGJHOIGEDLCEAA.frank.van.eijkelenburg@technolution.nl>
On Fri, Jan 17, 2003 at 04:28:17PM +0100, Frank van Eijkelenburg wrote:
> > On Fri, Jan 17, 2003 at 04:09:33PM +0100, Frank van Eijkelenburg wrote:
> > > libthread_db.so.1 is installed on the target. I have a copy of the
> > > application on the host. Actually its the same file as the
> > target uses. I
> > > mount the directory with the application from the host at the
> > target. Do I
> > > have to tell gdb where to find some directories?
> >
> > Sometimes, but it doesn't seem to be the problem here. I think your
> > binary has had some symbols removed, or something similar. GDB is
> > looking for "__pthread_threads_events" and not finding it.
> >
> > Are you running GDB with the file being debugged? Does it have symbol
> > information? The "in ??" is suspicious.
> >
>
> I'm not sure what you mean, but can you make your conlusions with this log:
> (gdb) list
> 923 int iPoll = 0;
> 924
> 925 DebugInit(RmTrace, RmPanicHandler);
> 926
> 927 printf("Starting Terminal application %s\n", VERSION
> VERSION_TEXT DEBUG_TEXT);
> 928
> 929 WritePID();
> 930
> 931 /* Catch Ctrl-C. Stop the program when it occurs. */
> 932 signal(SIGINT, SignalHandler);
> (gdb) info line 923
> Line 923 of "../src/sbiimain.c" starts at address 0x204926c <main+48> and
> ends at 0x2049274 <main+56>.
> (gdb) info symbol 0x204926c
> main + 48 in section .text
> (gdb)
Try:
nm <binary> | grep __pthread_threads_events
nm <libpthread.a> | grep __pthread_threads_events
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
prev parent reply other threads:[~2003-01-17 15:30 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-17 11:29 Frank van Eijkelenburg
2003-01-17 13:54 ` Daniel Jacobowitz
2003-01-17 14:09 ` Frank van Eijkelenburg
2003-01-17 14:14 ` Daniel Jacobowitz
2003-01-17 14:51 ` Frank van Eijkelenburg
2003-01-17 14:56 ` Daniel Jacobowitz
2003-01-17 15:09 ` Frank van Eijkelenburg
2003-01-17 15:17 ` Daniel Jacobowitz
2003-01-17 15:28 ` Frank van Eijkelenburg
2003-01-17 15:30 ` Daniel Jacobowitz [this message]
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=20030117153007.GA9693@nevyn.them.org \
--to=drow@mvista.com \
--cc=frank.van.eijkelenburg@technolution.nl \
--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