diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-11-27 15:50:32 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-11-27 15:50:32 +0000 |
commit | f09cffaa4a5d50a98e6da686ec1f801cfaca76dd (patch) | |
tree | 714a8a8d56b42552f5a9c5e8350fe60847848cdc /gdb/gdbarch.c | |
parent | e92b0cc9b14f693df6d7e34882d76f62f5c467c8 (diff) | |
download | gdb-f09cffaa4a5d50a98e6da686ec1f801cfaca76dd.zip gdb-f09cffaa4a5d50a98e6da686ec1f801cfaca76dd.tar.gz gdb-f09cffaa4a5d50a98e6da686ec1f801cfaca76dd.tar.bz2 |
2002-11-26 Andrew Cagney <ac131313@redhat.com>
* gdbarch.sh (TARGET_FLOAT_FORMAT): Print the float format name.
(TARGET_DOUBLE_FORMAT, TARGET_LONG_DOUBLE_FORMAT): Ditto.
* gdbarch.c: Re-generate.
Diffstat (limited to 'gdb/gdbarch.c')
-rw-r--r-- | gdb/gdbarch.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index 71cf798..5b4ff7b 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -2132,8 +2132,8 @@ gdbarch_dump (struct gdbarch *gdbarch, struct ui_file *file) "gdbarch_dump: TARGET_DOUBLE_FORMAT # %s\n", XSTRING (TARGET_DOUBLE_FORMAT)); fprintf_unfiltered (file, - "gdbarch_dump: TARGET_DOUBLE_FORMAT = %ld\n", - (long) TARGET_DOUBLE_FORMAT); + "gdbarch_dump: TARGET_DOUBLE_FORMAT = %s\n", + gdbarch->float_format->name); #endif #ifdef TARGET_FLOAT_BIT fprintf_unfiltered (file, @@ -2148,8 +2148,8 @@ gdbarch_dump (struct gdbarch *gdbarch, struct ui_file *file) "gdbarch_dump: TARGET_FLOAT_FORMAT # %s\n", XSTRING (TARGET_FLOAT_FORMAT)); fprintf_unfiltered (file, - "gdbarch_dump: TARGET_FLOAT_FORMAT = %ld\n", - (long) TARGET_FLOAT_FORMAT); + "gdbarch_dump: TARGET_FLOAT_FORMAT = %s\n", + gdbarch->float_format->name); #endif #ifdef TARGET_INT_BIT fprintf_unfiltered (file, @@ -2180,8 +2180,8 @@ gdbarch_dump (struct gdbarch *gdbarch, struct ui_file *file) "gdbarch_dump: TARGET_LONG_DOUBLE_FORMAT # %s\n", XSTRING (TARGET_LONG_DOUBLE_FORMAT)); fprintf_unfiltered (file, - "gdbarch_dump: TARGET_LONG_DOUBLE_FORMAT = %ld\n", - (long) TARGET_LONG_DOUBLE_FORMAT); + "gdbarch_dump: TARGET_LONG_DOUBLE_FORMAT = %s\n", + gdbarch->float_format->name); #endif #ifdef TARGET_LONG_LONG_BIT fprintf_unfiltered (file, |