* corelow.c, exec.c, inftarg.c, m3-nat.c, op50-rom.c, procfs.c,
[deliverable/binutils-gdb.git] / gdb / hpread.c
index f070d3e63351341120e394f1512378f056347abe..ad142a8ea89cad983e338d81f84ef3fd150c47bf 100644 (file)
@@ -1556,9 +1556,8 @@ hpread_read_array_type (hp_type, dn_bufp, objfile)
     {
       /* The HP debug format represents char foo[]; as an array with
         length 0x7fffffff.  Internally GDB wants to represent this
-        as a pointer.  Ugh.  */
-     TYPE_CODE (type) = TYPE_CODE_PTR;
-     TYPE_LENGTH (type) = 4;
+        as an array of length zero.  */
+     TYPE_LENGTH (type) = 0;
     }
   else
     TYPE_LENGTH (type) = dn_bufp->darray.arraylength / 8;
This page took 0.023463 seconds and 4 git commands to generate.