* emultempl/mmixelf.em: Remove incorrect '#line' directive.
[deliverable/binutils-gdb.git] / gdb / p-typeprint.c
index d6f6b4ba13a38ef553e3e57b6536d95a51778705..f21a7f1b392a744e250962c6544169a9b62145a6 100644 (file)
@@ -1,6 +1,5 @@
 /* Support for printing Pascal types for GDB, the GNU debugger.
-   Copyright (C) 2000, 2001, 2002, 2006
-   Free Software Foundation, Inc.
+   Copyright (C) 2000, 2001, 2002, 2006, 2007 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -252,7 +251,7 @@ pascal_type_print_varspec_prefix (struct type *type, struct ui_file *stream,
       if (passed_a_ptr)
        fprintf_filtered (stream, "(");
       fprintf_filtered (stream, "array ");
-      if (TYPE_LENGTH (type) >= 0 && TYPE_LENGTH (TYPE_TARGET_TYPE (type)) > 0
+      if (TYPE_LENGTH (TYPE_TARGET_TYPE (type)) > 0
        && TYPE_ARRAY_UPPER_BOUND_TYPE (type) != BOUND_CANNOT_BE_DETERMINED)
        fprintf_filtered (stream, "[%d..%d] ",
                          TYPE_ARRAY_LOWER_BOUND_VALUE (type),
This page took 0.024131 seconds and 4 git commands to generate.