Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: ravi kiran <rkmovva@yahoo.com>
To: Daniel Jacobowitz <drow@false.org>
Cc: gdb@sourceware.org
Subject: Re: problem with gdbserver on powerpc
Date: Mon, 11 Sep 2006 10:37:00 -0000	[thread overview]
Message-ID: <20060911103736.29979.qmail@web31912.mail.mud.yahoo.com> (raw)
In-Reply-To: <20060905135746.GA32414@nevyn.them.org>

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 <drow@false.org>
To: ravi kiran <rkmovva@yahoo.com>
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


  reply	other threads:[~2006-09-11 10:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-05  6:42 ravi kiran
2006-09-05 13:57 ` Daniel Jacobowitz
2006-09-11 10:37   ` ravi kiran [this message]
2006-09-11 12:34     ` Daniel Jacobowitz
2006-09-12 11:28       ` ravi kiran
2006-09-11 17:31     ` Michael Snyder
     [not found] <20060922145918.33509.qmail@web31912.mail.mud.yahoo.com>
2006-09-22 15:01 ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060911103736.29979.qmail@web31912.mail.mud.yahoo.com \
    --to=rkmovva@yahoo.com \
    --cc=drow@false.org \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox