diff options
author | Markus Deuling <deuling@de.ibm.com> | 2008-04-22 06:53:18 +0000 |
---|---|---|
committer | Markus Deuling <deuling@de.ibm.com> | 2008-04-22 06:53:18 +0000 |
commit | 9eec4d1e39028b54f54638c90b2c628b958162fe (patch) | |
tree | 01ab148246a55aa0a0bf1b48c8956d0e42a40094 /gdb/eval.c | |
parent | 68837c9d8d2b2fed53f1232a82d333b23d01e320 (diff) | |
download | gdb-9eec4d1e39028b54f54638c90b2c628b958162fe.zip gdb-9eec4d1e39028b54f54638c90b2c628b958162fe.tar.gz gdb-9eec4d1e39028b54f54638c90b2c628b958162fe.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/eval.c')
-rw-r--r-- | gdb/eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1720,7 +1720,7 @@ evaluate_subexp_standard (struct type *expect_type, returns the correct type value */ deprecated_set_value_type (arg1, tmp_type); - return value_ind (value_add (value_coerce_array (arg1), arg2)); + return value_subscripted_rvalue (arg1, arg2, 0); } case BINOP_LOGICAL_AND: |