Run --gc-sections tests only if supported.
[deliverable/binutils-gdb.git] / gdb / ada-valprint.c
index f0901a8c137a991d6e57e44b4cae7669d4336116..7b9e3ee870768231b5994e19216a5c0ad3bc8ef8 100644 (file)
@@ -682,7 +682,8 @@ ada_val_print_1 (struct type *type, const gdb_byte *valaddr,
   type = ada_check_typedef (type);
 
   if (ada_is_array_descriptor_type (type)
-      || ada_is_constrained_packed_array_type (type))
+      || (ada_is_constrained_packed_array_type (type)
+         && TYPE_CODE (type) != TYPE_CODE_PTR))
     {
       int retn;
       struct value *mark = value_mark ();
This page took 0.023446 seconds and 4 git commands to generate.