aboutsummaryrefslogtreecommitdiff
path: root/gdb/c-valprint.c
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1993-06-12 22:03:27 +0000
committerFred Fish <fnf@specifix.com>1993-06-12 22:03:27 +0000
commitce13daa7df1ac4343d6597e6e04c87617408a3fe (patch)
treee2886e3dc0deffcd4c567f9e70ec57a2e53306a9 /gdb/c-valprint.c
parent998f2ef343650f723ead7f0232b40cbe4d8564e8 (diff)
downloadgdb-ce13daa7df1ac4343d6597e6e04c87617408a3fe.zip
gdb-ce13daa7df1ac4343d6597e6e04c87617408a3fe.tar.gz
gdb-ce13daa7df1ac4343d6597e6e04c87617408a3fe.tar.bz2
* Makefile.in (VERSION): Bump to 4.9.2.
* c-valprint.c (c_val_print): For array of chars printed with string syntax, don't print the address of the array. From bothner@cygnus.com. * c-exp.y (yylex): Recognize '.' as indicating a floating point number regardless of the radix. From wilson@cygnus.com. * valprint.c (set_input_radix_1, set_output_radix_1): New prototypes and functions that do the actual radix setting work. * valprint.c (set_radix, set_output_radix, set_input_radix): Rewrite to use set_input_radix_1 and set_output_radix_1. * valprint.c (initialize_valprint): Enable commands to independently set and show input and output radices. * valprint.c (show_radix): New prototype and function that handles separate input and output radices.
Diffstat (limited to 'gdb/c-valprint.c')
-rw-r--r--gdb/c-valprint.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/c-valprint.c b/gdb/c-valprint.c
index 14deef8..2344ec7 100644
--- a/gdb/c-valprint.c
+++ b/gdb/c-valprint.c
@@ -113,10 +113,6 @@ c_val_print (type, valaddr, address, stream, format, deref_ref, recurse,
if (eltlen == 1 && TYPE_CODE (elttype) == TYPE_CODE_INT
&& (format == 0 || format == 's'))
{
- if (addressprint && format != 's')
- {
- fprintf_filtered (stream, "0x%x ", address);
- }
LA_PRINT_STRING (stream, valaddr, len, 0);
i = len;
}