GDB (xrefs)
Loading...
Searching...
No Matches
Classes | Public Member Functions | Private Member Functions | List of all members
mpfr_float_ops Class Reference
Inheritance diagram for mpfr_float_ops:
target_float_ops

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
 

Detailed Description

Definition at line 1163 of file target-float.c.

Member Function Documentation

◆ binop()

void mpfr_float_ops::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
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.

◆ compare()

int mpfr_float_ops::compare ( const gdb_byte * x,
const struct type * type_x,
const gdb_byte * y,
const struct type * type_y ) const
overridevirtual

Implements target_float_ops.

Definition at line 1700 of file target-float.c.

References from_target(), and mpfr_float_ops::gdb_mpfr::val.

◆ convert()

void mpfr_float_ops::convert ( const gdb_byte * from,
const struct type * from_type,
gdb_byte * to,
const struct type * to_type ) const
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.

◆ from_host_double()

void mpfr_float_ops::from_host_double ( gdb_byte * addr,
const struct type * type,
double val ) const
overridevirtual

Implements target_float_ops.

Definition at line 1619 of file target-float.c.

References to_target(), and mpfr_float_ops::gdb_mpfr::val.

◆ from_longest()

void mpfr_float_ops::from_longest ( gdb_byte * addr,
const struct type * type,
LONGEST val ) const
overridevirtual

Implements target_float_ops.

Definition at line 1584 of file target-float.c.

References to_target(), and mpfr_float_ops::gdb_mpfr::val.

◆ from_string()

bool mpfr_float_ops::from_string ( gdb_byte * addr,
const struct type * type,
const std::string & string ) const
overridevirtual

Implements target_float_ops.

Definition at line 1553 of file target-float.c.

References to_target(), and mpfr_float_ops::gdb_mpfr::val.

◆ from_target() [1/2]

void mpfr_float_ops::from_target ( const struct floatformat * fmt,
const gdb_byte * from,
gdb_mpfr & to ) const
private

◆ from_target() [2/2]

void mpfr_float_ops::from_target ( const struct type * type,
const gdb_byte * from,
gdb_mpfr & to ) const
private

Definition at line 1338 of file target-float.c.

References floatformat_from_type(), and from_target().

◆ from_ulongest()

void mpfr_float_ops::from_ulongest ( gdb_byte * addr,
const struct type * type,
ULONGEST val ) const
overridevirtual

Implements target_float_ops.

Definition at line 1596 of file target-float.c.

References to_target(), and mpfr_float_ops::gdb_mpfr::val.

◆ to_host_double()

double mpfr_float_ops::to_host_double ( const gdb_byte * addr,
const struct type * type ) const
overridevirtual

Implements target_float_ops.

Definition at line 1608 of file target-float.c.

References from_target(), and mpfr_float_ops::gdb_mpfr::val.

◆ to_longest()

LONGEST mpfr_float_ops::to_longest ( const gdb_byte * addr,
const struct type * type ) const
overridevirtual

Implements target_float_ops.

Definition at line 1573 of file target-float.c.

References from_target(), and mpfr_float_ops::gdb_mpfr::val.

◆ to_string()

std::string mpfr_float_ops::to_string ( const gdb_byte * addr,
const struct type * type,
const char * format ) const
overridevirtual

◆ to_target() [1/2]

void mpfr_float_ops::to_target ( const struct floatformat * fmt,
const gdb_mpfr & from,
gdb_byte * to ) const
private

◆ to_target() [2/2]

void mpfr_float_ops::to_target ( const struct type * type,
const gdb_mpfr & from,
gdb_byte * to ) const
private

The documentation for this class was generated from the following file: