diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-11-09 13:11:17 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-11-09 13:11:17 +0000 |
commit | 76a8ddb9e4849b256b4a104d6610d72d139a2f71 (patch) | |
tree | 3e60ddc2219306d9f597b468159b505c791af6ce | |
parent | 6b60be102a1e09b903a1e4c9335201c449c51f32 (diff) | |
download | gdb-76a8ddb9e4849b256b4a104d6610d72d139a2f71.zip gdb-76a8ddb9e4849b256b4a104d6610d72d139a2f71.tar.gz gdb-76a8ddb9e4849b256b4a104d6610d72d139a2f71.tar.bz2 |
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.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/arch-utils.c | 3 | ||||
-rw-r--r-- | 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 <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); |