Debugging issue with gdbserver and a daemon on the target

Pedro Alves palves@redhat.com
Wed Aug 20 09:11:00 GMT 2014


On 08/20/2014 09:36 AM, Laszlo Papp wrote:
> 
> As you can see the two paths differ in
> "./tmp/work/foo-foo-linux-gnueabi/foo-core-image-dbg/1.0-r0/rootfs",
> but that is set as sysroot when I run gdb. 

sysroot is only for pointing gdb at a copy of the system root on
the target (the binaries), not sources.

> Do I also need to set this as a substitute path, too, then?

Looks like it.

Thanks,
Pedro Alves



More information about the Gdb mailing list