From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-qk0-x22c.google.com ([2607:f8b0:400d:c09::22c]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1ebRMp-0000Dy-8O for ptxdist@pengutronix.de; Tue, 16 Jan 2018 14:33:31 +0100 Received: by mail-qk0-x22c.google.com with SMTP id d18so20819342qke.7 for ; Tue, 16 Jan 2018 05:33:30 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20180116123623.xuvkekqeey5chzr3@falbala.home.lespocky.de> References: <20180116123623.xuvkekqeey5chzr3@falbala.home.lespocky.de> From: Fritz Emboli Date: Tue, 16 Jan 2018 14:33:29 +0100 Message-ID: Subject: Re: [ptxdist] Remote debugging (2017.05.0) List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: multipart/mixed; boundary="===============0228745971==" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: PTXdist Mailing List --===============0228745971== Content-Type: multipart/alternative; boundary="001a114d811cba4dde0562e4c6f3" --001a114d811cba4dde0562e4c6f3 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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/=E2=80=A6/platform-foo/root/usr/bin/.debug/.bar= .dbg > > (Adapt path, the file part should match with the binary you want to > debug.) > > Greets > Alex > > -- > =C2=BBWith the first link, the chain is forged. The first speech censured= , > the first thought forbidden, the first freedom denied, chains us all > irrevocably.=C2=AB (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 > --001a114d811cba4dde0562e4c6f3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I tried the debugger from th= e toolchain.
But it dies, because it cannot find libncurses.so.5.<= br>
It is OSELAS.Toolchain-2013.12.2. I don't know where
it= comes from (inherited, not self compiled).

I have to investig= ate...

Do i have to use 2013.12.2 for ptxdist-2017.05.0?
Is there a download for Ubuntu 16.04 (64-bit)?

Thanks
<= div>


2018-01-16 13:54 GMT+01:00 = Alexander Dahl <post@lespocky.de>:
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 acces= s
it from your BSP, e.g.:

=C2=A0 ./platform-foo/selected_toolchain/arm-v5te-linux-gnueabi-g= db

> I do a "set sysroot .../ptxdist/platform-dev/root".

Do you have ./platform-dev/root-debug as a folder? Probably not, tha= t
was dropped in an older version of ptxdist IIRC. Then you may have to
set symbol-file like this:

=C2=A0 symbol-file /home/adahl/=E2=80=A6/platform-foo/root/usr/bin/.de= bug/.bar.dbg

(Adapt path, the file part should match with the binary you want to
debug.)

Greets
Alex

--
=C2=BBWith the first link, the chain is forged. The first speech censured,<= br> the first thought forbidden, the first freedom denied, chains us all
irrevocably.=C2=AB (Jean-Luc Picard, quoting Judge Aaron Satie)
*** GnuPG-FP: C28E E6B9 0263 95CF 8FAF=C2=A0 08FA 34AD CD00 7221 5CC6 ***

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

--001a114d811cba4dde0562e4c6f3-- --===============0228745971== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KcHR4ZGlzdCBt YWlsaW5nIGxpc3QKcHR4ZGlzdEBwZW5ndXRyb25peC5kZQ== --===============0228745971==--