GDB (xrefs)
|
#include "defs.h"
#include "frame.h"
#include "symtab.h"
#include "gdbtypes.h"
#include "value.h"
#include "language.h"
#include "c-lang.h"
#include "expression.h"
#include "gdbcore.h"
#include "gdbcmd.h"
#include "target.h"
#include "breakpoint.h"
#include "demangle.h"
#include "gdb-demangle.h"
#include "valprint.h"
#include "annotate.h"
#include "symfile.h"
#include "objfiles.h"
#include "completer.h"
#include "ui-out.h"
#include "block.h"
#include "disasm.h"
#include "target-float.h"
#include "observable.h"
#include "solist.h"
#include "parser-defs.h"
#include "charset.h"
#include "arch-utils.h"
#include "cli/cli-utils.h"
#include "cli/cli-option.h"
#include "cli/cli-script.h"
#include "cli/cli-style.h"
#include "gdbsupport/format.h"
#include "source.h"
#include "gdbsupport/byte-vector.h"
#include "gdbsupport/gdb_optional.h"
#include "gdbsupport/gdb-safe-ctype.h"
#include "gdbsupport/rsp-low.h"
Go to the source code of this file.
Classes | |
struct | display |
Functions | |
static void | show_max_symbolic_offset (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value) |
static void | show_print_symbol_filename (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value) |
static void | do_one_display (struct display *) |
static struct format_data | decode_format (const char **string_ptr, int oformat, int osize) |
static void | print_formatted (struct value *val, int size, const struct value_print_options *options, struct ui_file *stream) |
static struct type * | float_type_from_length (struct type *type) |
void | print_scalar_formatted (const gdb_byte *valaddr, struct type *type, const struct value_print_options *options, int size, struct ui_file *stream) |
void | set_next_address (struct gdbarch *gdbarch, CORE_ADDR addr) |
int | print_address_symbolic (struct gdbarch *gdbarch, CORE_ADDR addr, struct ui_file *stream, int do_demangle, const char *leadin) |
int | build_address_symbolic (struct gdbarch *gdbarch, CORE_ADDR addr, bool do_demangle, bool prefer_sym_over_minsym, std::string *name, int *offset, std::string *filename, int *line, int *unmapped) |
void | print_address (struct gdbarch *gdbarch, CORE_ADDR addr, struct ui_file *stream) |
const char * | pc_prefix (CORE_ADDR addr) |
int | print_address_demangle (const struct value_print_options *opts, struct gdbarch *gdbarch, CORE_ADDR addr, struct ui_file *stream, int do_demangle) |
static CORE_ADDR | find_instruction_backward (struct gdbarch *gdbarch, CORE_ADDR addr, int inst_count, int *inst_read) |
static int | read_memory_backward (struct gdbarch *gdbarch, CORE_ADDR memaddr, gdb_byte *myaddr, int len) |
static int | integer_is_zero (const gdb_byte *x, int len) |
static CORE_ADDR | find_string_backward (struct gdbarch *gdbarch, CORE_ADDR addr, int count, int char_size, const struct value_print_options *options, int *strings_counted) |
static void | do_examine (struct format_data fmt, struct gdbarch *gdbarch, CORE_ADDR addr) |
static void | validate_format (struct format_data fmt, const char *cmdname) |
void | print_command_parse_format (const char **expp, const char *cmdname, value_print_options *opts) |
void | print_value (value *val, const value_print_options &opts) |
static bool | should_validate_memtags (struct value *value) |
static struct value * | process_print_command_args (const char *args, value_print_options *print_opts, bool voidprint) |
static void | print_command_1 (const char *args, int voidprint) |
static bool | skip_over_slash_fmt (completion_tracker &tracker, const char **args) |
void | print_command_completer (struct cmd_list_element *ignore, completion_tracker &tracker, const char *text, const char *) |
static void | print_command (const char *exp, int from_tty) |
static void | call_command (const char *exp, int from_tty) |
void | output_command (const char *exp, int from_tty) |
static void | set_command (const char *exp, int from_tty) |
static void | info_symbol_command (const char *arg, int from_tty) |
static void | info_address_command (const char *exp, int from_tty) |
static void | x_command (const char *exp, int from_tty) |
static void | display_and_x_command_completer (struct cmd_list_element *ignore, completion_tracker &tracker, const char *text, const char *) |
static void | display_command (const char *arg, int from_tty) |
void | clear_displays () |
static void | delete_display (struct display *display) |
static void | map_display_numbers (const char *args, gdb::function_view< void(struct display *)> function) |
static void | undisplay_command (const char *args, int from_tty) |
void | do_displays (void) |
void | disable_display (int num) |
void | disable_current_display (void) |
static void | info_display_command (const char *ignore, int from_tty) |
static void | enable_disable_display_command (const char *args, int from_tty, bool enable) |
static void | enable_display_command (const char *args, int from_tty) |
static void | disable_display_command (const char *args, int from_tty) |
static void | clear_dangling_display_expressions (struct objfile *objfile) |
void | print_variable_and_value (const char *name, struct symbol *var, frame_info_ptr frame, struct ui_file *stream, int indent) |
static void | printf_c_string (struct ui_file *stream, const char *format, struct value *value) |
static void | printf_wide_c_string (struct ui_file *stream, const char *format, struct value *value) |
static void | printf_floating (struct ui_file *stream, const char *format, struct value *value, enum argclass argclass) |
static void | printf_pointer (struct ui_file *stream, const char *format, struct value *value) |
static void | ui_printf (const char *arg, struct ui_file *stream) |
static void | printf_command (const char *arg, int from_tty) |
static void | eval_command (const char *arg, int from_tty) |
static void | show_addr_not_tagged (CORE_ADDR address) |
static void | show_memory_tagging_unsupported (void) |
static void | memory_tag_command (const char *arg, int from_tty) |
static void | memory_tag_print_tag_command (const char *args, enum memtag_type tag_type) |
static void | memory_tag_print_logical_tag_command (const char *args, int from_tty) |
static void | memory_tag_print_allocation_tag_command (const char *args, int from_tty) |
static void | parse_with_logical_tag_input (const char *args, struct value **val, gdb::byte_vector &tags, value_print_options *print_opts) |
static void | memory_tag_with_logical_tag_command (const char *args, int from_tty) |
static void | parse_set_allocation_tag_input (const char *args, struct value **val, size_t *length, gdb::byte_vector &tags) |
static void | memory_tag_set_allocation_tag_command (const char *args, int from_tty) |
static void | memory_tag_check_command (const char *args, int from_tty) |
void | _initialize_printcmd () |
Variables | |
static struct cmd_list_element * | memory_tag_list |
static char | last_format = 0 |
static char | last_size = 'w' |
static int | last_count |
static bool | last_print_tags = false |
static struct gdbarch * | next_gdbarch |
static CORE_ADDR | next_address |
static int | branch_delay_insns |
static CORE_ADDR | last_examine_address |
static value_ref_ptr | last_examine_value |
static unsigned int | max_symbolic_offset = UINT_MAX |
static bool | print_symbol_filename = false |
static int | current_display_number |
static int | display_number |
static std::vector< std::unique_ptr< struct display > > | all_displays |
void _initialize_printcmd | ( | ) |
Definition at line 3263 of file printcmd.c.
Referenced by initialize_all_files().
int build_address_symbolic | ( | struct gdbarch * | gdbarch, |
CORE_ADDR | addr, | ||
bool | do_demangle, | ||
bool | prefer_sym_over_minsym, | ||
std::string * | name, | ||
int * | offset, | ||
std::string * | filename, | ||
int * | line, | ||
int * | unmapped ) |
Definition at line 596 of file printcmd.c.
References obj_section::addr(), asm_demangle, block::entry_pc(), find_pc_overlay(), find_pc_sect_function(), find_pc_sect_line(), gdbarch_addr_bits_remove(), minimal_symbol::has_size(), symtab_and_line::line, general_symbol_info::linkage_name(), lookup_minimal_symbol_by_pc_section(), max_symbolic_offset, bound_minimal_symbol::minsym, mst_file_text, mst_solib_trampoline, mst_text, mst_text_gnu_ifunc, name, obj_section::offset(), overlay_debugging, overlay_mapped_address(), pc_in_unmapped_range(), general_symbol_info::print_name(), print_symbol_filename, symtab_and_line::section, minimal_symbol::size(), symbol::symbol(), symtab_and_line::symtab, symtab_to_filename_for_display(), minimal_symbol::type(), bound_minimal_symbol::value_address(), and symbol::value_block().
Referenced by gdb_pretty_print_disassembler::pretty_print_insn(), and print_address_symbolic().
|
static |
Definition at line 1473 of file printcmd.c.
References print_command_1().
|
static |
Definition at line 2356 of file printcmd.c.
References all_displays, objfile::objfile(), objfile::pspace, and objfile::separate_debug_objfile_backlink.
void clear_displays | ( | void | ) |
Definition at line 2023 of file printcmd.c.
References all_displays.
Referenced by clear_symtab_users(), and undisplay_command().
|
static |
Definition at line 191 of file printcmd.c.
References format_data::count, format_data::format, format_data::print_tags, format_data::raw, and format_data::size.
Referenced by display_command(), output_command(), print_command_parse_format(), and x_command().
|
static |
Definition at line 2031 of file printcmd.c.
References all_displays.
Referenced by undisplay_command().
void disable_current_display | ( | void | ) |
Definition at line 2274 of file printcmd.c.
References current_display_number, disable_display(), gdb_printf(), and gdb_stderr.
Referenced by normal_stop().
void disable_display | ( | int | num | ) |
Definition at line 2262 of file printcmd.c.
References all_displays, and gdb_printf().
Referenced by disable_current_display().
|
static |
Definition at line 2342 of file printcmd.c.
References enable_disable_display_command().
|
static |
Definition at line 1960 of file printcmd.c.
References advance_to_expression_complete_word_point(), expression_completer(), and skip_over_slash_fmt().
|
static |
Definition at line 1977 of file printcmd.c.
References all_displays, innermost_block_tracker::block(), format_data::count, current_program_space, decode_format(), display::display(), do_displays(), do_one_display(), dont_repeat(), display::exp, format_data::format, parse_expression(), format_data::raw, and format_data::size.
void do_displays | ( | void | ) |
Definition at line 2252 of file printcmd.c.
References all_displays, and do_one_display().
Referenced by display_command(), print_stop_event(), and tfind_1().
|
static |
Definition at line 998 of file printcmd.c.
References allocation, branch_delay_insns, builtin_type::builtin_char16, builtin_type::builtin_char32, builtin_type::builtin_int16, builtin_type::builtin_int32, builtin_type::builtin_int64, builtin_type::builtin_int8, builtin_type(), format_data::count, find_instruction_backward(), find_string_backward(), value_print_options::format, format_data::format, gdb_printf(), gdb_puts(), gdb_stdout, gdbarch_get_memtag(), gdbarch_memtag_granule_size(), gdbarch_memtag_to_string(), gdbarch_ptr_bit(), gdbarch_tagged_address_p(), get_formatted_print_options(), last_examine_address, last_examine_value, type::length(), next_address, next_gdbarch, paddress(), pc_prefix(), print_address(), print_formatted(), format_data::print_tags, QUIT, release_value(), size, format_data::size, target_gdbarch(), target_supports_memory_tagging(), value_at_lazy(), and value_from_ulongest().
Referenced by do_one_display(), and x_command().
|
static |
Definition at line 2104 of file printcmd.c.
References annotate_display_begin(), annotate_display_end(), annotate_display_expression(), annotate_display_expression_end(), annotate_display_format(), annotate_display_number_end(), annotate_display_value(), innermost_block_tracker::block(), display::block, block::contains(), format_data::count, current_display_number, current_program_space, do_examine(), display::enabled_p, display::exp, display::exp_string, display::format, format_data::format, fprintf_styled(), gdb_flush(), gdb_printf(), gdb_puts(), gdb_stdout, gdbarch_addr_bits_remove(), get_current_arch(), get_formatted_print_options(), get_selected_block(), metadata_style, display::number, parse_expression(), print_formatted(), display::pspace, ui_file_style::ptr(), format_data::raw, format_data::size, cli_style_option::style(), and value_as_address().
Referenced by display_command(), and do_displays().
|
static |
Definition at line 2315 of file printcmd.c.
References all_displays, enable, display::enabled_p, and map_display_numbers().
Referenced by disable_display_command(), and enable_display_command().
|
static |
Definition at line 2334 of file printcmd.c.
References enable_disable_display_command().
|
static |
Definition at line 2963 of file printcmd.c.
References string_file::c_str(), execute_command(), insert_user_defined_cmd_args(), and ui_printf().
|
static |
Definition at line 796 of file printcmd.c.
References find_pc_sect_line(), gdb_insn_length(), gdb_printf(), gdb_stdout, symtab_and_line::line, symtab_and_line::pc, and print_address().
Referenced by do_examine().
|
static |
Definition at line 938 of file printcmd.c.
References get_print_max_chars(), integer_is_zero(), and read_memory_backward().
Referenced by do_examine().
Definition at line 347 of file printcmd.c.
References type::arch(), builtin_type::builtin_double, builtin_type::builtin_float, builtin_type::builtin_half, builtin_type::builtin_long_double, builtin_type(), type::length(), and type.
Referenced by print_scalar_formatted(), and printf_floating().
|
static |
Definition at line 1634 of file printcmd.c.
References symbol::aclass(), address_style, objfile::arch(), symbol::arch, current_language, block::entry_pc(), fprintf_symbol(), fputs_styled(), gdb_printf(), gdb_puts(), gdb_stdout, gdbarch_register_name(), get_selected_block(), symbol::is_argument(), symbol::is_objfile_owned(), language_defn::la_language, language_objc, general_symbol_info::linkage_name(), LOC_ARG, LOC_BLOCK, LOC_COMPUTED, LOC_CONST, LOC_CONST_BYTES, LOC_LABEL, LOC_LOCAL, LOC_OPTIMIZED_OUT, LOC_REF_ARG, LOC_REGISTER, LOC_REGPARM_ADDR, LOC_STATIC, LOC_TYPEDEF, LOC_UNRESOLVED, lookup_bound_minimal_symbol(), lookup_symbol(), bound_minimal_symbol::minsym, bound_minimal_symbol::obj_section(), general_symbol_info::obj_section(), bound_minimal_symbol::objfile, obj_section::objfile, symbol::objfile(), objfile_name(), overlay_unmapped_address(), paddress(), general_symbol_info::print_name(), section_is_overlay(), cli_style_option::style(), block_symbol::symbol, SYMBOL_COMPUTED_OPS, SYMBOL_REGISTER_OPS, obj_section::the_bfd_section, field_of_this_result::type, minimal_symbol::unrelocated_address(), bound_minimal_symbol::value_address(), symbol::value_address(), symbol::value_block(), symbol::value_longest(), and VAR_DOMAIN.
|
static |
Definition at line 2288 of file printcmd.c.
References all_displays, gdb_printf(), gdb_puts(), and get_selected_block().
|
static |
Definition at line 1544 of file printcmd.c.
References current_program_space, error_no_arg(), gdb_printf(), lookup_minimal_symbol_by_pc_section(), program_space::multi_objfile_p(), objfile_name(), program_space::objfiles(), overlay_mapped_address(), parse_and_eval_address(), pc_in_unmapped_range(), general_symbol_info::print_name(), section_is_mapped(), section_is_overlay(), objfile::sections(), objfile::separate_debug_objfile_backlink, and minimal_symbol::value_address().
|
static |
Definition at line 922 of file printcmd.c.
Referenced by find_string_backward().
|
static |
Definition at line 2049 of file printcmd.c.
References all_displays, number_or_range_parser::cur_tok(), error_no_arg(), number_or_range_parser::finished(), gdb_printf(), and number_or_range_parser::get_number().
Referenced by enable_disable_display_command(), and undisplay_command().
|
static |
Definition at line 3210 of file printcmd.c.
References allocation, error_no_arg(), gdb_printf(), gdbarch_get_memtag(), gdbarch_memtag_matches_p(), gdbarch_memtag_to_string(), gdbarch_tagged_address_p(), logical, paddress(), process_print_command_args(), show_addr_not_tagged(), show_memory_tagging_unsupported(), target_gdbarch(), target_supports_memory_tagging(), and value_as_address().
|
static |
Definition at line 2995 of file printcmd.c.
References all_commands, gdb_stdout, help_list(), and memory_tag_list.
|
static |
Definition at line 3052 of file printcmd.c.
References allocation, memory_tag_print_tag_command(), show_memory_tagging_unsupported(), and target_supports_memory_tagging().
|
static |
Definition at line 3041 of file printcmd.c.
References logical, memory_tag_print_tag_command(), show_memory_tagging_unsupported(), and target_supports_memory_tagging().
|
static |
Definition at line 3003 of file printcmd.c.
References allocation, error_no_arg(), gdb_printf(), gdbarch_get_memtag(), gdbarch_memtag_to_string(), gdbarch_tagged_address_p(), logical, value_print_options::output_format, print_value(), process_print_command_args(), show_addr_not_tagged(), target_gdbarch(), and value_as_address().
Referenced by memory_tag_print_allocation_tag_command(), and memory_tag_print_logical_tag_command().
|
static |
Definition at line 3185 of file printcmd.c.
References allocation, error_no_arg(), gdb_printf(), gdbarch_set_memtags(), parse_set_allocation_tag_input(), show_memory_tagging_unsupported(), target_gdbarch(), and target_supports_memory_tagging().
|
static |
Definition at line 3091 of file printcmd.c.
References error_no_arg(), gdb_printf(), gdbarch_set_memtags(), logical, value_print_options::output_format, parse_with_logical_tag_input(), print_value(), show_memory_tagging_unsupported(), target_gdbarch(), target_supports_memory_tagging(), and value_cast().
void output_command | ( | const char * | exp, |
int | from_tty ) |
Definition at line 1481 of file printcmd.c.
References annotate_value_begin(), annotate_value_end(), decode_format(), value_print_options::format, format_data::format, gdb_flush(), gdb_stdout, get_formatted_print_options(), parse_expression(), print_formatted(), format_data::raw, format_data::size, value::type(), and validate_format().
Referenced by trace_dump_actions().
|
static |
Definition at line 3137 of file printcmd.c.
References gdbarch_tagged_address_p(), process_print_command_args(), show_addr_not_tagged(), target_gdbarch(), and value_as_address().
Referenced by memory_tag_set_allocation_tag_command().
|
static |
Definition at line 3064 of file printcmd.c.
References process_print_command_args().
Referenced by memory_tag_with_logical_tag_command().
const char * pc_prefix | ( | CORE_ADDR | addr | ) |
Definition at line 750 of file printcmd.c.
References get_frame_pc_if_available(), get_selected_frame(), has_stack_frames(), and symtab_and_line::pc.
Referenced by do_examine(), and gdb_pretty_print_disassembler::pretty_print_insn().
Definition at line 739 of file printcmd.c.
References address_style, asm_demangle, fputs_styled(), paddress(), print_address_symbolic(), and cli_style_option::style().
Referenced by gdb_disassembler::dis_asm_print_address(), disasmpy_addr_part_str(), disasmpy_part_to_string(), do_examine(), find_command(), find_instruction_backward(), info_line_command(), print_scalar_formatted(), tfind_line_command(), and tui_disassemble().
int print_address_demangle | ( | const struct value_print_options * | opts, |
struct gdbarch * | gdbarch, | ||
CORE_ADDR | addr, | ||
struct ui_file * | stream, | ||
int | do_demangle ) |
Definition at line 769 of file printcmd.c.
References address_style, fputs_styled(), paddress(), print_address_symbolic(), and cli_style_option::style().
Referenced by generic_val_print_func(), gnuv3_print_method_ptr(), print_function_pointer_address(), print_unpacked_pointer(), print_unpacked_pointer(), f_language::value_print_inner(), and pascal_language::value_print_inner().
int print_address_symbolic | ( | struct gdbarch * | gdbarch, |
CORE_ADDR | addr, | ||
struct ui_file * | stream, | ||
int | do_demangle, | ||
const char * | leadin ) |
Definition at line 554 of file printcmd.c.
References build_address_symbolic(), file_name_style, fputs_styled(), function_name_style, gdb_printf(), gdb_puts(), name, print_symbol_filename, and cli_style_option::style().
Referenced by print_address(), print_address_demangle(), print_breakpoint_location(), and tui_get_function_from_frame().
|
static |
Definition at line 1466 of file printcmd.c.
References print_command_1().
|
static |
Definition at line 1331 of file printcmd.c.
References allocation, type::code(), gdb_printf(), gdb_stderr, gdbarch_get_memtag(), gdbarch_memtag_matches_p(), gdbarch_memtag_to_string(), logical, value_print_options::memory_tag_violations, print_value(), process_print_command_args(), should_validate_memtags(), target_gdbarch(), and value::type().
Referenced by call_command(), and print_command().
void print_command_completer | ( | struct cmd_list_element * | ignore, |
completion_tracker & | tracker, | ||
const char * | text, | ||
const char * | word ) |
Definition at line 1449 of file printcmd.c.
References advance_to_expression_complete_word_point(), gdb::option::complete_options(), expression_completer(), make_value_print_options_def_group(), gdb::option::PROCESS_OPTIONS_REQUIRE_DELIMITER, and skip_over_slash_fmt().
void print_command_parse_format | ( | const char ** | expp, |
const char * | cmdname, | ||
value_print_options * | opts ) |
Definition at line 1214 of file printcmd.c.
References decode_format(), format_data::format, last_format, format_data::raw, and validate_format().
Referenced by compile_print_command(), and process_print_command_args().
|
static |
Definition at line 293 of file printcmd.c.
References value::address, type::arch(), branch_delay_insns, check_typedef(), type::code(), value_print_options::format, gdb_print_insn(), type::length(), value::lval(), lval_memory, next_address, size, value::type(), val_print_string(), value_print(), value_print_scalar_formatted(), and ui_file::wrap_here().
Referenced by do_examine(), do_one_display(), output_command(), print_value(), and ui_printf().
void print_scalar_formatted | ( | const gdb_byte * | valaddr, |
struct type * | type, | ||
const struct value_print_options * | options, | ||
int | size, | ||
struct ui_file * | stream ) |
Definition at line 369 of file printcmd.c.
References type::arch(), range_bounds::bias, type::bit_size_differs_p(), type::bounds(), builtin_type::builtin_true_char, builtin_type::builtin_true_unsigned_char, builtin_type(), type::code(), float_type_from_length(), value_print_options::format, gdbarch_addr_bit(), is_fixed_point_type(), type::is_unsigned(), type::length(), print_address(), print_binary_chars(), print_decimal_chars(), print_floating(), print_hex_chars(), print_octal_chars(), size, store_signed_integer(), type_byte_order(), unpack_long(), value_from_longest(), and value_print().
Referenced by mi_cmd_data_read_memory(), mips_print_fp_register(), and value_print_scalar_formatted().
void print_value | ( | value * | val, |
const value_print_options & | opts ) |
Definition at line 1245 of file printcmd.c.
References annotate_value_history_begin(), annotate_value_history_end(), annotate_value_history_value(), gdb_printf(), gdb_stdout, print_formatted(), value::record_latest(), and value::type().
Referenced by compile_print_value(), install_new_value(), memory_tag_print_tag_command(), memory_tag_with_logical_tag_command(), mi_cmd_stack_list_locals(), mi_cmd_stack_list_variables(), and print_command_1().
void print_variable_and_value | ( | const char * | name, |
struct symbol * | var, | ||
frame_info_ptr | frame, | ||
struct ui_file * | stream, | ||
int | indent ) |
Definition at line 2397 of file printcmd.c.
References common_val_print_checked(), current_language, fprintf_styled(), gdb_printf(), get_user_print_options(), metadata_style, name, general_symbol_info::print_name(), read_var_value(), cli_style_option::style(), styled_string(), and variable_name_style.
Referenced by print_variable_and_value_data::operator()().
|
static |
Definition at line 2442 of file printcmd.c.
References c_is_string_type_p(), type::code(), value::contents(), exceeds_max_value_size(), value_print_options::format, gdb_printf(), type::length(), value::lval(), lval_internalvar, QUIT, read_memory(), value::type(), and value_as_address().
Referenced by ui_printf().
|
static |
Definition at line 2952 of file printcmd.c.
References gdb_stdout, and ui_printf().
|
static |
Definition at line 2604 of file printcmd.c.
References type::arch(), builtin_type::builtin_decdouble, builtin_type::builtin_decfloat, builtin_type::builtin_declong, builtin_type::builtin_double, builtin_type::builtin_long_double, builtin_type(), type::code(), value::contents(), float_type_from_length(), gdb_puts(), target_float_to_string(), value::type(), value_cast(), and value_from_contents().
Referenced by ui_printf().
|
static |
Definition at line 2674 of file printcmd.c.
References gdb_printf(), and value_as_long().
Referenced by ui_printf().
|
static |
Definition at line 2515 of file printcmd.c.
References type::arch(), c_is_string_type_p(), value::contents(), convert_between_encodings(), current_language, exceeds_max_value_size(), extract_unsigned_integer(), gdb_printf(), gdbarch_byte_order(), host_charset(), type::length(), lookup_typename(), value::lval(), lval_internalvar, QUIT, read_memory(), target_wide_charset(), translit_char, value::type(), and value_as_address().
Referenced by ui_printf().
|
static |
Definition at line 1296 of file printcmd.c.
References access_value_history(), flags, get_user_print_options(), make_value_print_options_def_group(), parse_expression(), PARSER_VOID_CONTEXT, print_command_parse_format(), value_print_options::print_max, gdb::option::process_options(), and gdb::option::PROCESS_OPTIONS_REQUIRE_DELIMITER.
Referenced by memory_tag_check_command(), memory_tag_print_tag_command(), parse_set_allocation_tag_input(), parse_with_logical_tag_input(), and print_command_1().
|
static |
Definition at line 886 of file printcmd.c.
References gdb_printf(), paddress(), and target_read_memory().
Referenced by find_string_backward().
|
static |
Definition at line 1521 of file printcmd.c.
References parse_expression().
void set_next_address | ( | struct gdbarch * | gdbarch, |
CORE_ADDR | addr ) |
Definition at line 532 of file printcmd.c.
References builtin_type::builtin_data_ptr, builtin_type(), lookup_internalvar(), next_address, next_gdbarch, set_internalvar(), and value_from_pointer().
Referenced by breakpoint_1(), and info_line_command().
|
static |
Definition at line 1269 of file printcmd.c.
References code, type::code(), value::entirely_available(), gdbarch_tagged_address_p(), value::optimized_out(), target_gdbarch(), target_supports_memory_tagging(), value::type(), and TYPE_IS_REFERENCE.
Referenced by print_command_1().
|
static |
Definition at line 2977 of file printcmd.c.
References paddress(), and target_gdbarch().
Referenced by memory_tag_check_command(), memory_tag_print_tag_command(), and parse_set_allocation_tag_input().
|
static |
Definition at line 102 of file printcmd.c.
References gdb_printf().
|
static |
Definition at line 2986 of file printcmd.c.
Referenced by memory_tag_check_command(), memory_tag_print_allocation_tag_command(), memory_tag_print_logical_tag_command(), memory_tag_set_allocation_tag_command(), and memory_tag_with_logical_tag_command().
|
static |
Definition at line 115 of file printcmd.c.
References gdb_printf().
|
static |
Definition at line 1396 of file printcmd.c.
References completion_tracker::add_completion(), completion_tracker::advance_custom_word_point_by(), and completion_tracker::set_use_custom_word_point().
Referenced by display_and_x_command_completer(), and print_command_completer().
|
static |
Definition at line 2741 of file printcmd.c.
References type::code(), convert_between_encodings(), current_language, error_no_arg(), gdb_printf(), get_user_print_options(), host_charset(), type::length(), lookup_typename(), make_value_print_options_def_group(), parse_to_comma_and_eval(), print_formatted(), printf_c_string(), printf_floating(), printf_pointer(), printf_wide_c_string(), gdb::option::process_options(), gdb::option::PROCESS_OPTIONS_UNKNOWN_IS_ERROR, s1, target_wide_charset(), translit_char, and value_as_long().
Referenced by eval_command(), and printf_command().
|
static |
Definition at line 2085 of file printcmd.c.
References clear_displays(), delete_display(), dont_repeat(), map_display_numbers(), and query().
|
static |
Definition at line 1198 of file printcmd.c.
References format_data::count, format_data::format, and format_data::size.
Referenced by output_command(), and print_command_parse_format().
|
static |
Definition at line 1869 of file printcmd.c.
References value::address, clear_internalvar(), type::code(), coerce_ref(), format_data::count, decode_format(), do_examine(), error_no_arg(), format_data::format, last_count, last_examine_address, last_examine_value, last_format, last_print_tags, last_size, lookup_internalvar(), lookup_pointer_type(), value::lval(), lval_memory, next_address, next_gdbarch, parse_expression(), type::pointer_type, format_data::print_tags, format_data::raw, set_internalvar(), set_repeat_arguments(), format_data::size, value::type(), TYPE_IS_REFERENCE, value_as_address(), and value_from_pointer().
|
static |
Definition at line 173 of file printcmd.c.
Referenced by clear_dangling_display_expressions(), clear_displays(), delete_display(), disable_display(), display_command(), do_displays(), enable_disable_display_command(), info_display_command(), and map_display_numbers().
|
static |
Definition at line 86 of file printcmd.c.
Referenced by do_examine(), gdb_print_insn(), gdbscm_print_insn_from_port(), print_formatted(), and gdb_disassembler::print_insn().
|
static |
Definition at line 127 of file printcmd.c.
Referenced by disable_current_display(), and do_one_display().
|
static |
Definition at line 131 of file printcmd.c.
|
static |
Definition at line 73 of file printcmd.c.
Referenced by x_command().
|
static |
Definition at line 90 of file printcmd.c.
Referenced by do_examine(), and x_command().
|
static |
Definition at line 95 of file printcmd.c.
Referenced by do_examine(), and x_command().
|
static |
Definition at line 65 of file printcmd.c.
Referenced by print_command_parse_format(), and x_command().
|
static |
Definition at line 77 of file printcmd.c.
Referenced by x_command().
|
static |
Definition at line 69 of file printcmd.c.
Referenced by x_command().
|
static |
Definition at line 100 of file printcmd.c.
Referenced by build_address_symbolic().
|
static |
Definition at line 61 of file printcmd.c.
Referenced by memory_tag_command().
|
static |
Definition at line 82 of file printcmd.c.
Referenced by adi_assign_command(), adi_examine_command(), do_examine(), print_formatted(), set_next_address(), and x_command().
|
static |
Definition at line 81 of file printcmd.c.
Referenced by do_examine(), set_next_address(), and x_command().
|
static |
Definition at line 113 of file printcmd.c.
Referenced by build_address_symbolic(), and print_address_symbolic().