From 76a8ddb9e4849b256b4a104d6610d72d139a2f71 Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Fri, 9 Nov 2007 13:11:17 +0000 Subject: 2007-11-09 Markus Deuling * arch-utils.c (generic_convert_register_p): Add gdbarch as parameter. * arch-utils.h (generic_convert_register_p): Likewise. --- gdb/ChangeLog | 5 +++++ gdb/arch-utils.c | 3 ++- gdb/arch-utils.h | 3 ++- 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 + * arch-utils.c (generic_convert_register_p): Add gdbarch as parameter. + * arch-utils.h (generic_convert_register_p): Likewise. + +2007-11-09 Markus Deuling + * 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); -- cgit v1.1