Only dump IEEE_FLOAT when defined.
authorAndrew Cagney <cagney@redhat.com>
Mon, 17 Apr 2000 05:59:42 +0000 (05:59 +0000)
committerAndrew Cagney <cagney@redhat.com>
Mon, 17 Apr 2000 05:59:42 +0000 (05:59 +0000)
gdb/ChangeLog
gdb/gdbarch.c
gdb/gdbarch.sh

index afa55923af091d86f7f27633b29c59b998b3f7b9..139597efe759ce28b38a9bb1b0353e49cf08dcc7 100644 (file)
@@ -1,3 +1,8 @@
+Mon Apr 17 15:53:38 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gdbarch.sh (IEEE_FLOAT): Only dump when defined.
+       * gdbarch.h, gdbarch.c: Re-generate.
+
 Mon Apr 17 11:26:01 2000  Andrew Cagney  <cagney@b1.cygnus.com>
 
        * remote.c (REMOTE_TRANSLATE_XFER_ADDRESS), mem-break.c
index ed05584cc899af384ba80cd697e5eac432e92592..28378fe571820b0db2490c684cabde85a4ea2ac1 100644 (file)
@@ -659,9 +659,11 @@ gdbarch_dump (void)
   fprintf_unfiltered (gdb_stdlog,
                       "gdbarch_update: TARGET_LONG_DOUBLE_BIT = %ld\n",
                       (long) TARGET_LONG_DOUBLE_BIT);
+#ifdef IEEE_FLOAT
   fprintf_unfiltered (gdb_stdlog,
                       "gdbarch_update: IEEE_FLOAT = %ld\n",
                       (long) IEEE_FLOAT);
+#endif
   fprintf_unfiltered (gdb_stdlog,
                       "gdbarch_update: TARGET_READ_PC = 0x%08lx\n",
                       (long) current_gdbarch->read_pc
index d8ee81c240cec34f318ab0e0d7249a37a8ba858a..52385a817b2ca107e689ae12f066df831137a6de 100755 (executable)
@@ -191,7 +191,7 @@ v:1:TARGET_LONG_LONG_BIT:int:long_long_bit::::8 * sizeof (LONGEST):0
 v:1:TARGET_FLOAT_BIT:int:float_bit::::8 * sizeof (float):0
 v:1:TARGET_DOUBLE_BIT:int:double_bit::::8 * sizeof (double):0
 v:1:TARGET_LONG_DOUBLE_BIT:int:long_double_bit::::8 * sizeof (long double):0
-v:1:IEEE_FLOAT:int:ieee_float::::0:1:0
+v:1:IEEE_FLOAT:int:ieee_float::::0:1:0:::#
 #
 f:1:TARGET_READ_PC:CORE_ADDR:read_pc:int pid:pid::0:0
 f:1:TARGET_WRITE_PC:void:write_pc:CORE_ADDR val, int pid:val, pid::0:0