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

'Daniel Jacobowitz'
2007-09-03T14:49:44Z

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