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>
This commit is contained in:
Nitin A Kamble 2010-11-08 09:12:33 -08:00 committed by Saul Wold
parent 5319e5f05d
commit e5f5090cc0
5 changed files with 23 additions and 4 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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}"

View File

@ -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);
}
}

View File

@ -1,3 +1,3 @@
require gdb.inc
PR = "r2"
PR = "r0"