(Rising Spam Alert)Re: (Rising Spam Alert)Re: wrong lib address

'Daniel Jacobowitz' drow@false.org
Mon Sep 3 14:49:00 GMT 2007


On Mon, Sep 03, 2007 at 06:30:58PM +0800, xchen wrote:
>  
> Hi Daniel 
> 
> 	I have resolved this problem. I misunderstood the mean of
> solib-absolute-prefix. And now I use solib-search-path to load the library.
> Bad luck!  New errors occured include Malformed packet(b) (missing colon)
> and Invalid remote reply when I continue to debug my peogram. Belowed is the
> snapshot
> 
> (gdb) set solib-absolute-prefix /root/
> (gdb) set solib-search-path
> /opt/montavista/pro/devkit/ppc/8xx/target/lib/:/opt/montavista/pro/devkit/pp
> c/8xx/target/usr/lib/

No.  Don't use solib-search-path for this.

Use:
  set solib-absolute-prefix /opt/montavista/pro/devkit/ppc/8xx/target

> (gdb) n
> warning: Invalid remote reply: n8003

You are using MontaVista's gdbserver.  You should be using their GDB,
too.  This only works with both.


-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb mailing list