From 376c9600197cb583397c4bf8a2cd49e23693bf6d Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sat, 16 Mar 2002 02:57:42 +0000 Subject: * 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. --- gdb/value.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gdb/value.h') diff --git a/gdb/value.h b/gdb/value.h index d6fa9ff..29a178f 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 *); -- cgit v1.1