aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-08-15 11:06:41 +0000
committerJohn Gilmore <gnu@cygnus>1992-08-15 11:06:41 +0000
commit67c9f54cb990d6e806ca2f9c689e98141c1ca3b7 (patch)
tree86f6c80f424d6dd24cae49664df4126aa37c6b8f /gdb
parent0d1cd01ebcbbc93522bb0eba2a141a6667b2e7d1 (diff)
downloadgdb-67c9f54cb990d6e806ca2f9c689e98141c1ca3b7.zip
gdb-67c9f54cb990d6e806ca2f9c689e98141c1ca3b7.tar.gz
gdb-67c9f54cb990d6e806ca2f9c689e98141c1ca3b7.tar.bz2
Surround extended support with #ifdef HAVE_68881.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog2
-rw-r--r--gdb/m68k-pinsn.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b72d59e..9557493 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,7 @@
Sat Aug 15 02:58:03 1992 John Gilmore (gnu@cygnus.com)
+ * m68k-pinsn.c: Surround extended support with #ifdef HAVE_68881.
+
* infcmd.c (registers_info): Handle multiple register names.
Changes inspired by Roland McGrath.
diff --git a/gdb/m68k-pinsn.c b/gdb/m68k-pinsn.c
index 694a246..3fc3425 100644
--- a/gdb/m68k-pinsn.c
+++ b/gdb/m68k-pinsn.c
@@ -466,10 +466,12 @@ print_insn_arg (d, buffer, p, addr, stream)
flval = NEXTDOUBLE(p);
break;
+#ifdef HAVE_68881
case 'x':
ieee_extended_to_double (&ext_format_68881, p, &flval);
p += 12;
break;
+#endif
case 'p':
p += 12;