aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.c
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.c
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.c')
-rw-r--r--gdb/gdbarch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c
index 25824b8..1493c00 100644
--- a/gdb/gdbarch.c
+++ b/gdb/gdbarch.c
@@ -767,7 +767,7 @@ verify_gdbarch (struct gdbarch *gdbarch)
if (gdbarch->double_format == 0)
gdbarch->double_format = default_double_format (gdbarch);
if (gdbarch->long_double_format == 0)
- gdbarch->long_double_format = &floatformat_unknown;
+ gdbarch->long_double_format = default_double_format (gdbarch);
/* Skip verify of convert_from_func_ptr_addr, invalid_p == 0 */
/* Skip verify of addr_bits_remove, invalid_p == 0 */
/* Skip verify of smash_text_address, invalid_p == 0 */