diff options
Diffstat (limited to 'meta/recipes-devtools/gdb/gdb')
-rw-r--r-- | meta/recipes-devtools/gdb/gdb/fix_for_build_error_internal_error_call.patch | 18 |
1 files changed, 18 insertions, 0 deletions
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 0000000000..f39eaa936f --- /dev/null +++ b/meta/recipes-devtools/gdb/gdb/fix_for_build_error_internal_error_call.patch | |||
@@ -0,0 +1,18 @@ | |||
1 | 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. | ||
2 | |||
3 | Nitin A Kamble <nitin.a.kamble@intel.com> | ||
4 | 2010/11/12 | ||
5 | |||
6 | Index: gdb-7.2/gdb/gdbserver/linux-i386-ipa.c | ||
7 | =================================================================== | ||
8 | --- gdb-7.2.orig/gdb/gdbserver/linux-i386-ipa.c | ||
9 | +++ gdb-7.2/gdb/gdbserver/linux-i386-ipa.c | ||
10 | @@ -178,7 +178,7 @@ supply_static_tracepoint_registers (stru | ||
11 | } | ||
12 | break; | ||
13 | default: | ||
14 | - internal_error ("unhandled register size: %d", | ||
15 | + internal_error (__FILE__, __LINE__, "unhandled register size: %d", | ||
16 | i386_st_collect_regmap[i].size); | ||
17 | } | ||
18 | } | ||