aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-02-10 02:47:12 +0000
committerAndrew Cagney <cagney@redhat.com>2002-02-10 02:47:12 +0000
commit2fa5c1e0486475cf585c7ab013fe08f20676ccdd (patch)
tree351a1bf62f139e6c968cd12934e3ef7e22403a98 /gdb/gdbarch.h
parent0a9c1c8e0cb400a382039931cbef431bb0b312a1 (diff)
downloadgdb-2fa5c1e0486475cf585c7ab013fe08f20676ccdd.zip
gdb-2fa5c1e0486475cf585c7ab013fe08f20676ccdd.tar.gz
gdb-2fa5c1e0486475cf585c7ab013fe08f20676ccdd.tar.bz2
* gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Default to
default_double_format. * gdbarch.h, gdbarch.c: Re-generate. * findvar.c (floatformat_unknown): Delete variable definition. * doublest.h (floatformat_unknown): Delete variable declaration.
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r--gdb/gdbarch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h
index ffde4df..f03882a 100644
--- a/gdb/gdbarch.h
+++ b/gdb/gdbarch.h
@@ -2000,7 +2000,7 @@ extern void set_gdbarch_double_format (struct gdbarch *gdbarch, const struct flo
/* Default (value) for non- multi-arch platforms. */
#if (!GDB_MULTI_ARCH) && !defined (TARGET_LONG_DOUBLE_FORMAT)
-#define TARGET_LONG_DOUBLE_FORMAT (&floatformat_unknown)
+#define TARGET_LONG_DOUBLE_FORMAT (default_double_format (current_gdbarch))
#endif
extern const struct floatformat * gdbarch_long_double_format (struct gdbarch *gdbarch);