Only dump IEEE_FLOAT when defined.

This commit is contained in:
Andrew Cagney 2000-04-17 05:59:42 +00:00
parent ba2adb9390
commit 301ab94d77
3 changed files with 8 additions and 1 deletions

View 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

View 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

View File

@ -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