From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-vc0-f173.google.com ([209.85.220.173]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1TtcJ6-0007pR-7T for ptxdist@pengutronix.de; Fri, 11 Jan 2013 11:57:53 +0100 Received: by mail-vc0-f173.google.com with SMTP id f13so1312538vcb.32 for ; Fri, 11 Jan 2013 02:57:46 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <13317004.u3s2pIUGrD@dabox> References: <201301110940.10949.jbe@pengutronix.de> <13317004.u3s2pIUGrD@dabox> Date: Fri, 11 Jan 2013 12:57:45 +0200 Message-ID: From: Ruben Louw Subject: Re: [ptxdist] Gdb debugging helper [PATCH] Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0753212658==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de --===============0753212658== Content-Type: multipart/alternative; boundary=047d7b67002d5a325b04d3012a1c --047d7b67002d5a325b04d3012a1c Content-Type: text/plain; charset=ISO-8859-1 Hi Tim Thanks for the advice. Just to be sure. Python was not enabled (default) then as the helper? Could it be I was correct? So then I need to rebuild the toolchain, with Python enabled (example below)? Or is there a quick hack for me to try without rebuilding the toolchain, cos then I have to rebuild everything and I just want to quick test if this is the solution. Do I understand this correctly, or am I way off? Thanks! Ruben On Fri, Jan 11, 2013 at 11:42 AM, Tim Sander wrote: > Hi Ruben > > Am Freitag, 11. Januar 2013, 10:47:07 schrieb Ruben Louw: > > hmm. makes sense to be on host. But I think this should be included when > > build the toolchain or something, I'm only speculating. but i'll play > > around with it, hopefully smoke does'nt come out anywhere. > Its the Toolchain. You need the following change in the toolchain. > I would suggest to have this enabled by default, while we are at it. > Best regards > Tim > > diff --git a/toolchain/OSELAS.Toolchain-2011.03.1/rules/cross-gdb.make > b/toolchain/OSELAS.Toolchain-2011.03.1/rules/cross-gdb.make > index 727de25..8c1ffdc 100644 > --- a/toolchain/OSELAS.Toolchain-2011.03.1/rules/cross-gdb.make > +++ b/toolchain/OSELAS.Toolchain-2011.03.1/rules/cross-gdb.make > @@ -63,6 +63,7 @@ CROSS_GDB_AUTOCONF := \ > $(PTXCONF_TOOLCHAIN_CONFIG_SYSROOT) \ > \ > --disable-werror \ > + --enable-python \ > --enable-tui > > $(STATEDIR)/cross-gdb.prepare: > > > -- > ptxdist mailing list > ptxdist@pengutronix.de > --047d7b67002d5a325b04d3012a1c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Tim

Thanks for the advice. Just to be sure. Python was not enable= d (default) then as the helper? Could it be I was correct? So then I need t= o rebuild the toolchain, with Python enabled (example below)? Or is there a= quick hack for me to try without rebuilding the toolchain, cos then I have= to rebuild everything and I just want to quick test if this is the solutio= n.

Do I understand this correctly, or am I way off?

Thanks!

= Ruben


On Fri, Jan 11, 2013 at 11:42 A= M, Tim Sander <tim@krieglstein.org> wrote:
Hi Ruben

Am Freitag, 11. Januar 2013, 10:47:07 schrieb Ruben Louw:
> hmm. makes sense to be on host. But I think this should be included wh= en
> build the toolchain or something, I'm only speculating. but i'= ll play
> around with it, hopefully smoke does'nt come out anywhere.
Its the Toolchain. You need the following change in the toolchain.
I would suggest to have this enabled by default, while we are at it.
Best regards
Tim

diff --git a/toolchain/OSELAS.Toolchain-2011.03.1/rules/cross-gdb.make b/to= olchain/OSELAS.Toolchain-2011.03.1/rules/cross-gdb.make
index 727de25..8c1ffdc 100644
--- a/toolchain/OSELAS.Toolchain-2011.03.1/rules/cross-gdb.make
+++ b/toolchain/OSELAS.Toolchain-2011.03.1/rules/cross-gdb.make
@@ -63,6 +63,7 @@ CROSS_GDB_AUTOCONF :=3D \
=A0 =A0 =A0 =A0 $(PTXCONF_TOOLCHAIN_CONFIG_SYSROOT) \
=A0 =A0 =A0 =A0 \
=A0 =A0 =A0 =A0 --disable-werror \
+ =A0 =A0 =A0 --enable-python \
=A0 =A0 =A0 =A0 --enable-tui

=A0$(STATEDIR)/cross-gdb.prepare:


--
ptxdist mailing list
ptxdist@pengutronix.de

--047d7b67002d5a325b04d3012a1c-- --===============0753212658== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============0753212658==--