This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: problem with gdbserver on powerpc


On Mon, Sep 11, 2006 at 03:37:36AM -0700, ravi kiran wrote:
> 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.

You didn't say what GDB version you are using.  Apparently, it is too
old.

> (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

That's unlikely to be right.  solib-search-path should be a directory
containing libraries (if you need to use it at all, which you rarely
do).  solib-absolute-prefix should be a filesystem image, so a
directory containing "lib" and "usr".

> Issue 2: After running the program for sometime and check for bt
> (gdb) bt full 
> #0  0x30008e5c in ?? ()
> No symbol table info available.

This is probably related to the solib-absolute-prefix problem.

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]