diff options
author | Joel Brobecker <brobecker@gnat.com> | 2008-01-02 12:03:06 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2008-01-02 12:03:06 +0000 |
commit | 0a07e705b7ab3d2c4563f28feb7ebfa48b68974e (patch) | |
tree | 80230cf801daa86d185da74dbb47742af9b3bb14 /gdb/ChangeLog | |
parent | c4359f8d005c9b4eeb15ebd0681ac876e101a6aa (diff) | |
download | gdb-0a07e705b7ab3d2c4563f28feb7ebfa48b68974e.zip gdb-0a07e705b7ab3d2c4563f28feb7ebfa48b68974e.tar.gz gdb-0a07e705b7ab3d2c4563f28feb7ebfa48b68974e.tar.bz2 |
* ada-lang.c (ada_evaluate_subexp): Modify the value returned
when noside is EVAL_AVOID_SIDE_EFFECTS to be an lval_memory.
This is needed to make sure that any other treatment applied
to the resulting value does not fail for spurious reason,
such as trying to take the address of this value.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e2784e8..e3b9714 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,13 @@ 2008-01-02 Joel Brobecker <brobecker@adacore.com> + * ada-lang.c (ada_evaluate_subexp): Modify the value returned + when noside is EVAL_AVOID_SIDE_EFFECTS to be an lval_memory. + This is needed to make sure that any other treatment applied + to the resulting value does not fail for spurious reason, + such as trying to take the address of this value. + +2008-01-02 Joel Brobecker <brobecker@adacore.com> + * ada-lang.c (ada_value_equal): Dereference reference types when comparing arrays. |