From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28782 invoked by alias); 1 Oct 2002 23:11:35 -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 28771 invoked from network); 1 Oct 2002 23:11:32 -0000 Received: from unknown (HELO mail.utstar.com) (65.200.123.6) by sources.redhat.com with SMTP; 1 Oct 2002 23:11:32 -0000 Received: from labpcwx (labpc-wx.utstar.com [172.16.2.43] (may be forged)) by mail.utstar.com (8.11.3/8.11.3) with SMTP id g91NBWL24010 for ; Tue, 1 Oct 2002 19:11:32 -0400 (EDT) From: "Wenxiang Dai" To: Subject: gdbserver with PowerPC 8260 Date: Tue, 01 Oct 2002 16:11:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Importance: Normal X-SW-Source: 2002-10/txt/msg00010.txt.bz2 I downloaded the latest GDB code "gdb+dejagnu-weekly-20021001.tar.bz2" from sources.rehat.com, and rebuild the gdbserver and gdb for powerpc target, then I used the gdbserver to debug a multi-threads programme in target, if the breakpoint was set in main routine, it's OK, but if the break point was set within any other child thread, the break point can be hit, however, the debug cusor is not shown and the gdb say it is going to libc.so, if I say n, the target programme will crash. I try to set "solib-search-path" to the target share lib path, the problem remains same. I used nfs to map the root file system to target. Any thought? Any suggestion? Thanks here is the display of the gdb GNU DDD 3.3.1 (i386-redhat-linux-gnu), by Dorothea Lütkehaus and Andreas Zeller. Copyright © 1995-1999 Technische Universität Braunschweig, Germany. Copyright © 1999-2001 Universität Passau, Germany. (gdb) set solib-search-path /exports/rfs/lib (gdb) file /home/wxdai/work/ipdslam/icm/apps/build/nmgt/bin.mpc/nmgt (gdb) list clib_pass.c:1 Line 1 of "../../../../icm/apps/nmgt/cli_b/clib_pass.c" is at address 0x1003ff94 but contains no code. /home/wxdai/work/ipdslam/icm/apps/nmgt/cli_b/clib_pass.c:1:0:beg:0x1003ff94 (gdb) break ../../../../icm/apps/nmgt/cli_b/clib_pass.c:20 Breakpoint 1 at 0x1003ffb4: file ../../../../icm/apps/nmgt/cli_b/clib_pass.c, line 20. (gdb) target remote 172.16.133.231:12345 0x30010660 in ?? () (gdb) handle SIG32 nostop (gdb) c Program received signal SIG32, Real-time event 32. Program received signal SIG32, Real-time event 32. Program received signal SIG32, Real-time event 32. Program received signal SIG32, Real-time event 32. Program received signal SIGTRAP, Trace/breakpoint trap. 0x0ff12e00 in ngettext () from /lib/libc.so.6 (gdb) c