From 9eec4d1e39028b54f54638c90b2c628b958162fe Mon Sep 17 00:00:00 2001 From: Markus Deuling Date: Tue, 22 Apr 2008 06:53:18 +0000 Subject: * eval.c (evaluate_subexp_standard): Use value_subscripted_rvalue for multi_f77_subscript to support values from registers. * valarith.c (value_subscripted_rvalue): Remove prototype and static. * value.h (value_subscripted_rvalue): Add prototype. * f-typeprint.c (f_type_print_base): Add support for TYPE_CODE_UNION. Fix output. * f-valprint.c (f_val_print): Likewise. --- gdb/value.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gdb/value.h') diff --git a/gdb/value.h b/gdb/value.h index 5f8fe58c0..55eb253 100644 --- a/gdb/value.h +++ b/gdb/value.h @@ -558,4 +558,5 @@ extern struct value *value_allocate_space_in_inferior (int); extern struct value *value_of_local (const char *name, int complain); +extern struct value * value_subscripted_rvalue (struct value *array, struct value *idx, int lowerbound); #endif /* !defined (VALUE_H) */ -- cgit v1.1