* printcmd.c (print_scalar_formatted): When truncating value we are
authorJim Kingdon <jkingdon@engr.sgi.com>
Tue, 21 Sep 1993 18:54:46 +0000 (18:54 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Tue, 21 Sep 1993 18:54:46 +0000 (18:54 +0000)
going to print as unsigned, handle it generally for any length
less than sizeof (LONGEST), rather than special-casing sizeof (char),
sizeof (short), and sizeof (long).  Clarify comment on what this
is for.

gdb/ChangeLog

index 5cfd6ea697f8a0bf0a5ff4a5156a3a97ee5dabee..63e5cb3d0ab287d0b6200fc4c122263f332e9ad4 100644 (file)
@@ -1,5 +1,11 @@
 Tue Sep 21 11:44:00 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
 
+       * printcmd.c (print_scalar_formatted): When truncating value we are
+       going to print as unsigned, handle it generally for any length
+       less than sizeof (LONGEST), rather than special-casing sizeof (char),
+       sizeof (short), and sizeof (long).  Clarify comment on what this
+       is for.
+
        * symfile.c (deduce_language_from_filename): Accept .cxx for C++.
        * buildsym.c (start_subfile): Use deduce_language_from_filename
        rather than checking for .C or .cc ourself.