From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11913 invoked by alias); 11 Apr 2005 16:37:01 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 11862 invoked from network); 11 Apr 2005 16:36:54 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 11 Apr 2005 16:36:54 -0000 Received: from drow by nevyn.them.org with local (Exim 4.50 #1 (Debian)) id 1DL1u9-0007hU-Ti; Mon, 11 Apr 2005 12:36:54 -0400 Date: Mon, 11 Apr 2005 16:37:00 -0000 From: Daniel Jacobowitz To: Claudia Salzberg Cc: gdb@sources.redhat.com Subject: Re: unable to debug remotely with threads on ppc target with gdb6.1/6.3 Message-ID: <20050411163653.GA29553@nevyn.them.org> Mail-Followup-To: Claudia Salzberg , gdb@sources.redhat.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.8i X-SW-Source: 2005-04/txt/msg00057.txt.bz2 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