diff options
Diffstat (limited to 'gdb/user-regs.h')
-rw-r--r-- | gdb/user-regs.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/user-regs.h b/gdb/user-regs.h index 2b393ab..10eaf59 100644 --- a/gdb/user-regs.h +++ b/gdb/user-regs.h @@ -38,7 +38,7 @@ of assumed to be read-only. Should it, for instance, return a register descriptor that contains all the relevant access methods. */ -struct frame_info; +class frame_info_ptr; struct gdbarch; /* Given an architecture, map a user visible register name onto its @@ -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) (struct frame_info *frame, +typedef struct value *(user_reg_read_ftype) (frame_info_ptr frame, const void *baton); -extern struct value *value_of_user_reg (int regnum, struct frame_info *frame); +extern struct value *value_of_user_reg (int regnum, frame_info_ptr frame); /* Add a builtin register (present in all architectures). */ extern void user_reg_add_builtin (const char *name, |