* ada-lang.c (ada_evaluate_subexp): Modify the value returned
authorJoel Brobecker <brobecker@gnat.com>
Wed, 2 Jan 2008 12:03:06 +0000 (12:03 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Wed, 2 Jan 2008 12:03:06 +0000 (12:03 +0000)
commit0a07e705b7ab3d2c4563f28feb7ebfa48b68974e
tree80230cf801daa86d185da74dbb47742af9b3bb14
parentc4359f8d005c9b4eeb15ebd0681ac876e101a6aa
    * 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.
gdb/ChangeLog
gdb/ada-lang.c