mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Juergen Borleis <jbe@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Fritz Emboli <fritz.emboli@gmail.com>
Subject: Re: [ptxdist] Remote debugging (2017.05.0)
Date: Tue, 16 Jan 2018 13:46:31 +0100	[thread overview]
Message-ID: <201801161346.31603.jbe@pengutronix.de> (raw)
In-Reply-To: <CAC+LiDRqY3U7b8WOus1mNVDenq6OhQmX-yewvyt7RoCFDKMUNw@mail.gmail.com>

Moin, moin,

On Tuesday 16 January 2018 12:54:05 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).
>
> 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?

You should use the gdb from the toolchain, *not* the one from your 
host-system.

Cheers,
Juergen

-- 
Pengutronix e.K.                             | Juergen Borleis             |
Industrial Linux Solutions                   | http://www.pengutronix.de/  |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2018-01-16 12:46 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 [this message]
2018-01-16 12:54 ` Alexander Dahl
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=201801161346.31603.jbe@pengutronix.de \
    --to=jbe@pengutronix.de \
    --cc=fritz.emboli@gmail.com \
    --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