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 1ebPoe-0008AU-2f for ptxdist@pengutronix.de; Tue, 16 Jan 2018 12:54:08 +0100 Received: by mail-qk0-x22c.google.com with SMTP id a5so17647280qkg.10 for ; Tue, 16 Jan 2018 03:54:07 -0800 (PST) MIME-Version: 1.0 From: Fritz Emboli Date: Tue, 16 Jan 2018 12:54:05 +0100 Message-ID: Subject: [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="===============0847005194==" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: PTXdist Mailing List --===============0847005194== Content-Type: multipart/alternative; boundary="001a1147f4fe48d1ef0562e363b8" --001a1147f4fe48d1ef0562e363b8 Content-Type: text/plain; charset="UTF-8" Hi, 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). I do a "set sysroot .../ptxdist/platform-dev/root". When i run gdb on the host, i can attach to the app on the client and set breakpoints. But when i try to list the source or to single step, it does not work. Source list always shows: 1 dl-debug.c: Datei oder Verzeichnis nicht gefunden. And single step complains about missing line number information. What am i doing wrong? Thanks --001a1147f4fe48d1ef0562e363b8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

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 g= dbserver (7.6.1 from ptxdist).

I do a "set sysroot .../pt= xdist/platform-dev/root".

When i run gdb on the host, i c= an attach to the app on
the client and set breakpoints. But when i= try to list
the source or to single step, it does not work.

Source list always shows:1=C2=A0=C2=A0=C2=A0 dl-debug.c: Datei oder Verzeichnis nicht gefunden.

And single step complains about missing line num= ber information.

What am i doing wrong?
=
Thanks

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