GDB (xrefs)
|
Go to the source code of this file.
Defines | |
#define | MAX_DECIMAL_STRING 43 |
Functions | |
void | decimal_to_string (const gdb_byte *, int, enum bfd_endian, char *) |
int | decimal_from_string (gdb_byte *, int, enum bfd_endian, const char *) |
void | decimal_from_integral (struct value *from, gdb_byte *to, int len, enum bfd_endian byte_order) |
void | decimal_from_floating (struct value *from, gdb_byte *to, int len, enum bfd_endian byte_order) |
DOUBLEST | decimal_to_doublest (const gdb_byte *from, int len, enum bfd_endian byte_order) |
void | decimal_binop (enum exp_opcode, const gdb_byte *, int, enum bfd_endian, const gdb_byte *, int, enum bfd_endian, gdb_byte *, int, enum bfd_endian) |
int | decimal_is_zero (const gdb_byte *, int, enum bfd_endian) |
int | decimal_compare (const gdb_byte *, int, enum bfd_endian, const gdb_byte *, int, enum bfd_endian) |
void | decimal_convert (const gdb_byte *, int, enum bfd_endian, gdb_byte *, int, enum bfd_endian) |
#define MAX_DECIMAL_STRING 43 |
Definition at line 30 of file dfp.h.
Referenced by decimal_to_doublest(), print_decimal_floating(), and printf_decfloat().
void decimal_binop | ( | enum | exp_opcode, |
const gdb_byte * | , | ||
int | , | ||
enum | bfd_endian, | ||
const gdb_byte * | , | ||
int | , | ||
enum | bfd_endian, | ||
gdb_byte * | , | ||
int | , | ||
enum | bfd_endian | ||
) |
Definition at line 269 of file dfp.c.
References _, decimal_check_errors(), decimal_from_number(), decimal_to_number(), internal_error(), match_endianness(), and set_decnumber_context().
Referenced by scalar_binop().
int decimal_compare | ( | const gdb_byte * | , |
int | , | ||
enum | bfd_endian, | ||
const gdb_byte * | , | ||
int | , | ||
enum | bfd_endian | ||
) |
Definition at line 335 of file dfp.c.
References _, decimal_check_errors(), decimal_to_number(), error(), match_endianness(), and set_decnumber_context().
Referenced by value_equal(), and value_less().
void decimal_convert | ( | const gdb_byte * | , |
int | , | ||
enum | bfd_endian, | ||
gdb_byte * | , | ||
int | , | ||
enum | bfd_endian | ||
) |
Definition at line 371 of file dfp.c.
References decimal_from_number(), decimal_to_number(), and match_endianness().
Referenced by printf_decfloat(), and value_cast().
void decimal_from_floating | ( | struct value * | from, |
gdb_byte * | to, | ||
int | len, | ||
enum bfd_endian | byte_order | ||
) |
Definition at line 241 of file dfp.c.
References decimal_from_string(), DOUBLEST_PRINT_FORMAT, value_as_double(), xfree(), and xstrprintf().
Referenced by value_cast().
void decimal_from_integral | ( | struct value * | from, |
gdb_byte * | to, | ||
int | len, | ||
enum bfd_endian | byte_order | ||
) |
Definition at line 209 of file dfp.c.
References _, check_typedef(), decimal_from_number(), error(), LONGEST, match_endianness(), type, TYPE_LENGTH, TYPE_UNSIGNED, value_as_long(), and value_type().
Referenced by value_args_as_decimal(), and value_cast().
int decimal_from_string | ( | gdb_byte * | , |
int | , | ||
enum | bfd_endian, | ||
const char * | |||
) |
Definition at line 174 of file dfp.c.
References _, decimal_check_errors(), error(), match_endianness(), and set_decnumber_context().
Referenced by decimal_from_floating(), parse_number(), printf_decfloat(), and value_one().
int decimal_is_zero | ( | const gdb_byte * | , |
int | , | ||
enum | bfd_endian | ||
) |
Definition at line 320 of file dfp.c.
References decimal_to_number(), and match_endianness().
Referenced by value_logical_not().
DOUBLEST decimal_to_doublest | ( | const gdb_byte * | from, |
int | len, | ||
enum bfd_endian | byte_order | ||
) |
Definition at line 255 of file dfp.c.
References decimal_to_string(), and MAX_DECIMAL_STRING.
Referenced by unpack_double(), and unpack_long().
void decimal_to_string | ( | const gdb_byte * | , |
int | , | ||
enum | bfd_endian, | ||
char * | |||
) |
Definition at line 146 of file dfp.c.
References _, error(), and match_endianness().
Referenced by decimal_to_doublest(), print_decimal_floating(), and printf_decfloat().