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