diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-12-08 20:48:17 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-12-08 20:48:17 +0000 |
commit | 52f87c5112e5e32ac22d3d02b826eed2ec93c147 (patch) | |
tree | 37ca8305049a9e8208b5812b818ee6494d92066f /gdb/gdbarch.c | |
parent | 75538612b6dbfde25d55f91e02d9381c8d3360df (diff) | |
download | binutils-gdb-52f87c5112e5e32ac22d3d02b826eed2ec93c147.tar.gz |
2002-12-07 Andrew Cagney <ac131313@redhat.com>
* gdbarch.sh (TARGET_FLOAT_FORMAT): Use the macro when printing
the format name.
(TARGET_DOUBLE_FORMAT, TARGET_LONG_DOUBLE_FORMAT): Ditto.
* gdbarch.c: Regenerate.
Diffstat (limited to 'gdb/gdbarch.c')
-rw-r--r-- | gdb/gdbarch.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index ef568205a20..9523abc1505 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -2335,7 +2335,7 @@ gdbarch_dump (struct gdbarch *gdbarch, struct ui_file *file) XSTRING (TARGET_DOUBLE_FORMAT)); fprintf_unfiltered (file, "gdbarch_dump: TARGET_DOUBLE_FORMAT = %s\n", - gdbarch->float_format->name); + (TARGET_DOUBLE_FORMAT)->name); #endif #ifdef TARGET_FLOAT_BIT fprintf_unfiltered (file, @@ -2351,7 +2351,7 @@ gdbarch_dump (struct gdbarch *gdbarch, struct ui_file *file) XSTRING (TARGET_FLOAT_FORMAT)); fprintf_unfiltered (file, "gdbarch_dump: TARGET_FLOAT_FORMAT = %s\n", - gdbarch->float_format->name); + (TARGET_FLOAT_FORMAT)->name); #endif #ifdef TARGET_INT_BIT fprintf_unfiltered (file, @@ -2383,7 +2383,7 @@ gdbarch_dump (struct gdbarch *gdbarch, struct ui_file *file) XSTRING (TARGET_LONG_DOUBLE_FORMAT)); fprintf_unfiltered (file, "gdbarch_dump: TARGET_LONG_DOUBLE_FORMAT = %s\n", - gdbarch->float_format->name); + (TARGET_LONG_DOUBLE_FORMAT)->name); #endif #ifdef TARGET_LONG_LONG_BIT fprintf_unfiltered (file, |