From: Andrew Cagney Date: Mon, 17 Apr 2000 05:59:42 +0000 (+0000) Subject: Only dump IEEE_FLOAT when defined. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=301ab94d7761d4ee146dc11cd749b4a2c70e8b15;p=binutils-gdb.git Only dump IEEE_FLOAT when defined. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index afa55923af0..139597efe75 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +Mon Apr 17 15:53:38 2000 Andrew Cagney + + * gdbarch.sh (IEEE_FLOAT): Only dump when defined. + * gdbarch.h, gdbarch.c: Re-generate. + Mon Apr 17 11:26:01 2000 Andrew Cagney * remote.c (REMOTE_TRANSLATE_XFER_ADDRESS), mem-break.c diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index ed05584cc89..28378fe5718 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -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 diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh index d8ee81c240c..52385a817b2 100755 --- a/gdb/gdbarch.sh +++ b/gdb/gdbarch.sh @@ -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