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: Debugging issue with gdbserver and a daemon on the target


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


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