OSDN Git Service

2003-04-06 Andrew Cagney <cagney@redhat.com>
authorcagney <cagney>
Sun, 6 Apr 2003 14:50:15 +0000 (14:50 +0000)
committercagney <cagney>
Sun, 6 Apr 2003 14:50:15 +0000 (14:50 +0000)
* valprint.c (val_print_type_code_int): Delete #ifdef
PRINT_TYPELESS_INTEGER code.

gdb/ChangeLog
gdb/valprint.c

index a4c8ed8..8652060 100644 (file)
@@ -1,5 +1,8 @@
 2003-04-06  Andrew Cagney  <cagney@redhat.com>
 
+       * valprint.c (val_print_type_code_int): Delete #ifdef
+       PRINT_TYPELESS_INTEGER code.
+
        * gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES)
        (CALL_DUMMY_LOCATION, DEPRECATED_PC_IN_CALL_DUMMY): Allow partial
        multi-arch definition.
index b1c47a1..d4b8bf5 100644 (file)
@@ -205,12 +205,8 @@ val_print_type_code_int (struct type *type, char *valaddr,
     }
   else
     {
-#ifdef PRINT_TYPELESS_INTEGER
-      PRINT_TYPELESS_INTEGER (stream, type, unpack_long (type, valaddr));
-#else
       print_longest (stream, TYPE_UNSIGNED (type) ? 'u' : 'd', 0,
                     unpack_long (type, valaddr));
-#endif
     }
 }