summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-04-06 14:50:15 +0000
committerAndrew Cagney <cagney@redhat.com>2003-04-06 14:50:15 +0000
commit8e748fba6209af7b89fa12b63d593768035f57db (patch)
tree3751b660d34b7c86e9444df364a3a7a3b8a08a03
parentf4b0183d3003eeb7b2021d979e0fe143f77c8cc8 (diff)
downloadgdb-cvs/kettenis_i386newframe-20030406-branch.tar.gz
* valprint.c (val_print_type_code_int): Delete #ifdef PRINT_TYPELESS_INTEGER code.
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/valprint.c4
2 files changed, 3 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a4c8ed887df..86520604bfe 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/valprint.c b/gdb/valprint.c
index b1c47a123d4..d4b8bf5faf7 100644
--- a/gdb/valprint.c
+++ b/gdb/valprint.c
@@ -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
}
}