add autom4te.cache to .cvsignore
[deliverable/binutils-gdb.git] / gdb / c-valprint.c
index efd531e08884f8d913fcec4700464fb4cb56838a..2ec90585b85a853c1fec00cf5fc46807ceb71eba 100644 (file)
@@ -96,7 +96,7 @@ c_val_print (struct type *type, const gdb_byte *valaddr, int embedded_offset,
            }
          /* For an array of chars, print with string syntax.  */
          if (eltlen == 1 &&
-             ((TYPE_CODE (elttype) == TYPE_CODE_INT)
+             ((TYPE_CODE (elttype) == TYPE_CODE_INT && TYPE_NOSIGN (elttype))
               || ((current_language->la_language == language_m2)
                   && (TYPE_CODE (elttype) == TYPE_CODE_CHAR)))
              && (format == 0 || format == 's'))
This page took 0.023942 seconds and 4 git commands to generate.