I tried the debugger from the toolchain. But it dies, because it cannot find libncurses.so.5. It is OSELAS.Toolchain-2013.12.2. I don't know where it comes from (inherited, not self compiled). I have to investigate... Do i have to use 2013.12.2 for ptxdist-2017.05.0? Is there a download for Ubuntu 16.04 (64-bit)? Thanks 2018-01-16 13:54 GMT+01:00 Alexander Dahl : > Hei hei, > > On Tue, Jan 16, 2018 at 12:54:05PM +0100, Fritz Emboli 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.) > > Greets > Alex > > -- > »With the first link, the chain is forged. The first speech censured, > the first thought forbidden, the first freedom denied, chains us all > irrevocably.« (Jean-Luc Picard, quoting Judge Aaron Satie) > *** GnuPG-FP: C28E E6B9 0263 95CF 8FAF 08FA 34AD CD00 7221 5CC6 *** > > _______________________________________________ > ptxdist mailing list > ptxdist@pengutronix.de >