From 76a8ddb9e4849b256b4a104d6610d72d139a2f71 Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Fri, 9 Nov 2007 13:11:17 +0000 Subject: [PATCH] 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 b61a1236f17..5a19031fcf7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +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. diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c index c75e10bb8ed..52f4e7487af 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 6b46e257ed9..ee04ad5af3b 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); -- 2.30.2