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 1163 of file target-float.c.
|
overridevirtual |
Implements target_float_ops.
Definition at line 1648 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 1700 of file target-float.c.
References from_target(), and mpfr_float_ops::gdb_mpfr::val.
|
overridevirtual |
Implements target_float_ops.
Definition at line 1632 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 1619 of file target-float.c.
References to_target(), and mpfr_float_ops::gdb_mpfr::val.
|
overridevirtual |
Implements target_float_ops.
Definition at line 1584 of file target-float.c.
References to_target(), and mpfr_float_ops::gdb_mpfr::val.
|
overridevirtual |
Implements target_float_ops.
Definition at line 1553 of file target-float.c.
References to_target(), and mpfr_float_ops::gdb_mpfr::val.
|
private |
Definition at line 1230 of file target-float.c.
References float_infinite, float_nan, FLOATFORMAT_CHAR_BIT, floatformat_classify(), floatformat_is_negative(), FLOATFORMAT_LARGEST_BYTES, floatformat_normalize_byteorder(), from_target(), get_field(), and mpfr_float_ops::gdb_mpfr::val.
Referenced by binop(), compare(), convert(), from_target(), from_target(), to_host_double(), to_longest(), and to_string().
|
private |
Definition at line 1338 of file target-float.c.
References floatformat_from_type(), and from_target().
|
overridevirtual |
Implements target_float_ops.
Definition at line 1596 of file target-float.c.
References to_target(), and mpfr_float_ops::gdb_mpfr::val.
|
overridevirtual |
Implements target_float_ops.
Definition at line 1608 of file target-float.c.
References from_target(), and mpfr_float_ops::gdb_mpfr::val.
|
overridevirtual |
Implements target_float_ops.
Definition at line 1573 of file target-float.c.
References from_target(), and mpfr_float_ops::gdb_mpfr::val.
|
overridevirtual |
Implements target_float_ops.
Definition at line 1508 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, and mpfr_float_ops::gdb_mpfr::val.
|
private |
Definition at line 1345 of file target-float.c.
References FLOATFORMAT_CHAR_BIT, FLOATFORMAT_LARGEST_BYTES, floatformat_normalize_byteorder(), floatformat_totalsize_bytes(), put_field(), to_target(), and mpfr_float_ops::gdb_mpfr::val.
|
private |
Definition at line 1496 of file target-float.c.
References floatformat_from_type(), type::length(), and to_target().
Referenced by binop(), convert(), from_host_double(), from_longest(), from_string(), from_ulongest(), to_target(), and to_target().