diff options
Diffstat (limited to 'gdb/user-regs.h')
-rw-r--r-- | gdb/user-regs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/user-regs.h b/gdb/user-regs.h index cbe0cde..baa3581 100644 --- a/gdb/user-regs.h +++ b/gdb/user-regs.h @@ -56,9 +56,9 @@ extern const char *user_reg_map_regnum_to_name (struct gdbarch *gdbarch, bytes as, at the time the register is being added, the type needed to describe the register has not bee initialized. */ -typedef struct value *(user_reg_read_ftype) (frame_info_ptr frame, +typedef struct value *(user_reg_read_ftype) (const frame_info_ptr &frame, const void *baton); -extern struct value *value_of_user_reg (int regnum, frame_info_ptr frame); +extern struct value *value_of_user_reg (int regnum, const frame_info_ptr &frame); /* Add a builtin register (present in all architectures). */ extern void user_reg_add_builtin (const char *name, |