summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gdb/gdb/fix_for_build_error_internal_error_call.patch
blob: afb1783c50b96de9fa737fdbe1f39c44828126f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Upstream-Status: Pending

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);
 	  }
       }
OpenPOWER on IntegriCloud