diff options
Diffstat (limited to 'gdb/valops.c')
-rw-r--r-- | gdb/valops.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/valops.c b/gdb/valops.c index de8a688..748f154 100644 --- a/gdb/valops.c +++ b/gdb/valops.c @@ -1182,7 +1182,7 @@ value_assign (struct value *toval, struct value *fromval) case lval_register: { - struct frame_info *frame; + frame_info_ptr frame; struct gdbarch *gdbarch; int value_reg; @@ -1301,7 +1301,7 @@ value_assign (struct value *toval, struct value *fromval) re-find the previously selected frame automatically. */ { - struct frame_info *fi = frame_find_by_id (old_frame); + frame_info_ptr fi = frame_find_by_id (old_frame); if (fi != NULL) select_frame (fi); @@ -1376,7 +1376,7 @@ value_repeat (struct value *arg1, int count) struct value * value_of_variable (struct symbol *var, const struct block *b) { - struct frame_info *frame = NULL; + frame_info_ptr frame = NULL; if (symbol_read_needs_frame (var)) frame = get_selected_frame (_("No frame selected.")); @@ -1409,7 +1409,7 @@ address_of_variable (struct symbol *var, const struct block *b) { case lval_register: { - struct frame_info *frame; + frame_info_ptr frame; const char *regname; frame = frame_find_by_id (VALUE_NEXT_FRAME_ID (val)); @@ -3943,7 +3943,7 @@ value_of_this (const struct language_defn *lang) { struct block_symbol sym; const struct block *b; - struct frame_info *frame; + frame_info_ptr frame; if (lang->name_of_this () == NULL) error (_("no `this' in current language")); |