mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Juergen Borleis <jbe@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Albert Antony <albert@newtec.dk>
Subject: Re: [ptxdist] [PATCH] Enable "strip" install option handling for libraries
Date: Wed, 22 Jul 2015 11:29:17 +0200	[thread overview]
Message-ID: <201507221129.17331.jbe@pengutronix.de> (raw)
In-Reply-To: <CAHChq8MrUGOOEK-d7bWKARC=cxtJRtooUefQA5oyiOiGBnXd4A@mail.gmail.com>

Hi Albert,

On Wednesday 22 July 2015 10:31:45 Albert Antony wrote:
> I am aware of the root-debug option, and indeed that is what we use
> for in-house debugging. But we would like to be able to debug a target
> that is out in the field, with only ssh access available to it. Having
> an unstripped version of the application of interest makes the
> debugging a lot easier in this case.

Hmm, PTXdist is a tool which supports exactly this use case. You still can 
debug your target remotely even if it is already in the field.

But you rely on the root filesystem content in the target in the field is 
exactly the one which PTXdist has created (and can re-create on demand at any 
point of time).

Then you can run the 'gdbserver' on your target in the field, start your 
debugger locally and point it to the local "root-debug" directory. That's all. 
Everything runs on your target in the field, but the debugger still finds all 
relevant debug info locally on your host. There is no need for debug infos at 
the target side.

Regards,
Juergen

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

-- 
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2015-07-22  9:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-21 12:04 Albert Antony
2015-07-21 13:14 ` Juergen Borleis
2015-07-21 14:03   ` Albert Antony
2015-07-21 14:34     ` Juergen Borleis
2015-07-22  8:31       ` Albert Antony
2015-07-22  9:29         ` Juergen Borleis [this message]
2015-07-22 13:28           ` Albert Antony
  -- strict thread matches above, loose matches on Subject: below --
2015-07-21 10:09 Albert Antony
2015-07-21 10:26 ` Michael Olbrich

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=201507221129.17331.jbe@pengutronix.de \
    --to=jbe@pengutronix.de \
    --cc=albert@newtec.dk \
    --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