aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/arch-utils.c3
-rw-r--r--gdb/arch-utils.h3
3 files changed, 9 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b61a123..5a19031 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2007-11-09 Markus Deuling <deuling@de.ibm.com>
+ * arch-utils.c (generic_convert_register_p): Add gdbarch as parameter.
+ * arch-utils.h (generic_convert_register_p): Likewise.
+
+2007-11-09 Markus Deuling <deuling@de.ibm.com>
+
* gdbarch.sh (convert_register_p): Add gdbarch as parameter.
* ia64-tdep.c (ia64_convert_register_p): Likewise.
* i387-tdep.c (i387_convert_register_p): Likewise.
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c
index c75e10b..52f4e74 100644
--- a/gdb/arch-utils.c
+++ b/gdb/arch-utils.c
@@ -162,7 +162,8 @@ legacy_virtual_frame_pointer (struct gdbarch *gdbarch,
int
-generic_convert_register_p (int regnum, struct type *type)
+generic_convert_register_p (struct gdbarch *gdbarch, int regnum,
+ struct type *type)
{
return 0;
}
diff --git a/gdb/arch-utils.h b/gdb/arch-utils.h
index 6b46e25..ee04ad5 100644
--- a/gdb/arch-utils.h
+++ b/gdb/arch-utils.h
@@ -73,7 +73,8 @@ extern int generic_in_solib_return_trampoline (CORE_ADDR pc, char *name);
extern int generic_in_function_epilogue_p (struct gdbarch *gdbarch, CORE_ADDR pc);
/* By default, registers are not convertible. */
-extern int generic_convert_register_p (int regnum, struct type *type);
+extern int generic_convert_register_p (struct gdbarch *gdbarch, int regnum,
+ struct type *type);
extern int default_stabs_argument_has_addr (struct gdbarch *gdbarch,
struct type *type);