Return-Path: Received: from comal.ext.ti.com (comal.ext.ti.com [198.47.26.152]) by arago-project.org (Postfix) with ESMTPS id E350552A6F for ; Wed, 14 Nov 2012 03:58:43 +0000 (UTC) Received: from dlelxv30.itg.ti.com ([172.17.2.17]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id qAE3whSi026355 for ; Tue, 13 Nov 2012 21:58:43 -0600 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv30.itg.ti.com (8.13.8/8.13.8) with ESMTP id qAE3whNE015807 for ; Tue, 13 Nov 2012 21:58:43 -0600 Received: from DLEE12.ent.ti.com ([fe80::3867:617:aab3:5956]) by DFLE72.ent.ti.com ([fe80::5c48:b90d:af93:5822%30]) with mapi id 14.01.0323.003; Tue, 13 Nov 2012 21:58:43 -0600 From: "Maupin, Chase" To: "Cooper Jr., Franklin" , "Dmytriyenko, Denys" Thread-Topic: [meta-arago] [arago-commits] Denys Dmytriyenko : external-arago-sdk-toolchain: package up gdb from the toolchain as well Thread-Index: AQHNwg+pqjLR6MRmHEmDhuwdZot+c5fpBFSA//+wOhU= Date: Wed, 14 Nov 2012 03:58:42 +0000 Message-ID: References: <20121113044034.9EA3D529AE@arago-project.org> <8F29D6B095ED194EA1980491A5E029710C31F344@DFLE09.ent.ti.com>, <20121114022719.GC13096@edge>, <580F15A3-540F-480F-BEFC-9B7989D20BDF@ti.com> In-Reply-To: <580F15A3-540F-480F-BEFC-9B7989D20BDF@ti.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: MIME-Version: 1.0 Cc: "meta-arago@arago-project.org" Subject: Re: [arago-commits] Denys Dmytriyenko : external-arago-sdk-toolchain: package up gdb from the toolchain as well X-BeenThere: meta-arago@arago-project.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Arago metadata layer for TI SDKs - OE-Core/Yocto compatible List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2012 03:58:44 -0000 Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_DA9820EE05934552A1FC6167B44C2CB9ticom_" --_000_DA9820EE05934552A1FC6167B44C2CB9ticom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable What were we doing in the past? Qtcreator used to work correct? Sent from my cell phone ----- Reply message ----- From: "Cooper Jr., Franklin" Date: Tue, Nov 13, 2012 8:44 pm Subject: [meta-arago] [arago-commits] Denys Dmytriyenko : external-arago-sd= k-toolchain: package up gdb from the toolchain as well To: "Dmytriyenko, Denys" Cc: "meta-arago@arago-project.org" Not being able to debug via Qt Creator is not an option. If we need to pull recipes in so we can build against 7.2 then let's do tha= t. If we need to recompile the toolchain and package up this toolchain and dis= tribute it as a prebuilt toolchain we can do that also. Any other options I missed? On Nov 13, 2012, at 8:27 PM, "Dmytriyenko, Denys" wrote: > Well, gdb from the Arago toolchain does not provide python support, as th= at's > how it was built back then... > > The only way to get Python support built into gdb is to rebuild it from > sources, which we discussed and agreed not to do. Moreover, if you want g= db > built from sources, it will be of a different version - OE-Core provides > version 7.4, while we got clearance for 7.2 and also we have target gdbse= rver > of version 7.2 as well... > > Denys > > > On Tue, Nov 13, 2012 at 01:31:37PM +0000, Cooper Jr., Franklin wrote: >> >> We need gdb with python support is required for Qt debugging via Qt Crea= tor http://arago-project.org/pipermail/arago-commits/2012-January/001611.ht= ml. >> Gdb-cross-canadian recipe seems to include this needed support. >> >> A simple test to determine if python support has been added to gdb. >> Run gdb >> Enter python print 23. >> 23 should be echoed back to the console. >> >> My build that picked up your gdb changes did not include python support = for gdb. >> >> -----Original Message----- >> From: arago-commits-bounces@arago-project.org [mailto:arago-commits-boun= ces@arago-project.org] On Behalf Of Arago Project git >> Sent: Monday, November 12, 2012 10:41 PM >> To: arago-commits@arago-project.org >> Subject: [arago-commits] Denys Dmytriyenko : external-arago-sdk-toolchai= n: package up gdb from the toolchain as well >> >> Module: meta-arago >> Branch: master >> Commit: 78bec05ff04e6e98def765e61a7a00c35c635938 >> URL: http://arago-project.org/git/meta-arago.git?a=3Dcommit;h=3D78bec= 05ff04e6e98def765e61a7a00c35c635938 >> >> Author: Denys Dmytriyenko >> Date: Mon Nov 12 23:35:52 2012 -0500 >> >> external-arago-sdk-toolchain: package up gdb from the toolchain as well >> >> Signed-off-by: Denys Dmytriyenko >> >> --- >> >> .../meta/external-arago-sdk-toolchain.bb | 25 ++++++++++++++= +++++- >> 1 files changed, 24 insertions(+), 1 deletions(-) >> >> diff --git a/meta-arago-extras/recipes-core/meta/external-arago-sdk-tool= chain.bb b/meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain= .bb >> index 4b16bc1..abd1caf 100644 >> --- a/meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.b= b >> +++ b/meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.b >> +++ b >> @@ -2,7 +2,7 @@ inherit cross-canadian >> >> require external-arago-toolchain.inc >> >> -PR =3D "r2" >> +PR =3D "r3" >> >> INHIBIT_PACKAGE_STRIP =3D "1" >> INHIBIT_DEFAULT_DEPS =3D "1" >> @@ -16,15 +16,18 @@ LIC_FILES_CHKSUM =3D "\ " >> >> INSANE_SKIP_gcc-cross-canadian-arm =3D "dev-so" >> +INSANE_SKIP_gdb-cross-canadian-arm =3D "dev-so" >> INSANE_SKIP_binutils-cross-canadian-arm =3D "dev-so" >> >> PROVIDES =3D "\ >> gcc-cross-canadian-arm \ >> + gdb-cross-canadian-arm \ >> binutils-cross-canadian-arm \ >> " >> >> PACKAGES =3D "\ >> gcc-cross-canadian-arm \ >> + gdb-cross-canadian-arm \ >> binutils-cross-canadian-arm \ >> " >> >> @@ -32,6 +35,7 @@ PACKAGES =3D "\ >> bindir =3D "${exec_prefix}/bin/" >> libdir =3D "${exec_prefix}/lib/" >> libexecdir =3D "${exec_prefix}/libexec/" >> +datadir =3D "${exec_prefix}/share/" >> >> gcclibdir =3D "${libdir}/gcc" >> >> @@ -55,6 +59,14 @@ FILES_gcc-cross-canadian-arm =3D "\ >> ${libexecdir}/* \ >> " >> >> +FILES_gdb-cross-canadian-arm =3D "\ >> + ${bindir}/${TARGET_PREFIX}gdb \ >> + ${bindir}/${TARGET_PREFIX}gdbtui \ >> + ${datadir}/gdb/* \ >> + ${datadir}/info/* \ >> + ${datadir}/man/man1/${TARGET_PREFIX}* \ " >> + >> FILES_binutils-cross-canadian-arm =3D "\ >> ${prefix}/${ARAGO_TARGET_SYS}/bin/ld \ >> ${prefix}/${ARAGO_TARGET_SYS}/bin/addr2line \ @@ -91,14 +103,17 @@ FI= LES_binutils-cross-canadian-arm =3D "\ " >> >> DESCRIPTION_gcc-cross-canadian-arm =3D "The GNU cc and gcc C compilers" >> +DESCRIPTION_gdb-cross-canadian-arm =3D "gdb - GNU debugger" >> DESCRIPTION_binutils-cross-canadian-arm =3D "A GNU collection of binary = utilities" >> >> LICENSE =3D "${ARG_LIC_LIBC}" >> LICENSE_gcc-cross-canadian-arm =3D "${ARG_LIC_GCC}" >> +LICENSE_gdb-cross-canadian-arm =3D "${ARG_LIC_GDB}" >> LICENSE_binutils-cross-canadian-arm =3D "${ARG_LIC_BFD}" >> >> PKGV =3D "${ARG_VER_MAIN}" >> PKGV_gcc-cross-canadian-arm =3D "${ARG_VER_GCC}" >> +PKGV_gdb-cross-canadian-arm =3D "${ARG_VER_GDB}" >> PKGV_binutils-cross-canadian-arm =3D "${ARG_VER_BFD}" >> >> do_install() { >> @@ -109,6 +124,9 @@ do_install() { >> install -d ${D}${libdir}/ldscripts >> install -d ${D}${includedir} >> install -d ${D}${libexecdir} >> + install -d ${D}${datadir}/gdb >> + install -d ${D}${datadir}/info >> + install -d ${D}${datadir}/man/man1 >> install -d ${D}${gcclibdir}/${ARAGO_TARGET_SYS}/${ARG_VER_GCC}/includ= e >> install -d ${D}${prefix}/i686-linux >> >> @@ -118,6 +136,11 @@ do_install() { >> cp -a ${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}{gcov,gccbug,gcc,g++,cpp}= ${D}${bindir} >> cp -a ${TOOLCHAIN_PATH}/libexec/* ${D}${libexecdir} >> >> + cp -a ${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}{gdb,gdbtui} ${D}${bind= ir} >> + cp -a ${TOOLCHAIN_PATH}/share/gdb/* ${D}${datadir}/gdb/ >> + cp -a ${TOOLCHAIN_PATH}/share/info/* ${D}${datadir}/info/ >> + cp -a ${TOOLCHAIN_PATH}/share/man/man1/${TARGET_PREFIX}* >> +${D}${datadir}/man/man1/ >> + >> cp -a ${TOOLCHAIN_PATH}/${ARAGO_TARGET_SYS}/bin/{ld,addr2line,objcopy= ,readelf,strip,nm,ranlib,gprof,as,c++filt,ar,strings,objdump,size} ${D}${pr= efix}/${ARAGO_TARGET_SYS}/bin >> cp -a ${TOOLCHAIN_PATH}/include/*.h ${D}${includedir} >> cp -a ${TOOLCHAIN_PATH}/lib/ldscripts/* ${D}${libdir}/ldscripts >> >> _______________________________________________ >> arago-commits mailing list >> arago-commits@arago-project.org >> http://arago-project.org/cgi-bin/mailman/listinfo/arago-commits >> _______________________________________________ >> meta-arago mailing list >> meta-arago@arago-project.org >> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago _______________________________________________ meta-arago mailing list meta-arago@arago-project.org http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago --_000_DA9820EE05934552A1FC6167B44C2CB9ticom_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
What were we doing in the past?  Qtcreator used to work correct?<= br>
Sent from my cell phone

----- Reply message -----
From: "Cooper Jr., Franklin" <fcooper@ti.com>
Date: Tue, Nov 13, 2012 8:44 pm
Subject: [meta-arago] [arago-commits] Denys Dmytriyenko : external-arago-sd= k-toolchain: package up gdb from the toolchain as well
To: "Dmytriyenko, Denys" <denys@ti.com>
Cc: "meta-arago@arago-project.org" <meta-arago@arago-project.o= rg>

Not being able to debug via Qt Creator is not an o= ption.

If we need to pull recipes in so we can build against 7.2 then let's do tha= t.

If we need to recompile the toolchain and package up this toolchain and dis= tribute it as a prebuilt toolchain we can do that also.

Any other options I missed?


On Nov 13, 2012, at 8:27 PM, "Dmytriyenko, Denys" <denys@ti.co= m> wrote:

> Well, gdb from the Arago toolchain does not provide python support, as= that's
> how it was built back then...
>
> The only way to get Python support built into gdb is to rebuild it fro= m
> sources, which we discussed and agreed not to do. Moreover, if you wan= t gdb
> built from sources, it will be of a different version - OE-Core provid= es
> version 7.4, while we got clearance for 7.2 and also we have target gd= bserver
> of version 7.2 as well...
>
> Denys
>
>
> On Tue, Nov 13, 2012 at 01:31:37PM +0000, Cooper Jr., Franklin wro= te:
>>
>> We need gdb with python support is required for Qt debugging via Q= t Creator http://arago-project.org/pipermail/arago-commits/2012-January/001611.html.
>> Gdb-cross-canadian recipe seems to include this needed support. >>
>> A simple test to determine if python support has been added to gdb= .
>> Run gdb
>> Enter python print 23.
>> 23 should be echoed back to the console.
>>
>> My build that picked up your gdb changes did not include python su= pport for gdb.
>>
>> -----Original Message-----
>> From: arago-commits-bounces@arago-project.org [
mailto:arago-commits-bounces@arago-= project.org] On Behalf Of Arago Project git
>> Sent: Monday, November 12, 2012 10:41 PM
>> To: arago-commits@arago-project.org
>> Subject: [arago-commits] Denys Dmytriyenko : external-arago-sdk-to= olchain: package up gdb from the toolchain as well
>>
>> Module: meta-arago
>> Branch: master
>> Commit: 78bec05ff04e6e98def765e61a7a00c35c635938
>> URL:    http://arago-project.org/git/meta-arago.git?a=3Dcommit;h=3D78bec05ff04e6e98= def765e61a7a00c35c635938
>>
>> Author: Denys Dmytriyenko <denys@ti.com>
>> Date:   Mon Nov 12 23:35:52 2012 -0500
>>
>> external-arago-sdk-toolchain: package up gdb from the toolchain as= well
>>
>> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
>>
>> ---
>>
>> .../meta/external-arago-sdk-toolchain.bb    &n= bsp;      |   25 ++++= 3;++++++++++++++- >> 1 files changed, 24 insertions(+), 1 deletions(-)
>>
>> diff --git a/meta-arago-extras/recipes-core/meta/external-arago-sd= k-toolchain.bb b/meta-arago-extras/recipes-core/meta/external-arago-sdk-too= lchain.bb
>> index 4b16bc1..abd1caf 100644
>> --- a/meta-arago-extras/recipes-core/meta/external-arago-sdk-toolc= hain.bb
>> +++ b/meta-arago-extras/recipes-core/meta/external-ara= go-sdk-toolchain.b
>> +++ b
>> @@ -2,7 +2,7 @@ inherit cross-canadian
>>
>> require external-arago-toolchain.inc
>>
>> -PR =3D "r2"
>> +PR =3D "r3"
>>
>> INHIBIT_PACKAGE_STRIP =3D "1"
>> INHIBIT_DEFAULT_DEPS =3D "1"
>> @@ -16,15 +16,18 @@ LIC_FILES_CHKSUM =3D "\  "<= br> >>
>> INSANE_SKIP_gcc-cross-canadian-arm =3D "dev-so"
>> +INSANE_SKIP_gdb-cross-canadian-arm =3D "dev-so"
>> INSANE_SKIP_binutils-cross-canadian-arm =3D "dev-so"
>>
>> PROVIDES =3D "\
>>    gcc-cross-canadian-arm \
>> +    gdb-cross-canadian-arm \
>>    binutils-cross-canadian-arm \
>> "
>>
>> PACKAGES =3D "\
>>    gcc-cross-canadian-arm \
>> +    gdb-cross-canadian-arm \
>>    binutils-cross-canadian-arm \
>> "
>>
>> @@ -32,6 +35,7 @@ PACKAGES =3D "\
>> bindir =3D "${exec_prefix}/bin/"
>> libdir =3D "${exec_prefix}/lib/"
>> libexecdir =3D "${exec_prefix}/libexec/"
>> +datadir =3D "${exec_prefix}/share/"
>>
>> gcclibdir =3D "${libdir}/gcc"
>>
>> @@ -55,6 +59,14 @@ FILES_gcc-cross-canadian-arm =3D "\ >>    ${libexecdir}/* \
>> "
>>
>> +FILES_gdb-cross-canadian-arm =3D "\
>> +    ${bindir}/${TARGET_PREFIX}gdb \
>> +    ${bindir}/${TARGET_PREFIX}gdbtui \
>> +    ${datadir}/gdb/* \
>> +    ${datadir}/info/* \
>> +    ${datadir}/man/man1/${TARGET_PREFIX}* \ &q= uot;
>> +
>> FILES_binutils-cross-canadian-arm =3D "\
>>    ${prefix}/${ARAGO_TARGET_SYS}/bin/ld \
>>    ${prefix}/${ARAGO_TARGET_SYS}/bin/addr2line \ @@= -91,14 +103,17 @@ FILES_binutils-cross-canadian-arm =3D "\  = "
>>
>> DESCRIPTION_gcc-cross-canadian-arm =3D "The GNU cc and gcc C = compilers"
>> +DESCRIPTION_gdb-cross-canadian-arm =3D "gdb - GNU debugg= er"
>> DESCRIPTION_binutils-cross-canadian-arm =3D "A GNU collection= of binary utilities"
>>
>> LICENSE =3D "${ARG_LIC_LIBC}"
>> LICENSE_gcc-cross-canadian-arm =3D "${ARG_LIC_GCC}"
>> +LICENSE_gdb-cross-canadian-arm =3D "${ARG_LIC_GDB}"=
>> LICENSE_binutils-cross-canadian-arm =3D "${ARG_LIC_BFD}"=
>>
>> PKGV =3D "${ARG_VER_MAIN}"
>> PKGV_gcc-cross-canadian-arm =3D "${ARG_VER_GCC}"
>> +PKGV_gdb-cross-canadian-arm =3D "${ARG_VER_GDB}" >> PKGV_binutils-cross-canadian-arm =3D "${ARG_VER_BFD}" >>
>> do_install() {
>> @@ -109,6 +124,9 @@ do_install() {
>>    install -d ${D}${libdir}/ldscripts
>>    install -d ${D}${includedir}
>>    install -d ${D}${libexecdir}
>> +    install -d ${D}${datadir}/gdb
>> +    install -d ${D}${datadir}/info
>> +    install -d ${D}${datadir}/man/man1
>>    install -d ${D}${gcclibdir}/${ARAGO_TARGET_SYS}/= ${ARG_VER_GCC}/include
>>    install -d ${D}${prefix}/i686-linux
>>
>> @@ -118,6 +136,11 @@ do_install() {
>>    cp -a ${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}{gco= v,gccbug,gcc,g++,cpp} ${D}${bindir}
>>    cp -a ${TOOLCHAIN_PATH}/libexec/* ${D}${libexecd= ir}
>>
>> +    cp -a ${TOOLCHAIN_PATH}/bin/${TARGET_PREFI= X}{gdb,gdbtui} ${D}${bindir}
>> +    cp -a ${TOOLCHAIN_PATH}/share/gdb/* ${D}${= datadir}/gdb/
>> +    cp -a ${TOOLCHAIN_PATH}/share/info/* ${D}$= {datadir}/info/
>> +    cp -a ${TOOLCHAIN_PATH}/share/man/man1/${T= ARGET_PREFIX}*
>> +${D}${datadir}/man/man1/
>> +
>>    cp -a ${TOOLCHAIN_PATH}/${ARAGO_TARGET_SYS}/bin/= {ld,addr2line,objcopy,readelf,strip,nm,ranlib,gprof,as,c++filt,ar,s= trings,objdump,size} ${D}${prefix}/${ARAGO_TARGET_SYS}/bin
>>    cp -a ${TOOLCHAIN_PATH}/include/*.h ${D}${includ= edir}
>>    cp -a ${TOOLCHAIN_PATH}/lib/ldscripts/* ${D}${li= bdir}/ldscripts
>>
>> _______________________________________________
>> arago-commits mailing list
>> arago-commits@arago-project.org
>> http://arago-project.org/cgi-bin/mailman/listinfo/arago-commits
>> _______________________________________________
>> meta-arago mailing list
>> meta-arago@arago-project.org
>>
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
meta-arago@arago-project.org
ht= tp://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
--_000_DA9820EE05934552A1FC6167B44C2CB9ticom_--