diff options
author | Joel Brobecker <brobecker@gnat.com> | 2012-02-29 19:30:53 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2012-02-29 19:30:53 +0000 |
commit | c48db5caef25bc89b8f444300c7740f01405938b (patch) | |
tree | 325e5b90f3107c0a37f1c1bc67ea72cd674cb664 /gdb/ada-lang.h | |
parent | 2e6fda7d06e4fa05ef3abdde96805a5cb3880f88 (diff) | |
download | binutils-c48db5caef25bc89b8f444300c7740f01405938b.zip binutils-c48db5caef25bc89b8f444300c7740f01405938b.tar.gz binutils-c48db5caef25bc89b8f444300c7740f01405938b.tar.bz2 |
Ada: ada_to_fixed_value should also unwrap_value
We should always unwrap a value before trying to "fix" it. It is
therefore logical that ada_to_fixed_value would call unwrap_value
before creating the fixed value.
This simplifies the code in ada-lang.c a bit.
gdb/ChangeLog:
* ada-lang.c (ada_to_fixed_value): Call unwrap_value before
creating fixed value.
(ada_value_ind, ada_coerce_ref, assign_component)
(ada_evaluate_subexp): Remove call to unwrap_value before
call to ada_to_fixed_value.
Diffstat (limited to 'gdb/ada-lang.h')
0 files changed, 0 insertions, 0 deletions