From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail1.bemta5.messagelabs.com ([195.245.231.138]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1V7MPD-0000qx-2g for ptxdist@pengutronix.de; Thu, 08 Aug 2013 11:21:16 +0200 From: Date: Thu, 8 Aug 2013 09:21:12 +0000 Message-ID: <94D4A88F8AC34646A5288D11318F5D5B0D723F9D@GDUKADH841.uk1.r-org.net> References: <94D4A88F8AC34646A5288D11318F5D5B0D723E9F@GDUKADH841.uk1.r-org.net> <201308071510.58228.jbe@pengutronix.de> <94D4A88F8AC34646A5288D11318F5D5B0D723F32@GDUKADH841.uk1.r-org.net> <520257AA.3020709@pengutronix.de> In-Reply-To: <520257AA.3020709@pengutronix.de> Content-Language: en-US MIME-Version: 1.0 Subject: Re: [ptxdist] How to get valgrind working in ptx build Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de On 07 August 2013 15:20, Marc Kleine-Budde wrot= e: > On 08/07/2013 03:47 PM, jon.bird@generaldynamics.uk.com wrote: >> Thanks for the replies, >> = >> On 07 August 2013 14:11, J=FCrgen Beisert >> 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 co= ntain information of a confidential nature. If you are not the intended rec= ipient, be aware that this email was sent to you in error and you should no= t 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 rese= rves the right to monitor (and examine for viruses) all emails and email at= tachments, both inbound and outbound. Email communications and their attach= ments may not be secure or error- or virus-free and the company does not ac= cept liability or responsibility for such matters or the consequences there= of. 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