summaryrefslogtreecommitdiff
path: root/gdb/value.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-03-16 02:57:42 +0000
committerAndrew Cagney <cagney@redhat.com>2002-03-16 02:57:42 +0000
commit54f7a7244e39168648702c3b69c048c03d13820c (patch)
treeea927fb48f9e4718602d5240128215f78547c94d /gdb/value.h
parent7c369a0aadcb520073c1a7611b52c808f9e152a6 (diff)
downloadgdb-54f7a7244e39168648702c3b69c048c03d13820c.tar.gz
* eval.c (evaluate_subexp_standard): Pass ``selected_frame'' to
value_of_register. * findvar.c (value_of_register): Add ``frame'' parameter. Pass to get_saved_register. * value.h (value_of_register): Update.
Diffstat (limited to 'gdb/value.h')
-rw-r--r--gdb/value.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/value.h b/gdb/value.h
index d6fa9ff9c1f..29a178fe88f 100644
--- a/gdb/value.h
+++ b/gdb/value.h
@@ -317,7 +317,8 @@ extern struct value *value_from_register (struct type *type, int regnum,
extern struct value *value_of_variable (struct symbol *var, struct block *b);
-extern struct value *value_of_register (int regnum);
+extern struct value *value_of_register (int regnum,
+ struct frame_info *frame);
extern int symbol_read_needs_frame (struct symbol *);