Change {lookup,make}_reference_type API
[deliverable/binutils-gdb.git] / gdb / eval.c
index 76d7f731a72723521303ac8aaeda3f0935676c59..61d8d195b18452642620b1db27f8740f05125bc3 100644 (file)
@@ -2771,7 +2771,7 @@ evaluate_subexp_standard (struct type *expect_type,
 
              if (TYPE_CODE (check_typedef (type)) != TYPE_CODE_REF)
                {
-                 type = lookup_reference_type (type);
+                 type = lookup_lvalue_reference_type (type);
                  result = allocate_value (type);
                }
            }
This page took 0.028393 seconds and 4 git commands to generate.