diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-04-06 14:50:15 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-04-06 14:50:15 +0000 |
commit | 996179eebb352d0242007cecc12d41c67d4982ba (patch) | |
tree | 7b0b6c76af9c3900d433a9de849052356fbd35a0 /gdb | |
parent | 55e1d7e7f45a806b592581dee06491fbae895a0d (diff) | |
download | gdb-996179eebb352d0242007cecc12d41c67d4982ba.zip gdb-996179eebb352d0242007cecc12d41c67d4982ba.tar.gz gdb-996179eebb352d0242007cecc12d41c67d4982ba.tar.bz2 |
2003-04-06 Andrew Cagney <cagney@redhat.com>
* valprint.c (val_print_type_code_int): Delete #ifdef
PRINT_TYPELESS_INTEGER code.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 3 | ||||
-rw-r--r-- | gdb/valprint.c | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a4c8ed8..8652060 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 b1c47a1..d4b8bf5 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 } } |