From: <jon.bird@generaldynamics.uk.com>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] How to get valgrind working in ptx build
Date: Thu, 8 Aug 2013 09:21:12 +0000 [thread overview]
Message-ID: <94D4A88F8AC34646A5288D11318F5D5B0D723F9D@GDUKADH841.uk1.r-org.net> (raw)
In-Reply-To: <520257AA.3020709@pengutronix.de>
On 07 August 2013 15:20, Marc Kleine-Budde <mailto:mkl@pengutronix.de> wrote:
> On 08/07/2013 03:47 PM, jon.bird@generaldynamics.uk.com wrote:
>> Thanks for the replies,
>>
>> On 07 August 2013 14:11, Jürgen Beisert <mailto:jbe@pengutronix.de>
>> wrote:
>>
>>> Hi Jon,
>>>
>>> On Wednesday 07 August 2013 14:32:50 jon.bird@generaldynamics.uk.com
>>> wrote:
>>>> I am trying to get valgrind enabled under Ptxdist. I can build the
>>>> package ok and deploy it however when I attempt to run an app on
>>>> the target system it fails complaining that it needs debugging
[...]
>>>
>>
>> I'll give the nfs-root thing a go but from what you've said it sounds
>> like I need to rebuild the toolchain with debugging enabled.
>
> You don't have to rebuild the toolchain. The glibc comes with debug
> infos already.
>
> However if you want to step into your glibc or c++ code, you need to
> have the sources. If you enable this option, the sources will be
> placed under /opt, so that the debugger will find them. But this is
> not needed in your case.
>
> Marc
NFS mounting the root-debug folder and running the s/w from there allows me to use valgrind now. Thanks for the assistance.
Jon.
This email and any files attached are intended for the addressee and may contain information of a confidential nature. If you are not the intended recipient, be aware that this email was sent to you in error and you should not disclose, distribute, print, copy or make other use of this email or its attachments. Such actions, in fact, may be unlawful. In compliance with the various Regulations and Acts, General Dynamics United Kingdom Limited reserves the right to monitor (and examine for viruses) all emails and email attachments, both inbound and outbound. Email communications and their attachments may not be secure or error- or virus-free and the company does not accept liability or responsibility for such matters or the consequences thereof. General Dynamics United Kingdom Limited, Registered Office: 21 Holborn Viaduct, London EC1A 2DY. Registered in England and Wales No: 1911653.
--
ptxdist mailing list
ptxdist@pengutronix.de
prev parent reply other threads:[~2013-08-08 9:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-07 12:32 jon.bird
2013-08-07 13:04 ` Marc Kleine-Budde
2013-08-07 13:10 ` Jürgen Beisert
2013-08-07 13:47 ` jon.bird
2013-08-07 14:20 ` Marc Kleine-Budde
2013-08-08 9:21 ` jon.bird [this message]
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=94D4A88F8AC34646A5288D11318F5D5B0D723F9D@GDUKADH841.uk1.r-org.net \
--to=jon.bird@generaldynamics.uk.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