mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Alexander Dahl <post@lespocky.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] Remote debugging (2017.05.0)
Date: Tue, 16 Jan 2018 13:54:11 +0100	[thread overview]
Message-ID: <20180116123623.xuvkekqeey5chzr3@falbala.home.lespocky.de> (raw)
In-Reply-To: <CAC+LiDRqY3U7b8WOus1mNVDenq6OhQmX-yewvyt7RoCFDKMUNw@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1095 bytes --]

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 ***

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 91 bytes --]

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  parent reply	other threads:[~2018-01-16 12:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-16 11:54 Fritz Emboli
2018-01-16 12:46 ` Juergen Borleis
2018-01-16 12:54 ` Alexander Dahl [this message]
2018-01-16 13:00   ` Juergen Borleis
2018-01-16 13:33   ` Fritz Emboli
2018-01-16 14:12     ` Alexander Dahl
2018-01-16 14:18     ` Bastian Stender

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180116123623.xuvkekqeey5chzr3@falbala.home.lespocky.de \
    --to=post@lespocky.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox