arc: Add "maintenance print arc" command prefix
[deliverable/binutils-gdb.git] / gdb / ada-lang.c
index 753409cdbf582cfdbc66233965bc8fbaac2cf663..9b91e0cc5c1e18097011193e8958946968538d2f 100644 (file)
@@ -10707,7 +10707,7 @@ ada_evaluate_subexp (struct type *expect_type, struct expression *exp,
                     should return a ref as it should be valid to ask
                     for its address; so rebuild a ref after coerce.  */
                  arg1 = ada_coerce_ref (arg1);
-                 return value_ref (arg1);
+                 return value_ref (arg1, TYPE_CODE_REF);
                }
            }
 
This page took 0.025218 seconds and 4 git commands to generate.