From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mout.kundenserver.de ([217.72.192.73]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1ebQl2-0001gi-BG for ptxdist@pengutronix.de; Tue, 16 Jan 2018 13:54:28 +0100 Received: from idefix.home.lespocky.de ([79.197.152.65]) by mrelayeu.kundenserver.de (mreue104 [212.227.15.183]) with ESMTPSA (Nemesis) id 0MWBdh-1eLe8o2Vrt-00XKOz for ; Tue, 16 Jan 2018 13:54:27 +0100 Received: from falbala.home.lespocky.de ([192.168.243.94]) by idefix.home.lespocky.de with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.82) (envelope-from ) id 1ebQkp-0000XM-KK for ptxdist@pengutronix.de; Tue, 16 Jan 2018 13:54:26 +0100 Date: Tue, 16 Jan 2018 13:54:11 +0100 From: Alexander Dahl Message-ID: <20180116123623.xuvkekqeey5chzr3@falbala.home.lespocky.de> References: MIME-Version: 1.0 In-Reply-To: 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="===============1436059977==" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de --===============1436059977== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="oabc7d7z5agv4ric" Content-Disposition: inline --oabc7d7z5agv4ric Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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.d= bg (Adapt path, the file part should match with the binary you want to debug.) Greets Alex --=20 =C2=BBWith the first link, the chain is forged. The first speech censured,= =20 the first thought forbidden, the first freedom denied, chains us all=20 irrevocably.=C2=AB (Jean-Luc Picard, quoting Judge Aaron Satie) *** GnuPG-FP: C28E E6B9 0263 95CF 8FAF 08FA 34AD CD00 7221 5CC6 *** --oabc7d7z5agv4ric Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEwo7muQJjlc+Prwj6NK3NAHIhXMYFAlpd9e8ACgkQNK3NAHIh XMbrMw//SHIdpj0drDviDdW/XPsZoHndAV06OkX5iTn0/CwZfXI0B6R2ldwgYKF2 0OrF7OzLMBsneKWILdWshGMbxFCk6Fxb9p1M9RRE7CbVk1kCEvx7gaGVXeph1AVQ q7dkczwTeukljFYLe32E/jFS3czRITnad+MkiG1fcZKafPhrb+azSNKFEmDqGHK8 729xc+KyhaBXA2tNqnSxismTAY1ZTwVqFkZ0wtkoBFMmswPcKiR3r8a6d7IDpWQH 9VW5/mLKSOAkuNR9Q4CKvz5OcJ46nFGV+ImKpU2oTy2IPcKbH3a34MBR3UCIJ0F9 9GMYNLF3G3cP9FRc09l3B76pOqWJs9dlHD4aScgjsiTFG7ajrw33amRNE5q5pzKv chH91takSQJ8s+WblWfK46jYlMoXWkVTiZ9gve3oi9hCb/ZpJSACMBqgk9hEONhQ BJ0oYirtndiGUG875J6naMuyoBMDfwNZTI/rRkuVOH4VyYIF9f/xmBQbLYEsZ9/o TjTgPtLYijmC3RkeuSe5mKzWD6m7mC+d+iQ5AMqy5bRF5dL3zYO0VxBGs53wDrpN p5sookAGXX+59ZkyyJ2khPqxjQxOrNHOHjwOZhbh3c9X9C3a65Yil53GviAgipfH qYXe0ZJQYsAfGZby1nvyIgfAjzTsmyjOzvaZnc5ZtB3lO0ZIwy0= =TAxo -----END PGP SIGNATURE----- --oabc7d7z5agv4ric-- --===============1436059977== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KcHR4ZGlzdCBt YWlsaW5nIGxpc3QKcHR4ZGlzdEBwZW5ndXRyb25peC5kZQ== --===============1436059977==--