From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11198 invoked by alias); 17 Jan 2003 15:28:26 -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 11183 invoked from network); 17 Jan 2003 15:28:22 -0000 Received: from unknown (HELO relay.versatel.net) (62.250.3.110) by sources.redhat.com with SMTP; 17 Jan 2003 15:28:22 -0000 Received: (qmail 80096 invoked from network); 17 Jan 2003 15:28:20 -0000 Received: from unknown (HELO technt.technolution.nl) (62.58.167.162) by relay.versatel.net with SMTP; 17 Jan 2003 15:28:20 -0000 Received: from frank (172.16.10.11) by technt.technolution.nl (Worldmail 1.3.167); 17 Jan 2003 16:28:17 +0100 Reply-To: From: "Frank van Eijkelenburg" To: "Daniel Jacobowitz" Cc: "Gnu Debugger mailing list" Subject: RE: multithreaded remote debugging Date: Fri, 17 Jan 2003 15:28:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal Importance: Normal In-Reply-To: <20030117151701.GA20207@nevyn.them.org> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 X-SW-Source: 2003-01/txt/msg00309.txt.bz2 > 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 and ends at 0x2049274 . (gdb) info symbol 0x204926c main + 48 in section .text (gdb)