|
GDB (xrefs)
|
#include "expression.h"Go to the source code of this file.
Functions | |
| bool | target_float_is_valid (const gdb_byte *addr, const struct type *type) |
| bool | target_float_is_zero (const gdb_byte *addr, const struct type *type) |
| std::string | target_float_to_string (const gdb_byte *addr, const struct type *type, const char *format=nullptr) |
| bool | target_float_from_string (gdb_byte *addr, const struct type *type, const std::string &string) |
| LONGEST | target_float_to_longest (const gdb_byte *addr, const struct type *type) |
| void | target_float_from_longest (gdb_byte *addr, const struct type *type, LONGEST val) |
| void | target_float_from_ulongest (gdb_byte *addr, const struct type *type, ULONGEST val) |
| double | target_float_to_host_double (const gdb_byte *addr, const struct type *type) |
| void | target_float_from_host_double (gdb_byte *addr, const struct type *type, double val) |
| void | target_float_convert (const gdb_byte *from, const struct type *from_type, gdb_byte *to, const struct type *to_type) |
| void | target_float_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) |
| int | target_float_compare (const gdb_byte *x, const struct type *type_x, const gdb_byte *y, const struct type *type_y) |
| void target_float_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 | ||
| ) |
Definition at line 2464 of file target-float.c.
References target_float_ops::binop(), gdb_assert, get_target_float_ops(), and target_float_same_category_p().
Referenced by scalar_binop().
| int target_float_compare | ( | const gdb_byte * | x, |
| const struct type * | type_x, | ||
| const gdb_byte * | y, | ||
| const struct type * | type_y | ||
| ) |
Definition at line 2484 of file target-float.c.
References target_float_ops::compare(), gdb_assert, get_target_float_ops(), and target_float_same_category_p().
Referenced by value_equal(), and value_less().
| void target_float_convert | ( | const gdb_byte * | from, |
| const struct type * | from_type, | ||
| gdb_byte * | to, | ||
| const struct type * | to_type | ||
| ) |
Definition at line 2429 of file target-float.c.
References target_float_ops::convert(), get_target_float_ops(), memset(), string, target_float_format_length(), target_float_from_string(), target_float_same_category_p(), target_float_same_format_p(), target_float_to_string(), and TYPE_LENGTH.
Referenced by arm_extract_return_value(), arm_store_return_value(), do_ppc_sysv_return_value(), i386_extract_return_value(), i386_store_return_value(), i387_register_to_value(), i387_value_to_register(), ia64_extract_return_value(), ia64_push_dummy_call(), ia64_register_to_value(), ia64_store_return_value(), ia64_value_to_register(), m68k_register_to_value(), m68k_svr4_extract_return_value(), m68k_svr4_store_return_value(), m68k_value_to_register(), ppc64_sysv_abi_push_freg(), ppc64_sysv_abi_return_value_base(), ppc_sysv_abi_push_dummy_call(), rs6000_lynx178_push_dummy_call(), rs6000_lynx178_return_value(), rs6000_push_dummy_call(), rs6000_register_to_value(), rs6000_return_value(), rs6000_value_to_register(), sh64_extract_return_value(), sh64_register_convert_to_raw(), sh64_register_convert_to_virtual(), sh_register_convert_to_raw(), sh_register_convert_to_virtual(), and value_cast().
Definition at line 2418 of file target-float.c.
References target_float_ops::from_host_double(), and get_target_float_ops().
Referenced by convert_value_from_python(), gdbscm_value_to_real(), vlscm_convert_number(), and vlscm_convert_typed_number().
Definition at line 2388 of file target-float.c.
References target_float_ops::from_longest(), and get_target_float_ops().
Referenced by pack_long(), and value_args_as_target_float().
| bool target_float_from_string | ( | gdb_byte * | addr, |
| const struct type * | type, | ||
| const std::string & | string | ||
| ) |
Definition at line 2369 of file target-float.c.
References target_float_ops::from_string(), and get_target_float_ops().
Referenced by define_symbol(), parse_float(), and target_float_convert().
Definition at line 2398 of file target-float.c.
References target_float_ops::from_ulongest(), and get_target_float_ops().
Referenced by pack_unsigned_long(), and value_args_as_target_float().
Definition at line 2305 of file target-float.c.
References floatformat_from_type(), gdb_assert_not_reached, TYPE_CODE, TYPE_CODE_DECFLOAT, and TYPE_CODE_FLT.
Referenced by is_floating_value().
Definition at line 2319 of file target-float.c.
References decimal_is_zero(), float_zero, floatformat_classify(), floatformat_from_type(), gdb_assert_not_reached, TYPE_CODE, TYPE_CODE_DECFLOAT, and TYPE_CODE_FLT.
Referenced by valpy_nonzero(), and value_logical_not().
Definition at line 2408 of file target-float.c.
References get_target_float_ops(), and target_float_ops::to_host_double().
Referenced by gdbscm_value_to_real(), and valpy_float().
Definition at line 2379 of file target-float.c.
References get_target_float_ops(), and target_float_ops::to_longest().
Referenced by unpack_long().
| std::string target_float_to_string | ( | const gdb_byte * | addr, |
| const struct type * | type, | ||
| const char * | format = nullptr |
||
| ) |
Definition at line 2334 of file target-float.c.
References float_infinite, float_nan, floatformat_classify(), floatformat_from_type(), floatformat_is_negative(), floatformat_mantissa(), get_target_float_ops(), string_printf(), target_float_ops::to_string(), TYPE_CODE, and TYPE_CODE_FLT.
Referenced by ada_val_print_num(), mips_print_fp_register(), print_fixed_point_type(), print_floating(), print_i387_value(), printf_floating(), sh64_do_fp_register(), and target_float_convert().
1.8.14