GDB (xrefs)
|
#include "gmp-utils.h"
Public Member Functions | |
gdb_mpq () | |
gdb_mpq (const mpq_t &from_val) | |
gdb_mpq (const gdb_mpq &from) | |
gdb_mpq (gdb_mpq &&from) | |
gdb_mpq & | operator= (const gdb_mpq &from) |
gdb_mpq & | operator= (gdb_mpq &&from) |
std::string | str () const |
gdb_mpz | get_rounded () const |
void | read_fixed_point (gdb::array_view< const gdb_byte > buf, enum bfd_endian byte_order, bool unsigned_p, const gdb_mpq &scaling_factor) |
void | write_fixed_point (gdb::array_view< gdb_byte > buf, enum bfd_endian byte_order, bool unsigned_p, const gdb_mpq &scaling_factor) const |
~gdb_mpq () | |
Public Attributes | |
mpq_t | val |
Definition at line 146 of file gmp-utils.h.
|
inline |
Definition at line 151 of file gmp-utils.h.
References val.
|
inlineexplicit |
Definition at line 153 of file gmp-utils.h.
References val.
|
inline |
Definition at line 159 of file gmp-utils.h.
References val.
|
inlineexplicit |
Definition at line 165 of file gmp-utils.h.
References val.
|
inline |
Definition at line 214 of file gmp-utils.h.
References val.
gdb_mpz gdb_mpq::get_rounded | ( | ) | const |
Definition at line 159 of file gmp-utils.c.
References gdb_mpz::val, and val.
Referenced by value_cast_to_fixed_point(), and write_fixed_point().
Definition at line 172 of file gmp-utils.h.
References val.
Definition at line 178 of file gmp-utils.h.
References val.
void gdb_mpq::read_fixed_point | ( | gdb::array_view< const gdb_byte > | buf, |
enum bfd_endian | byte_order, | ||
bool | unsigned_p, | ||
const gdb_mpq & | scaling_factor | ||
) |
Definition at line 192 of file gmp-utils.c.
References gdb_mpz::read(), gdb_mpz::val, and val.
Referenced by fixed_point_binop(), gdb_mpf::read_fixed_point(), selftests::read_fp_test(), unpack_long(), and value_cast().
|
inline |
Definition at line 185 of file gmp-utils.h.
References gmp_string_printf(), and val.
Referenced by print_fixed_point_type_info(), and print_type_fixed_point().
void gdb_mpq::write_fixed_point | ( | gdb::array_view< gdb_byte > | buf, |
enum bfd_endian | byte_order, | ||
bool | unsigned_p, | ||
const gdb_mpq & | scaling_factor | ||
) | const |
Definition at line 206 of file gmp-utils.c.
References get_rounded(), val, and gdb_mpz::write().
Referenced by selftests::write_fp_test().
mpq_t gdb_mpq::val |
Definition at line 148 of file gmp-utils.h.
Referenced by gdb.printing._EnumInstance::__init__(), gdb.FrameDecorator.SymValueWrapper::__init__(), gdb.printer.bound_registers.MpxBound128Printer::__init__(), gdb-gdb.TypeFlagsPrinter::__str__(), gdb-gdb.StructMainTypePrettyPrinter::bound_img(), gdb-gdb.StructMainTypePrettyPrinter::bounds_img(), finish_fixed_point_type(), fixed_point_binop(), gdb-gdb.StructMainTypePrettyPrinter::flags_to_string(), gdb_mpq(), gdb_mpq(), gdb_mpq(), gdb_mpq(), selftests::gdb_mpq_read_fixed_point(), selftests::gdb_mpq_write_fixed_point(), get_rounded(), operator=(), operator=(), gdb-gdb.StructMainTypePrettyPrinter::owner_to_string(), read_fixed_point(), gdb_mpf::read_fixed_point(), selftests::read_fp_test(), str(), gdb-gdb.StructMainTypePrettyPrinter::struct_field_img(), gdb.printer.bound_registers.MpxBound128Printer::to_string(), gdb.printing._EnumInstance::to_string(), gdb-gdb.StructTypePrettyPrinter::to_string(), gdb-gdb.StructMainTypePrettyPrinter::to_string(), gdb-gdb.StructMainTypePrettyPrinter::type_specific_img(), unpack_long(), gdb.FrameDecorator.SymValueWrapper::value(), value_cast(), value_cast_to_fixed_point(), value_to_gdb_mpq(), write_fixed_point(), selftests::write_fp_test(), and ~gdb_mpq().