diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2010-11-08 09:12:33 -0800 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2010-11-14 21:08:26 -0800 |
commit | e5f5090cc011d25a872973870a738181bbe12724 (patch) | |
tree | 62189487b6d932a501ca9ca6c84610fcd8aa89d9 /meta/recipes-devtools/gdb | |
parent | 5319e5f05ddf1d219bbad5123d9b6f74f3d437d2 (diff) | |
download | openembedded-core-e5f5090cc011d25a872973870a738181bbe12724.tar.gz openembedded-core-e5f5090cc011d25a872973870a738181bbe12724.tar.bz2 openembedded-core-e5f5090cc011d25a872973870a738181bbe12724.tar.xz openembedded-core-e5f5090cc011d25a872973870a738181bbe12724.zip |
gdb upgrade from 7.1 to 7.2
Add new patch:
gdb/fix_for_build_error_internal_error_call.patch : this avoids a
build error.
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Diffstat (limited to 'meta/recipes-devtools/gdb')
-rw-r--r-- | meta/recipes-devtools/gdb/gdb-cross-canadian_7.2.bb (renamed from meta/recipes-devtools/gdb/gdb-cross-canadian_7.1.bb) | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/gdb/gdb-cross_7.2.bb (renamed from meta/recipes-devtools/gdb/gdb-cross_7.1.bb) | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/gdb/gdb.inc | 3 | ||||
-rw-r--r-- | meta/recipes-devtools/gdb/gdb/fix_for_build_error_internal_error_call.patch | 18 | ||||
-rw-r--r-- | meta/recipes-devtools/gdb/gdb_7.2.bb (renamed from meta/recipes-devtools/gdb/gdb_7.1.bb) | 2 |
5 files changed, 23 insertions, 4 deletions
diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian_7.1.bb b/meta/recipes-devtools/gdb/gdb-cross-canadian_7.2.bb index 3adcdcc28..5982c0568 100644 --- a/meta/recipes-devtools/gdb/gdb-cross-canadian_7.1.bb +++ b/meta/recipes-devtools/gdb/gdb-cross-canadian_7.2.bb @@ -4,7 +4,7 @@ DEPENDS = "ncurses-nativesdk expat-nativesdk gettext-nativesdk" inherit cross-canadian -PR = "r1" +PR = "r0" GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'" EXPAT = "--with-expat" diff --git a/meta/recipes-devtools/gdb/gdb-cross_7.1.bb b/meta/recipes-devtools/gdb/gdb-cross_7.2.bb index ea1f0d8c7..b5a8beae6 100644 --- a/meta/recipes-devtools/gdb/gdb-cross_7.1.bb +++ b/meta/recipes-devtools/gdb/gdb-cross_7.2.bb @@ -3,4 +3,4 @@ require gdb-cross.inc SRC_URI += "file://sim-install-6.6.patch;patch=1" EXPAT = "--with-expat" -PR = "r2" +PR = "r0" diff --git a/meta/recipes-devtools/gdb/gdb.inc b/meta/recipes-devtools/gdb/gdb.inc index 0ddd90b19..efa3cbffe 100644 --- a/meta/recipes-devtools/gdb/gdb.inc +++ b/meta/recipes-devtools/gdb/gdb.inc @@ -3,7 +3,8 @@ require gdb-common.inc inherit gettext SRC_URI += "file://kill_arm_map_symbols.patch \ - file://gdbserver-cflags-last.diff;striplevel=0 " + file://gdbserver-cflags-last.diff;striplevel=0 \ + file://fix_for_build_error_internal_error_call.patch " #LDFLAGS_append = " -s" #export CFLAGS_append=" -L${STAGING_LIBDIR}" diff --git a/meta/recipes-devtools/gdb/gdb/fix_for_build_error_internal_error_call.patch b/meta/recipes-devtools/gdb/gdb/fix_for_build_error_internal_error_call.patch new file mode 100644 index 000000000..f39eaa936 --- /dev/null +++ b/meta/recipes-devtools/gdb/gdb/fix_for_build_error_internal_error_call.patch @@ -0,0 +1,18 @@ +The prototype of function internall_error has changed. And one place in the code was not synced up with the new prototype, causing build error. This patche fixes that. + +Nitin A Kamble <nitin.a.kamble@intel.com> +2010/11/12 + +Index: gdb-7.2/gdb/gdbserver/linux-i386-ipa.c +=================================================================== +--- gdb-7.2.orig/gdb/gdbserver/linux-i386-ipa.c ++++ gdb-7.2/gdb/gdbserver/linux-i386-ipa.c +@@ -178,7 +178,7 @@ supply_static_tracepoint_registers (stru + } + break; + default: +- internal_error ("unhandled register size: %d", ++ internal_error (__FILE__, __LINE__, "unhandled register size: %d", + i386_st_collect_regmap[i].size); + } + } diff --git a/meta/recipes-devtools/gdb/gdb_7.1.bb b/meta/recipes-devtools/gdb/gdb_7.2.bb index be40f3f12..ec413a139 100644 --- a/meta/recipes-devtools/gdb/gdb_7.1.bb +++ b/meta/recipes-devtools/gdb/gdb_7.2.bb @@ -1,3 +1,3 @@ require gdb.inc -PR = "r2" +PR = "r0" |