aboutsummaryrefslogtreecommitdiff
path: root/gdb/acconfig.h
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1996-03-31 01:04:37 +0000
committerFred Fish <fnf@specifix.com>1996-03-31 01:04:37 +0000
commit07b77f5ca4f7a43b63646c28d06e2261394cd78c (patch)
treee9b88d67f89b406ad16f44ad308af4d98ad6c9ba /gdb/acconfig.h
parent452ad97eb9e9a08f0e46a8608a2b7b1b5eaf5e18 (diff)
downloadgdb-07b77f5ca4f7a43b63646c28d06e2261394cd78c.zip
gdb-07b77f5ca4f7a43b63646c28d06e2261394cd78c.tar.gz
gdb-07b77f5ca4f7a43b63646c28d06e2261394cd78c.tar.bz2
* configure.in: Check whether printf family supports printing
long doubles or not and define PRINTF_HAS_LONG_DOUBLE if so. * acconfig.h: Provide default undef for PRINTF_HAS_LONG_DOUBLE. * configure: Regenerate. * valprint.c (print_floating): Use PRINTF_HAS_LONG_DOUBLE. * c-exp.y (parse_number): Use PRINTF_HAS_LONG_DOUBLE. * configure.in: Fix have_gregset and have_fpregset autoconf variable names so that they match the pattern required to cache them.
Diffstat (limited to 'gdb/acconfig.h')
-rw-r--r--gdb/acconfig.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/acconfig.h b/gdb/acconfig.h
index 2dec654..bb9b991 100644
--- a/gdb/acconfig.h
+++ b/gdb/acconfig.h
@@ -4,3 +4,6 @@
/* Define if gregset_t type is available. */
#undef HAVE_GREGSET_T
+
+/* Define if the "%Lg" format works to print long doubles. */
+#undef PRINTF_HAS_LONG_DOUBLE