Denys Dmytriyenko : external-arago-sdk-toolchain: package up gdb from the toolchain as well
A message that is not in the archive (sent off-list or not yet received): [email protected]
We need gdb with python support is required for Qt debugging via Qt 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 support for gdb.
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Arago Project git
Sent: Monday, November 12, 2012 10:41 PM
To: [email protected]
Subject: [arago-commits] Denys Dmytriyenko : external-arago-sdk-toolchain: 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=commit;h=78bec05ff04e6e98def765e61a7a00c35c635938
Author: Denys Dmytriyenko <[email protected]> Date: Mon Nov 12 23:35:52 2012 -0500
external-arago-sdk-toolchain: package up gdb from the toolchain as well
---
.../meta/external-arago-sdk-toolchain.bb | 25 +++++++++++++++++++- 1 files changed, 24 insertions(+), 1 deletions(-)
meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.b renamed from meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.bb +0 -0
+++ b
@@ -2,7 +2,7 @@ inherit cross-canadian
require external-arago-toolchain.inc
-PR = "r2"
+PR = "r3"
INHIBIT_PACKAGE_STRIP = "1"
INHIBIT_DEFAULT_DEPS = "1"
@@ -16,15 +16,18 @@ LIC_FILES_CHKSUM = "\ "
INSANE_SKIP_gcc-cross-canadian-arm = "dev-so"
+INSANE_SKIP_gdb-cross-canadian-arm = "dev-so"
INSANE_SKIP_binutils-cross-canadian-arm = "dev-so"
PROVIDES = "\
gcc-cross-canadian-arm \
+ gdb-cross-canadian-arm \
binutils-cross-canadian-arm \
"
PACKAGES = "\
gcc-cross-canadian-arm \
+ gdb-cross-canadian-arm \
binutils-cross-canadian-arm \
"
@@ -32,6 +35,7 @@ PACKAGES = "\
bindir = "${exec_prefix}/bin/"
libdir = "${exec_prefix}/lib/"
libexecdir = "${exec_prefix}/libexec/"
+datadir = "${exec_prefix}/share/"
gcclibdir = "${libdir}/gcc"
@@ -55,6 +59,14 @@ FILES_gcc-cross-canadian-arm = "\
${libexecdir}/* \
"
+FILES_gdb-cross-canadian-arm = "\
+ ${bindir}/${TARGET_PREFIX}gdb \
+ ${bindir}/${TARGET_PREFIX}gdbtui \
+ ${datadir}/gdb/* \
+ ${datadir}/info/* \
+ ${datadir}/man/man1/${TARGET_PREFIX}* \ "
+
FILES_binutils-cross-canadian-arm = "\
${prefix}/${ARAGO_TARGET_SYS}/bin/ld \
${prefix}/${ARAGO_TARGET_SYS}/bin/addr2line \ @@ -91,14 +103,17 @@ FILES_binutils-cross-canadian-arm = "\ "
DESCRIPTION_gcc-cross-canadian-arm = "The GNU cc and gcc C compilers"
+DESCRIPTION_gdb-cross-canadian-arm = "gdb - GNU debugger"
DESCRIPTION_binutils-cross-canadian-arm = "A GNU collection of binary utilities"
LICENSE = "${ARG_LIC_LIBC}" LICENSE_gcc-cross-canadian-arm = "${ARG_LIC_GCC}"
+LICENSE_gdb-cross-canadian-arm = "${ARG_LIC_GDB}"
LICENSE_binutils-cross-canadian-arm = "${ARG_LIC_BFD}"
PKGV = "${ARG_VER_MAIN}" PKGV_gcc-cross-canadian-arm = "${ARG_VER_GCC}"
+PKGV_gdb-cross-canadian-arm = "${ARG_VER_GDB}"
PKGV_binutils-cross-canadian-arm = "${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}{gcov,gccbug,gcc,g++,cpp} ${D}${bindir} cp -a ${TOOLCHAIN_PATH}/libexec/* ${D}${libexecdir}
+ cp -a ${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}{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/${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}${prefix}/${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
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/arago-commits
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 from sources, which we discussed and agreed not to do. Moreover, if you want gdb 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 gdbserver of version 7.2 as well...
Denys
Quoted 136 lines · Franklin
We need gdb with python support is required for Qt debugging via Qt 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 support for gdb.
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Arago Project git
Sent: Monday, November 12, 2012 10:41 PM
To: [email protected]
Subject: [arago-commits] Denys Dmytriyenko : external-arago-sdk-toolchain: package up gdb from the toolchain as wellModule: meta-arago Branch: master Commit: 78bec05ff04e6e98def765e61a7a00c35c635938 URL: http://arago-project.org/git/meta-arago.git?a=commit;h=78bec05ff04e6e98def765e61a7a00c35c635938Author: Denys Dmytriyenko <[email protected]> Date: Mon Nov 12 23:35:52 2012 -0500external-arago-sdk-toolchain: package up gdb from the toolchain as well
Signed-off-by Denys Dmytriyenko <[email protected]>---
.../meta/external-arago-sdk-toolchain.bb | 25 +++++++++++++++++++- 1 files changed, 24 insertions(+), 1 deletions(-)meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.b renamed from meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.bb +25
-1+++ b@@ -2,7 +2,7 @@ inherit cross-canadian require external-arago-toolchain.inc -PR = "r2" +PR = "r3" INHIBIT_PACKAGE_STRIP = "1" INHIBIT_DEFAULT_DEPS = "1"@@ -16,15 +16,18 @@ LIC_FILES_CHKSUM = "\ " INSANE_SKIP_gcc-cross-canadian-arm = "dev-so" +INSANE_SKIP_gdb-cross-canadian-arm = "dev-so" INSANE_SKIP_binutils-cross-canadian-arm = "dev-so" PROVIDES = "\ gcc-cross-canadian-arm \ + gdb-cross-canadian-arm \ binutils-cross-canadian-arm \ " PACKAGES = "\ gcc-cross-canadian-arm \ + gdb-cross-canadian-arm \ binutils-cross-canadian-arm \ "@@ -32,6 +35,7 @@ PACKAGES = "\ bindir = "${exec_prefix}/bin/" libdir = "${exec_prefix}/lib/" libexecdir = "${exec_prefix}/libexec/" +datadir = "${exec_prefix}/share/" gcclibdir = "${libdir}/gcc"@@ -55,6 +59,14 @@ FILES_gcc-cross-canadian-arm = "\ ${libexecdir}/* \ " +FILES_gdb-cross-canadian-arm = "\ + ${bindir}/${TARGET_PREFIX}gdb \ + ${bindir}/${TARGET_PREFIX}gdbtui \ + ${datadir}/gdb/* \ + ${datadir}/info/* \ + ${datadir}/man/man1/${TARGET_PREFIX}* \ " + FILES_binutils-cross-canadian-arm = "\ ${prefix}/${ARAGO_TARGET_SYS}/bin/ld \ ${prefix}/${ARAGO_TARGET_SYS}/bin/addr2line \ @@ -91,14 +103,17 @@ FILES_binutils-cross-canadian-arm = "\ " DESCRIPTION_gcc-cross-canadian-arm = "The GNU cc and gcc C compilers" +DESCRIPTION_gdb-cross-canadian-arm = "gdb - GNU debugger" DESCRIPTION_binutils-cross-canadian-arm = "A GNU collection of binary utilities" LICENSE = "${ARG_LIC_LIBC}" LICENSE_gcc-cross-canadian-arm = "${ARG_LIC_GCC}" +LICENSE_gdb-cross-canadian-arm = "${ARG_LIC_GDB}" LICENSE_binutils-cross-canadian-arm = "${ARG_LIC_BFD}" PKGV = "${ARG_VER_MAIN}" PKGV_gcc-cross-canadian-arm = "${ARG_VER_GCC}" +PKGV_gdb-cross-canadian-arm = "${ARG_VER_GDB}" PKGV_binutils-cross-canadian-arm = "${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}{gcov,gccbug,gcc,g++,cpp} ${D}${bindir} cp -a ${TOOLCHAIN_PATH}/libexec/* ${D}${libexecdir} + cp -a ${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}{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/${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}${prefix}/${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
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/arago-commits
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
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 that.
If we need to recompile the toolchain and package up this toolchain and distribute it as a prebuilt toolchain we can do that also.
Any other options I missed?
Quoted 149 lines · Denys
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 from sources, which we discussed and agreed not to do. Moreover, if you want gdb 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 gdbserver of version 7.2 as well...
Denys
Quoted 136 lines · Franklin
We need gdb with python support is required for Qt debugging via Qt 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 support for gdb.
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Arago Project git
Sent: Monday, November 12, 2012 10:41 PM
To: [email protected]
Subject: [arago-commits] Denys Dmytriyenko : external-arago-sdk-toolchain: package up gdb from the toolchain as wellModule: meta-arago Branch: master Commit: 78bec05ff04e6e98def765e61a7a00c35c635938 URL: http://arago-project.org/git/meta-arago.git?a=commit;h=78bec05ff04e6e98def765e61a7a00c35c635938Author: Denys Dmytriyenko <[email protected]> Date: Mon Nov 12 23:35:52 2012 -0500external-arago-sdk-toolchain: package up gdb from the toolchain as well
Signed-off-by Denys Dmytriyenko <[email protected]>---
.../meta/external-arago-sdk-toolchain.bb | 25 +++++++++++++++++++-
1 files changed, 24 insertions(+), 1 deletions(-)meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.b renamed from meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.bb +1
-0+++ b@@ -2,7 +2,7 @@ inherit cross-canadianrequire external-arago-toolchain.inc
meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.b renamed from meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.bb +1
-1-PR = "r2" +PR = "r3"
INHIBIT_PACKAGE_STRIP= "1"INHIBIT_DEFAULT_DEPS= "1"meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.b renamed from meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.bb +0
-0@@ -16,15 +16,18 @@ LIC_FILES_CHKSUM = "\ "INSANE_SKIP_gcc-cross-canadian-arm = "dev-so" +INSANE_SKIP_gdb-cross-canadian-arm = "dev-so" INSANE_SKIP_binutils-cross-canadian-arm = "dev-so"
PROVIDES = "\ gcc-cross-canadian-arm \ + gdb-cross-canadian-arm \ binutils-cross-canadian-arm \"
PACKAGES = "\ gcc-cross-canadian-arm \ + gdb-cross-canadian-arm \ binutils-cross-canadian-arm \"
meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.b renamed from meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.bb +0
-0@@ -32,6 +35,7 @@ PACKAGES = "\bindir = "${exec_prefix}/bin/"
libdir = "${exec_prefix}/lib/"
libexecdir = "${exec_prefix}/libexec/"
+datadir = "${exec_prefix}/share/"gcclibdir = "${libdir}/gcc"
meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.b renamed from meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.bb +0
-0@@ -55,6 +59,14 @@ FILES_gcc-cross-canadian-arm = "\ ${libexecdir}/* \"
meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.b renamed from meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.bb +7
-0+FILES_gdb-cross-canadian-arm = "\ + ${bindir}/${TARGET_PREFIX}gdb \ + ${bindir}/${TARGET_PREFIX}gdbtui \ + ${datadir}/gdb/* \ + ${datadir}/info/* \ + ${datadir}/man/man1/${TARGET_PREFIX}* \ " +FILES_binutils-cross-canadian-arm = "\ ${prefix}/${ARAGO_TARGET_SYS}/bin/ld \ ${prefix}/${ARAGO_TARGET_SYS}/bin/addr2line \ @@ -91,14 +103,17 @@ FILES_binutils-cross-canadian-arm = "\ "DESCRIPTION_gcc-cross-canadian-arm = "The GNU cc and gcc C compilers" +DESCRIPTION_gdb-cross-canadian-arm = "gdb - GNU debugger" DESCRIPTION_binutils-cross-canadian-arm = "A GNU collection of binary utilities"
LICENSE = "${ARG_LIC_LIBC}" LICENSE_gcc-cross-canadian-arm = "${ARG_LIC_GCC}" +LICENSE_gdb-cross-canadian-arm = "${ARG_LIC_GDB}" LICENSE_binutils-cross-canadian-arm = "${ARG_LIC_BFD}"
PKGV = "${ARG_VER_MAIN}" PKGV_gcc-cross-canadian-arm = "${ARG_VER_GCC}" +PKGV_gdb-cross-canadian-arm = "${ARG_VER_GDB}" PKGV_binutils-cross-canadian-arm = "${ARG_VER_BFD}"
do_install(){meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.b renamed from meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.bb +9
-0@@ -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}{gcov,gccbug,gcc,g++,cpp} ${D}${bindir} cp -a ${TOOLCHAIN_PATH}/libexec/* ${D}${libexecdir} + cp -a ${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}{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/${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}${prefix}/${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
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/arago-commits
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
You do understand, that re-packaging and re-releasing the toolchain will take time, which we don't have, right? There are other things that need fixing...
At this point the best approach would be to get something working to satisfy most of the requirements and clean the mess at the next iteratrion...
Signature · 1 line
Denys
Quoted 162 lines · Franklin
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 that.
If we need to recompile the toolchain and package up this toolchain and distribute it as a prebuilt toolchain we can do that also.
Any other options I missed?
Quoted 149 lines · Denys
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 from sources, which we discussed and agreed not to do. Moreover, if you want gdb 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 gdbserver of version 7.2 as well...
Denys
Quoted 136 lines · Franklin
We need gdb with python support is required for Qt debugging via Qt 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 support for gdb.
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Arago Project git
Sent: Monday, November 12, 2012 10:41 PM
To: [email protected]
Subject: [arago-commits] Denys Dmytriyenko : external-arago-sdk-toolchain: package up gdb from the toolchain as wellModule: meta-arago Branch: master Commit: 78bec05ff04e6e98def765e61a7a00c35c635938 URL: http://arago-project.org/git/meta-arago.git?a=commit;h=78bec05ff04e6e98def765e61a7a00c35c635938Author: Denys Dmytriyenko <[email protected]> Date: Mon Nov 12 23:35:52 2012 -0500external-arago-sdk-toolchain: package up gdb from the toolchain as well
Signed-off-by Denys Dmytriyenko <[email protected]>---
.../meta/external-arago-sdk-toolchain.bb | 25 +++++++++++++++++++-
1 files changed, 24 insertions(+), 1 deletions(-)meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.b renamed from meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.bb +1
-0+++ b@@ -2,7 +2,7 @@ inherit cross-canadianrequire external-arago-toolchain.inc
meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.b renamed from meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.bb +1
-1-PR = "r2" +PR = "r3"
INHIBIT_PACKAGE_STRIP= "1"INHIBIT_DEFAULT_DEPS= "1"meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.b renamed from meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.bb +0
-0@@ -16,15 +16,18 @@ LIC_FILES_CHKSUM = "\ "INSANE_SKIP_gcc-cross-canadian-arm = "dev-so" +INSANE_SKIP_gdb-cross-canadian-arm = "dev-so" INSANE_SKIP_binutils-cross-canadian-arm = "dev-so"
PROVIDES = "\ gcc-cross-canadian-arm \ + gdb-cross-canadian-arm \ binutils-cross-canadian-arm \"
PACKAGES = "\ gcc-cross-canadian-arm \ + gdb-cross-canadian-arm \ binutils-cross-canadian-arm \"
meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.b renamed from meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.bb +0
-0@@ -32,6 +35,7 @@ PACKAGES = "\bindir = "${exec_prefix}/bin/"
libdir = "${exec_prefix}/lib/"
libexecdir = "${exec_prefix}/libexec/"
+datadir = "${exec_prefix}/share/"gcclibdir = "${libdir}/gcc"
meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.b renamed from meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.bb +0
-0@@ -55,6 +59,14 @@ FILES_gcc-cross-canadian-arm = "\ ${libexecdir}/* \"
meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.b renamed from meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.bb +7
-0+FILES_gdb-cross-canadian-arm = "\ + ${bindir}/${TARGET_PREFIX}gdb \ + ${bindir}/${TARGET_PREFIX}gdbtui \ + ${datadir}/gdb/* \ + ${datadir}/info/* \ + ${datadir}/man/man1/${TARGET_PREFIX}* \ " +FILES_binutils-cross-canadian-arm = "\ ${prefix}/${ARAGO_TARGET_SYS}/bin/ld \ ${prefix}/${ARAGO_TARGET_SYS}/bin/addr2line \ @@ -91,14 +103,17 @@ FILES_binutils-cross-canadian-arm = "\ "DESCRIPTION_gcc-cross-canadian-arm = "The GNU cc and gcc C compilers" +DESCRIPTION_gdb-cross-canadian-arm = "gdb - GNU debugger" DESCRIPTION_binutils-cross-canadian-arm = "A GNU collection of binary utilities"
LICENSE = "${ARG_LIC_LIBC}" LICENSE_gcc-cross-canadian-arm = "${ARG_LIC_GCC}" +LICENSE_gdb-cross-canadian-arm = "${ARG_LIC_GDB}" LICENSE_binutils-cross-canadian-arm = "${ARG_LIC_BFD}"
PKGV = "${ARG_VER_MAIN}" PKGV_gcc-cross-canadian-arm = "${ARG_VER_GCC}" +PKGV_gdb-cross-canadian-arm = "${ARG_VER_GDB}" PKGV_binutils-cross-canadian-arm = "${ARG_VER_BFD}"
do_install(){meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.b renamed from meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.bb +9
-0@@ -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}{gcov,gccbug,gcc,g++,cpp} ${D}${bindir} cp -a ${TOOLCHAIN_PATH}/libexec/* ${D}${libexecdir} + cp -a ${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}{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/${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}${prefix}/${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
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/arago-commits
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
What were we doing in the past? Qtcreator used to work correct?
Sent from my cell phone
----- Reply message -----
From: "Cooper Jr., Franklin" <[email protected]>
Date: Tue, Nov 13, 2012 8:44 pm
Subject: [meta-arago] [arago-commits] Denys Dmytriyenko : external-arago-sdk-toolchain: package up gdb from the toolchain as well
To: "Dmytriyenko, Denys" <[email protected]>
Cc: "[email protected]" <[email protected]>
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 that.
If we need to recompile the toolchain and package up this toolchain and distribute it as a prebuilt toolchain we can do that also.
Any other options I missed?
Quoted 141 lines · Denys
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 from sources, which we discussed and agreed not to do. Moreover, if you want gdb 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 gdbserver of version 7.2 as well...
Denys
Quoted 128 lines · Franklin
We need gdb with python support is required for Qt debugging via Qt 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 support for gdb.
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Arago Project git
Sent: Monday, November 12, 2012 10:41 PM
To: [email protected]
Subject: [arago-commits] Denys Dmytriyenko : external-arago-sdk-toolchain: package up gdb from the toolchain as wellModule: meta-arago Branch: master Commit: 78bec05ff04e6e98def765e61a7a00c35c635938 URL: http://arago-project.org/git/meta-arago.git?a=commit;h=78bec05ff04e6e98def765e61a7a00c35c635938Author: Denys Dmytriyenko <[email protected]> Date: Mon Nov 12 23:35:52 2012 -0500external-arago-sdk-toolchain: package up gdb from the toolchain as well
Signed-off-by Denys Dmytriyenko <[email protected]>---
.../meta/external-arago-sdk-toolchain.bb | 25 +++++++++++++++++++-
1 files changed, 24 insertions(+), 1 deletions(-)meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.b renamed from meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.bb +1
-0+++ b@@ -2,7 +2,7 @@ inherit cross-canadianrequire external-arago-toolchain.inc
meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.b renamed from meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.bb +1
-1-PR = "r2" +PR = "r3"
INHIBIT_PACKAGE_STRIP= "1"INHIBIT_DEFAULT_DEPS= "1"meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.b renamed from meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.bb +0
-0@@ -16,15 +16,18 @@ LIC_FILES_CHKSUM = "\ "INSANE_SKIP_gcc-cross-canadian-arm = "dev-so" +INSANE_SKIP_gdb-cross-canadian-arm = "dev-so" INSANE_SKIP_binutils-cross-canadian-arm = "dev-so"
PROVIDES = "\ gcc-cross-canadian-arm \ + gdb-cross-canadian-arm \ binutils-cross-canadian-arm \"
PACKAGES = "\ gcc-cross-canadian-arm \ + gdb-cross-canadian-arm \ binutils-cross-canadian-arm \"
meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.b renamed from meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.bb +0
-0@@ -32,6 +35,7 @@ PACKAGES = "\bindir = "${exec_prefix}/bin/"
libdir = "${exec_prefix}/lib/"
libexecdir = "${exec_prefix}/libexec/"
+datadir = "${exec_prefix}/share/"gcclibdir = "${libdir}/gcc"
meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.b renamed from meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.bb +0
-0@@ -55,6 +59,14 @@ FILES_gcc-cross-canadian-arm = "\ ${libexecdir}/* \"
meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.b renamed from meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.bb +7
-0+FILES_gdb-cross-canadian-arm = "\ + ${bindir}/${TARGET_PREFIX}gdb \ + ${bindir}/${TARGET_PREFIX}gdbtui \ + ${datadir}/gdb/* \ + ${datadir}/info/* \ + ${datadir}/man/man1/${TARGET_PREFIX}* \ " +FILES_binutils-cross-canadian-arm = "\ ${prefix}/${ARAGO_TARGET_SYS}/bin/ld \ ${prefix}/${ARAGO_TARGET_SYS}/bin/addr2line \ @@ -91,14 +103,17 @@ FILES_binutils-cross-canadian-arm = "\ "DESCRIPTION_gcc-cross-canadian-arm = "The GNU cc and gcc C compilers" +DESCRIPTION_gdb-cross-canadian-arm = "gdb - GNU debugger" DESCRIPTION_binutils-cross-canadian-arm = "A GNU collection of binary utilities"
LICENSE = "${ARG_LIC_LIBC}" LICENSE_gcc-cross-canadian-arm = "${ARG_LIC_GCC}" +LICENSE_gdb-cross-canadian-arm = "${ARG_LIC_GDB}" LICENSE_binutils-cross-canadian-arm = "${ARG_LIC_BFD}"
PKGV = "${ARG_VER_MAIN}" PKGV_gcc-cross-canadian-arm = "${ARG_VER_GCC}" +PKGV_gdb-cross-canadian-arm = "${ARG_VER_GDB}" PKGV_binutils-cross-canadian-arm = "${ARG_VER_BFD}"
do_install(){meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.b renamed from meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.bb +9
-0@@ -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}{gcov,gccbug,gcc,g++,cpp} ${D}${bindir} cp -a ${TOOLCHAIN_PATH}/libexec/* ${D}${libexecdir} + cp -a ${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}{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/${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}${prefix}/${ARAGO_TARGET_SYS}/bin cp -a ${TOOLCHAIN_PATH}/include/*.h ${D}${includedir} cp -a ${TOOLCHAIN_PATH}/lib/ldscripts/* ${D}${libdir}/ldscripts
Quoted 8 lines
Quoted 8 lines
_______________________________________________
arago-commits mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/arago-commits
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Quoted 1 line · Chase
What were we doing in the past? Qtcreator used to work correct?
Yes, as I mentioned earlier - we were building gdb-7.2 from sources. I brought this issue up recently and the agreement for this time around was to package it from the prebuilt Arago toolchain instead. As the other issue with that gdb from the previous SDKs was that it relied on host Python, which would break easily depending on the version of Python installed on the host...
Signature · 1 line
Denys
Quoted 171 lines
----- Reply message -----
From: "Cooper Jr., Franklin" <[email protected]>
Date: Tue, Nov 13, 2012 8:44 pm
Subject: [meta-arago] [arago-commits] Denys Dmytriyenko : external-arago-sdk-toolchain: package up gdb from the toolchain as well
To: "Dmytriyenko, Denys" <[email protected]>
Cc: "[email protected]" <[email protected]>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 that.
If we need to recompile the toolchain and package up this toolchain and distribute it as a prebuilt toolchain we can do that also.
Any other options I missed?
Quoted 141 lines · Denys
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 from sources, which we discussed and agreed not to do. Moreover, if you want gdb 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 gdbserver of version 7.2 as well...
Denys
Quoted 128 lines · Franklin
We need gdb with python support is required for Qt debugging via Qt 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 support for gdb.
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Arago Project git
Sent: Monday, November 12, 2012 10:41 PM
To: [email protected]
Subject: [arago-commits] Denys Dmytriyenko : external-arago-sdk-toolchain: package up gdb from the toolchain as wellModule: meta-arago Branch: master Commit: 78bec05ff04e6e98def765e61a7a00c35c635938 URL: http://arago-project.org/git/meta-arago.git?a=commit;h=78bec05ff04e6e98def765e61a7a00c35c635938Author: Denys Dmytriyenko <[email protected]> Date: Mon Nov 12 23:35:52 2012 -0500external-arago-sdk-toolchain: package up gdb from the toolchain as well
Signed-off-by Denys Dmytriyenko <[email protected]>---
.../meta/external-arago-sdk-toolchain.bb | 25 +++++++++++++++++++-
1 files changed, 24 insertions(+), 1 deletions(-)meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.b renamed from meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.bb +1
-0+++ b@@ -2,7 +2,7 @@ inherit cross-canadianrequire external-arago-toolchain.inc
meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.b renamed from meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.bb +1
-1-PR = "r2" +PR = "r3"
INHIBIT_PACKAGE_STRIP= "1"INHIBIT_DEFAULT_DEPS= "1"meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.b renamed from meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.bb +0
-0@@ -16,15 +16,18 @@ LIC_FILES_CHKSUM = "\ "INSANE_SKIP_gcc-cross-canadian-arm = "dev-so" +INSANE_SKIP_gdb-cross-canadian-arm = "dev-so" INSANE_SKIP_binutils-cross-canadian-arm = "dev-so"
PROVIDES = "\ gcc-cross-canadian-arm \ + gdb-cross-canadian-arm \ binutils-cross-canadian-arm \"
PACKAGES = "\ gcc-cross-canadian-arm \ + gdb-cross-canadian-arm \ binutils-cross-canadian-arm \"
meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.b renamed from meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.bb +0
-0@@ -32,6 +35,7 @@ PACKAGES = "\bindir = "${exec_prefix}/bin/"
libdir = "${exec_prefix}/lib/"
libexecdir = "${exec_prefix}/libexec/"
+datadir = "${exec_prefix}/share/"gcclibdir = "${libdir}/gcc"
meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.b renamed from meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.bb +0
-0@@ -55,6 +59,14 @@ FILES_gcc-cross-canadian-arm = "\ ${libexecdir}/* \"
meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.b renamed from meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.bb +7
-0+FILES_gdb-cross-canadian-arm = "\ + ${bindir}/${TARGET_PREFIX}gdb \ + ${bindir}/${TARGET_PREFIX}gdbtui \ + ${datadir}/gdb/* \ + ${datadir}/info/* \ + ${datadir}/man/man1/${TARGET_PREFIX}* \ " +FILES_binutils-cross-canadian-arm = "\ ${prefix}/${ARAGO_TARGET_SYS}/bin/ld \ ${prefix}/${ARAGO_TARGET_SYS}/bin/addr2line \ @@ -91,14 +103,17 @@ FILES_binutils-cross-canadian-arm = "\ "DESCRIPTION_gcc-cross-canadian-arm = "The GNU cc and gcc C compilers" +DESCRIPTION_gdb-cross-canadian-arm = "gdb - GNU debugger" DESCRIPTION_binutils-cross-canadian-arm = "A GNU collection of binary utilities"
LICENSE = "${ARG_LIC_LIBC}" LICENSE_gcc-cross-canadian-arm = "${ARG_LIC_GCC}" +LICENSE_gdb-cross-canadian-arm = "${ARG_LIC_GDB}" LICENSE_binutils-cross-canadian-arm = "${ARG_LIC_BFD}"
PKGV = "${ARG_VER_MAIN}" PKGV_gcc-cross-canadian-arm = "${ARG_VER_GCC}" +PKGV_gdb-cross-canadian-arm = "${ARG_VER_GDB}" PKGV_binutils-cross-canadian-arm = "${ARG_VER_BFD}"
do_install(){meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.b renamed from meta-arago-extras/recipes-core/meta/external-arago-sdk-toolchain.bb +9
-0@@ -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}{gcov,gccbug,gcc,g++,cpp} ${D}${bindir} cp -a ${TOOLCHAIN_PATH}/libexec/* ${D}${libexecdir} + cp -a ${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}{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/${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}${prefix}/${ARAGO_TARGET_SYS}/bin cp -a ${TOOLCHAIN_PATH}/include/*.h ${D}${includedir} cp -a ${TOOLCHAIN_PATH}/lib/ldscripts/* ${D}${libdir}/ldscriptsQuoted 8 lines
Quoted 8 lines
_______________________________________________
arago-commits mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/arago-commits
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago