This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: unable to debug remotely with threads on ppc target with gdb6.1/6.3
- From: Daniel Jacobowitz <drow at false dot org>
- To: Claudia Salzberg <salzberg at us dot ibm dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Mon, 11 Apr 2005 12:36:53 -0400
- Subject: Re: unable to debug remotely with threads on ppc target with gdb6.1/6.3
- References: <OFCCB63717.53F52E0C-ON87256FE0.005A0648-86256FE0.005A92EB@us.ibm.com>
On Mon, Apr 11, 2005 at 11:29:19AM -0500, Claudia Salzberg wrote:
> I sent this message out once already but it didnt get posted - suspecting
> a mail format issue I made sure its in text format so it should work
> now...sorry for the spam.
>
> I have tried both gdb 6.1 the latest version (6.3) and am trying to debug
> a simple threaded program using pthreads remotely. The target board is a
> 440GP and the host is an x86 box. I see references to similar problems in
> past posts from 12 2004 (
> http://sourceware.org/ml/gdb/2004-12/msg00028.html) but did not see if a
> patch was created.
>
> This is my setup on the x86 side. None of these steps have any ill
> effects on either side:
> 1) target remote 192.168.1.2:1234
> 2) add-symbol-file theadfooppc
Don't do that. Use the file command (before connecting), not
add-symbol-file; it does not do what you think it does.
--
Daniel Jacobowitz
CodeSourcery, LLC