Browse Source

* doublest.c (store_floating): Avoid floatformat_from_doublest()

assertion failure by returning early after a warning.
drow-cplus-branch
Kevin Buettner 24 years ago
parent
commit
b30590dca4
  1. 5
      gdb/ChangeLog
  2. 1
      gdb/doublest.c

5
gdb/ChangeLog

@ -1,3 +1,8 @@
2002-08-08 Kevin Buettner <kevinb@redhat.com>
* doublest.c (store_floating): Avoid floatformat_from_doublest()
assertion failure by returning early after a warning.
2002-08-08 Kevin Buettner <kevinb@redhat.com>
* mips-tdep.c (mips_find_saved_regs): Make static.

1
gdb/doublest.c

@ -681,6 +681,7 @@ store_floating (void *addr, int len, DOUBLEST val)
{
warning ("Can't store a floating-point number of %d bytes.", len);
memset (addr, 0, len);
return;
}
floatformat_from_doublest (fmt, &val, addr);

Loading…
Cancel
Save