diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/doublest.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d567072..496d06f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 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. (mips_frame_init_saved_regs): New function. (mips_gdbarch_init): Setup FRAME_INIT_SAVED_REGS method. diff --git a/gdb/doublest.c b/gdb/doublest.c index a4b4b76..6e96d78 100644 --- a/gdb/doublest.c +++ b/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); |