mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-09 17:15:25 +08:00
* values.c (unpack_double): Call floatformat_is_valid.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2003-09-15 Daniel Jacobowitz <drow@mvista.com>
|
||||||
|
|
||||||
|
* values.c (unpack_double): Call floatformat_is_valid.
|
||||||
|
|
||||||
2003-09-15 Mark Kettenis <kettenis@gnu.org>
|
2003-09-15 Mark Kettenis <kettenis@gnu.org>
|
||||||
|
|
||||||
* amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Change type of
|
* amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Change type of
|
||||||
|
@ -739,7 +739,14 @@ unpack_double (struct type *type, const char *valaddr, int *invp)
|
|||||||
also not defined either. Oops!
|
also not defined either. Oops!
|
||||||
|
|
||||||
Hopefully someone will add both the missing floatformat
|
Hopefully someone will add both the missing floatformat
|
||||||
definitions and floatformat_is_invalid() function. */
|
definitions and the new cases for floatformat_is_valid (). */
|
||||||
|
|
||||||
|
if (!floatformat_is_valid (floatformat_from_type (type), valaddr))
|
||||||
|
{
|
||||||
|
*invp = 1;
|
||||||
|
return 0.0;
|
||||||
|
}
|
||||||
|
|
||||||
return extract_typed_floating (valaddr, type);
|
return extract_typed_floating (valaddr, type);
|
||||||
}
|
}
|
||||||
else if (nosign)
|
else if (nosign)
|
||||||
|
Reference in New Issue
Block a user