On Tuesday 16 January 2018 13:54:11 Alexander Dahl wrote: > > i'm trying to remote debug an application. > > Host is Ubuntu 16.04 with gdb-multiarch (7.11.1) > > Client is an embedded ARM device running gdbserver (7.6.1 from > > ptxdist). > > Did you try the gdb coming with your toolchain? You can easily access > it from your BSP, e.g.: > > ./platform-foo/selected_toolchain/arm-v5te-linux-gnueabi-gdb > > > I do a "set sysroot .../ptxdist/platform-dev/root". > > Do you have ./platform-dev/root-debug as a folder? Probably not, that > was dropped in an older version of ptxdist IIRC. Then you may have to > set symbol-file like this: > > symbol-file /home/adahl/…/platform-foo/root/usr/bin/.debug/.bar.dbg > > (Adapt path, the file part should match with the binary you want to > debug.)
Hmm, gdb searches for ".debug" subfolders by its own. And the "./platform-dev/root" has these subfolders when the folder contains code files. Cheers, Juergen -- Pengutronix e.K. | Juergen Borleis | Industrial Linux Solutions | http://www.pengutronix.de/ | _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de