Allow really large fortran array bounds: TYPE_LENGTH to ULONGEST
[deliverable/binutils-gdb.git] / gdb / ada-lang.c
index 692d52a955192f04f86f4ce02a30f49a1603c715..cdaf5589bc4fec3cb51dc68cc75c378d9079ea72 100644 (file)
@@ -8500,11 +8500,11 @@ ada_template_to_fixed_record_type_1 (struct type *type,
   if (TYPE_LENGTH (type) <= 0)
     {
       if (TYPE_NAME (rtype))
-       warning (_("Invalid type size for `%s' detected: %d."),
-                TYPE_NAME (rtype), TYPE_LENGTH (type));
+       warning (_("Invalid type size for `%s' detected: %s."),
+                TYPE_NAME (rtype), pulongest (TYPE_LENGTH (type)));
       else
-       warning (_("Invalid type size for <unnamed> detected: %d."),
-                TYPE_LENGTH (type));
+       warning (_("Invalid type size for <unnamed> detected: %s."),
+                pulongest (TYPE_LENGTH (type)));
     }
   else
     {
This page took 0.048684 seconds and 4 git commands to generate.