unable to debug remotely with threads on ppc target with gdb6.1/6.3
Daniel Jacobowitz
drow@false.org
Mon Apr 11 16:37:00 GMT 2005
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
More information about the Gdb
mailing list