|
GDB (xrefs)
|
Classes | |
| class | gdb_mpfr |
Public Member Functions | |
| std::string | to_string (const gdb_byte *addr, const struct type *type, const char *format) const override |
| bool | from_string (gdb_byte *addr, const struct type *type, const std::string &string) const override |
| LONGEST | to_longest (const gdb_byte *addr, const struct type *type) const override |
| void | from_longest (gdb_byte *addr, const struct type *type, LONGEST val) const override |
| void | from_ulongest (gdb_byte *addr, const struct type *type, ULONGEST val) const override |
| double | to_host_double (const gdb_byte *addr, const struct type *type) const override |
| void | from_host_double (gdb_byte *addr, const struct type *type, double val) const override |
| void | convert (const gdb_byte *from, const struct type *from_type, gdb_byte *to, const struct type *to_type) const override |
| void | binop (enum exp_opcode opcode, const gdb_byte *x, const struct type *type_x, const gdb_byte *y, const struct type *type_y, gdb_byte *res, const struct type *type_res) const override |
| int | compare (const gdb_byte *x, const struct type *type_x, const gdb_byte *y, const struct type *type_y) const override |
Private Member Functions | |
| void | from_target (const struct floatformat *fmt, const gdb_byte *from, gdb_mpfr &to) const |
| void | from_target (const struct type *type, const gdb_byte *from, gdb_mpfr &to) const |
| void | to_target (const struct type *type, const gdb_mpfr &from, gdb_byte *to) const |
| void | to_target (const struct floatformat *fmt, const gdb_mpfr &from, gdb_byte *to) const |
Definition at line 1154 of file target-float.c.
|
overridevirtual |
Implements target_float_ops.
Definition at line 1639 of file target-float.c.
References _, error(), from_target(), to_target(), and mpfr_float_ops::gdb_mpfr::val.
|
overridevirtual |
Implements target_float_ops.
Definition at line 1691 of file target-float.c.
References from_target(), and mpfr_float_ops::gdb_mpfr::val.
|
overridevirtual |
Implements target_float_ops.
Definition at line 1623 of file target-float.c.
References from_target(), to_target(), and mpfr_float_ops::gdb_mpfr::val.
|
overridevirtual |
Implements target_float_ops.
Definition at line 1610 of file target-float.c.
References to_target(), and mpfr_float_ops::gdb_mpfr::val.
|
overridevirtual |
Implements target_float_ops.
Definition at line 1575 of file target-float.c.
References to_target(), and mpfr_float_ops::gdb_mpfr::val.
|
overridevirtual |
Implements target_float_ops.
Definition at line 1544 of file target-float.c.
References to_target(), and mpfr_float_ops::gdb_mpfr::val.
|
private |
Definition at line 1221 of file target-float.c.
References float_infinite, float_nan, FLOATFORMAT_CHAR_BIT, floatformat_classify(), floatformat_is_negative(), FLOATFORMAT_LARGEST_BYTES, floatformat_normalize_byteorder(), gdb_assert, get_field(), and mpfr_float_ops::gdb_mpfr::val.
Referenced by binop(), compare(), convert(), from_target(), to_host_double(), to_longest(), and to_string().
|
private |
Definition at line 1329 of file target-float.c.
References floatformat_from_type(), and from_target().
|
overridevirtual |
Implements target_float_ops.
Definition at line 1587 of file target-float.c.
References to_target(), and mpfr_float_ops::gdb_mpfr::val.
|
overridevirtual |
Implements target_float_ops.
Definition at line 1599 of file target-float.c.
References from_target(), and mpfr_float_ops::gdb_mpfr::val.
|
overridevirtual |
Implements target_float_ops.
Definition at line 1564 of file target-float.c.
References from_target(), and mpfr_float_ops::gdb_mpfr::val.
|
overridevirtual |
Implements target_float_ops.
Definition at line 1499 of file target-float.c.
References float_infinite, float_nan, floatformat_classify(), floatformat_from_type(), floatformat_is_negative(), floatformat_mantissa(), floatformat_printf_format(), from_target(), size, string, string_printf(), and mpfr_float_ops::gdb_mpfr::val.
|
private |
Definition at line 1487 of file target-float.c.
References floatformat_from_type(), memset(), and TYPE_LENGTH.
Referenced by binop(), convert(), from_host_double(), from_longest(), from_string(), from_ulongest(), and to_target().
|
private |
Definition at line 1336 of file target-float.c.
References FLOATFORMAT_CHAR_BIT, FLOATFORMAT_LARGEST_BYTES, floatformat_normalize_byteorder(), floatformat_totalsize_bytes(), L, memset(), put_field(), to_target(), and mpfr_float_ops::gdb_mpfr::val.
1.8.14