GDB (xrefs)
|
#include "defs.h"
#include "gdb_obstack.h"
#include "symtab.h"
#include "gdbtypes.h"
#include "expression.h"
#include "value.h"
#include "command.h"
#include "gdbcmd.h"
#include "gdbcore.h"
#include "demangle.h"
#include "valprint.h"
#include "typeprint.h"
#include "language.h"
#include "target.h"
#include "annotate.h"
#include "p-lang.h"
#include "cp-abi.h"
#include "cp-support.h"
#include "objfiles.h"
Go to the source code of this file.
Variables | |
static const struct generic_val_print_decorations | p_decorations |
static struct obstack | dont_print_vb_obstack |
static struct obstack | dont_print_statmem_obstack |
const char | pascal_vtbl_ptr_name [] |
initialize_file_ftype | _initialize_pascal_valprint |
void _initialize_pascal_valprint | ( | void | ) |
Definition at line 894 of file p-valprint.c.
References _, add_setshow_boolean_cmd(), class_support, value_print_options::pascal_static_field_print, setprintlist, show_pascal_static_field_print(), showprintlist, and user_print_options.
Definition at line 496 of file p-valprint.c.
References pascal_object_is_vtbl_ptr_type(), TYPE_CODE, TYPE_CODE_ARRAY, TYPE_CODE_PTR, TYPE_CODE_STRUCT, and TYPE_TARGET_TYPE.
Referenced by pascal_val_print().
Definition at line 484 of file p-valprint.c.
References pascal_vtbl_ptr_name, and type_name_no_tag().
Referenced by pascal_object_is_vtbl_member(), and pascal_val_print().
|
static |
Definition at line 836 of file p-valprint.c.
References CHECK_TYPEDEF, common_val_print(), current_language, value_print_options::deref_ref, dont_print_statmem_obstack, fputs_filtered(), pascal_object_print_value_fields(), TYPE_CODE, TYPE_CODE_STRUCT, val_print_optimized_out(), value_address(), value_contents_for_printing(), value_embedded_offset(), value_entirely_optimized_out(), and value_type().
Referenced by pascal_object_print_value_fields().
|
static |
Definition at line 699 of file p-valprint.c.
References baseclass_offset(), BASETYPE_VIA_VIRTUAL, CATCH, check_typedef(), do_cleanups(), dont_print_vb_obstack, END_CATCH, fprintf_filtered(), fputs_filtered(), make_cleanup(), NOT_AVAILABLE_ERROR, offset, pascal_object_print_value_fields(), value_print_options::prettyformat, print_spaces_filtered(), RETURN_MASK_ERROR, target_read_memory(), TRY, TYPE_BASECLASS, TYPE_LENGTH, TYPE_N_BASECLASSES, type_name_no_tag(), val_print_invalid_address(), val_print_unavailable(), xfree(), and xmalloc().
Referenced by pascal_object_print_value_fields().
void pascal_object_print_value_fields | ( | struct type * | type, |
const gdb_byte * | valaddr, | ||
int | offset, | ||
CORE_ADDR | address, | ||
struct ui_file * | stream, | ||
int | recurse, | ||
const struct value * | val, | ||
const struct value_print_options * | options, | ||
struct type ** | dont_print_vb, | ||
int | dont_print_statmem | ||
) |
Definition at line 528 of file p-valprint.c.
References _, annotate_field_begin(), annotate_field_end(), annotate_field_name_end(), annotate_field_value(), CHECK_TYPEDEF, common_val_print(), current_language, value_print_options::deref_ref, dont_print_statmem_obstack, field_is_static(), fprintf_filtered(), fprintf_symbol_filtered(), fputs_filtered(), language_cplus, len, n_spaces(), pascal_object_print_static_field(), pascal_object_print_value(), value_print_options::pascal_static_field_print, value_print_options::prettyformat, print_spaces_filtered(), TYPE_FIELD, TYPE_FIELD_BITPOS, TYPE_FIELD_BITSIZE, TYPE_FIELD_IGNORE, TYPE_FIELD_NAME, TYPE_FIELD_PACKED, TYPE_FIELD_TYPE, TYPE_N_BASECLASSES, type_name_no_tag(), TYPE_NFIELDS, val_print(), val_print_optimized_out(), value_bits_synthetic_pointer(), value_field_bitfield(), and wrap_here().
Referenced by pascal_object_print_static_field(), pascal_object_print_value(), and pascal_val_print().
void pascal_val_print | ( | struct type * | type, |
const gdb_byte * | valaddr, | ||
int | embedded_offset, | ||
CORE_ADDR | address, | ||
struct ui_file * | stream, | ||
int | recurse, | ||
const struct value * | original_value, | ||
const struct value_print_options * | options | ||
) |
Definition at line 59 of file p-valprint.c.
References _, value_print_options::addressprint, BMSYMBOL_VALUE_ADDRESS, gdbarch::byte_order, CHECK_TYPEDEF, check_typedef(), common_val_print(), current_language, demangle, error(), extract_unsigned_integer(), value_print_options::format, fprintf_filtered(), fputs_filtered(), gdb_flush(), gdbarch_byte_order(), generic_val_print(), get_array_bounds(), get_discrete_bounds(), get_type_arch(), is_pascal_string_type(), LA_PRINT_STRING, len, lookup_minimal_symbol_by_pc(), lookup_symbol(), bound_minimal_symbol::minsym, MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, paddress(), pascal_object_is_vtbl_member(), pascal_object_is_vtbl_ptr_type(), pascal_object_print_value_fields(), value_print_options::prettyformat, value_print_options::prettyformat_arrays, print_address_demangle(), value_print_options::print_max, print_spaces_filtered(), print_type_scalar(), print_unpacked_pointer(), read_memory(), value_print_options::stop_print_at_null, value_print_options::symbol_print, SYMBOL_TYPE, TARGET_CHAR_BIT, TYPE_CODE, TYPE_CODE_ARRAY, TYPE_CODE_BOOL, TYPE_CODE_CHAR, TYPE_CODE_ENUM, TYPE_CODE_ERROR, TYPE_CODE_FLAGS, TYPE_CODE_FLT, TYPE_CODE_FUNC, TYPE_CODE_INT, TYPE_CODE_PTR, TYPE_CODE_RANGE, TYPE_CODE_REF, TYPE_CODE_SET, TYPE_CODE_STRUCT, TYPE_CODE_UNDEF, TYPE_CODE_UNION, TYPE_CODE_VOID, TYPE_FIELD_BITPOS, TYPE_FIELD_TYPE, TYPE_HIGH_BOUND, TYPE_INDEX_TYPE, TYPE_LENGTH, TYPE_STUB, TYPE_TARGET_TYPE, value_print_options::unionprint, unpack_pointer(), val_print_array_elements(), val_print_scalar_formatted(), val_print_string(), value_at(), value_bit_index(), VAR_DOMAIN, VTBL_FNADDR_OFFSET, value_print_options::vtblprint, xfree(), and xmalloc().
void pascal_value_print | ( | struct value * | val, |
struct ui_file * | stream, | ||
const struct value_print_options * | options | ||
) |
Definition at line 417 of file p-valprint.c.
References common_val_print(), current_language, value_print_options::deref_ref, fprintf_filtered(), TYPE_CODE, TYPE_CODE_PTR, TYPE_CODE_REF, TYPE_NAME, type_print(), TYPE_TARGET_TYPE, and value_type().
|
static |
Definition at line 455 of file p-valprint.c.
References _, and fprintf_filtered().
Referenced by _initialize_pascal_valprint().
initialize_file_ftype _initialize_pascal_valprint |
|
static |
Definition at line 463 of file p-valprint.c.
Referenced by pascal_object_print_static_field(), and pascal_object_print_value_fields().
|
static |
Definition at line 462 of file p-valprint.c.
Referenced by pascal_object_print_value().
|
static |
Definition at line 45 of file p-valprint.c.
const char pascal_vtbl_ptr_name[] |
Definition at line 477 of file p-valprint.c.
Referenced by pascal_object_is_vtbl_ptr_type().