diff options
author | Kevin Buettner <kevinb@redhat.com> | 2002-08-09 00:45:10 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2002-08-09 00:45:10 +0000 |
commit | b30590dca40a659df9fa21c7db85e596639b446a (patch) | |
tree | 36f5ed04037ed5507feea6344be4e50cf19edfab /gdb/doublest.c | |
parent | 2bbd9c2554941f95f8f58d8c61dd234e421d074c (diff) | |
download | gdb-b30590dca40a659df9fa21c7db85e596639b446a.zip gdb-b30590dca40a659df9fa21c7db85e596639b446a.tar.gz gdb-b30590dca40a659df9fa21c7db85e596639b446a.tar.bz2 |
* doublest.c (store_floating): Avoid floatformat_from_doublest()
assertion failure by returning early after a warning.
Diffstat (limited to 'gdb/doublest.c')
-rw-r--r-- | gdb/doublest.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |