diff options
Diffstat (limited to 'gdb/arch-utils.h')
-rw-r--r-- | gdb/arch-utils.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gdb/arch-utils.h b/gdb/arch-utils.h index 8fce252..8952ed3 100644 --- a/gdb/arch-utils.h +++ b/gdb/arch-utils.h @@ -160,9 +160,11 @@ extern int legacy_pc_in_sigtramp (CORE_ADDR pc, char *name); (something that is discouraged); and to convert a register to the type of a corresponding variable. These legacy functions preserve that overloaded behavour in existing targets. */ -extern int legacy_convert_register_p (int regnum); -extern void legacy_register_to_value (int regnum, struct type *type, char *from, char *to); -extern void legacy_value_to_register (struct type *type, int regnum, char *from, char *to); +extern int legacy_convert_register_p (int regnum, struct type *type); +extern void legacy_register_to_value (struct frame_info *frame, int regnum, + struct type *type, void *to); +extern void legacy_value_to_register (struct frame_info *frame, int regnum, + struct type *type, const void *from); /* For compatibility with older architectures, returns (LEGACY_SIM_REGNO_IGNORE) when the register doesn't have a valid |