From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8414 invoked by alias); 11 Sep 2006 10:37:41 -0000 Received: (qmail 8403 invoked by uid 22791); 11 Sep 2006 10:37:40 -0000 X-Spam-Check-By: sourceware.org Received: from web31912.mail.mud.yahoo.com (HELO web31912.mail.mud.yahoo.com) (68.142.207.92) by sourceware.org (qpsmtpd/0.31) with SMTP; Mon, 11 Sep 2006 10:37:38 +0000 Received: (qmail 29981 invoked by uid 60001); 11 Sep 2006 10:37:36 -0000 Message-ID: <20060911103736.29979.qmail@web31912.mail.mud.yahoo.com> Received: from [202.214.28.60] by web31912.mail.mud.yahoo.com via HTTP; Mon, 11 Sep 2006 03:37:36 PDT Date: Mon, 11 Sep 2006 10:37:00 -0000 From: ravi kiran Reply-To: ravi kiran Subject: Re: problem with gdbserver on powerpc To: Daniel Jacobowitz Cc: gdb@sourceware.org In-Reply-To: <20060905135746.GA32414@nevyn.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-09/txt/msg00060.txt.bz2 Thanks Daniel, I was able to debug my program to some extent but got struck as I can not fully use the debugger. Please take look at the issues Issue:1 can't make use of back-trace past-main on I do get 2 different errors on different times of execution. --------------------------------------------------------------------------------------------------------- This GDB was configured as "--host=i686-pc-linux-gnu --target=powerpc-linux"... (gdb) set backtrace past-main on No symbol "backtrace" in current context. (gdb) set solib-absolute-prefix /usr/local/powerpc-mozilla/lib/firefox-1.5.0.3 (gdb) set solib-search-path /usr/local/powerpc-mozilla/lib/firefox-1.5.0.3 (gdb) target remote **.***.**.**:2345 Remote debugging using **.***.**.**:2345 0x30012054 in ?? () warning: Unable to find dynamic linker breakpoint function. GDB will be unable to debug shared library initializers and track explicitly loaded dynamic code. (gdb) Issue 2: After running the program for sometime and check for bt (gdb) bt full #0 0x30008e5c in ?? () No symbol table info available. (gdb) However, I do get backtrace full working at later point of time while the thread goes into do while loop forever. (gdb) set backtrace past-main on A parse error in expression, near `past-main on'. Please do let me know where I am mistaking. regards, Ravi ----- Original Message ---- From: Daniel Jacobowitz To: ravi kiran Cc: gdb@sourceware.org Sent: Tuesday, 5 September, 2006 10:57:46 PM Subject: Re: problem with gdbserver on powerpc On Mon, Sep 04, 2006 at 11:42:10PM -0700, ravi kiran wrote: > ont he host machine the 'bt' gives message like 0x0ff4a210 in ?? () It sounds like you don't have GDB pointing at the shared libraries for your target system, so you can't see where you're stopped. Try "set solib-absolute-prefix". -- Daniel Jacobowitz CodeSourcery