|
GDB (xrefs)
|
#include "defs.h"#include "frame.h"#include "symtab.h"#include "gdbtypes.h"#include "value.h"#include "language.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 "observer.h"#include "solist.h"#include "parser-defs.h"#include "charset.h"#include "arch-utils.h"#include "cli/cli-utils.h"#include "cli/cli-script.h"#include "format.h"#include "source.h"#include "common/byte-vector.h"Go to the source code of this file.
Classes | |
| struct | display |
Macros | |
| #define | ALL_DISPLAYS(B) for (B = display_chain; B; B = B->next) |
| #define | ALL_DISPLAYS_SAFE(B, TMP) |
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, int do_demangle, char **name, int *offset, char **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, struct format_data *fmtp) |
| void | print_value (struct value *val, const struct format_data *fmtp) |
| static void | print_command_1 (const char *exp, int voidprint) |
| static void | print_command (const char *exp, int from_tty) |
| static void | call_command (const char *exp, int from_tty) |
| static void | output_command (const char *exp, int from_tty) |
| void | output_command_const (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_command (const char *arg, int from_tty) |
| static void | free_display (struct display *d) |
| void | clear_displays (void) |
| static void | delete_display (struct display *display) |
| static void | map_display_numbers (const char *args, void(*function)(struct display *, void *), void *data) |
| static void | do_delete_display (struct display *d, void *data) |
| 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 | do_enable_disable_display (struct display *d, void *data) |
| static void | enable_disable_display_command (const char *args, int from_tty, int 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, struct frame_info *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) |
| void | _initialize_printcmd (void) |
Variables | |
| static char | last_format = 0 |
| static char | last_size = 'w' |
| static struct gdbarch * | next_gdbarch |
| static CORE_ADDR | next_address |
| static int | branch_delay_insns |
| static CORE_ADDR | last_examine_address |
| static struct value * | last_examine_value |
| static unsigned int | max_symbolic_offset = UINT_MAX |
| static int | print_symbol_filename = 0 |
| static int | current_display_number |
| static struct display * | display_chain |
| static int | display_number |
Definition at line 153 of file printcmd.c.
Referenced by delete_display(), and enable_disable_display_command().
| #define ALL_DISPLAYS_SAFE | ( | B, | |
| TMP | |||
| ) |
Definition at line 156 of file printcmd.c.
Referenced by map_display_numbers().
| void _initialize_printcmd | ( | void | ) |
Definition at line 2609 of file printcmd.c.
References _, add_cmd(), add_com(), add_com_alias(), add_info(), add_prefix_cmd(), add_setshow_boolean_cmd(), add_setshow_uinteger_cmd(), call_command(), class_vars, clear_dangling_display_expressions(), cmdlist, current_display_number, dbx_commands, deletelist, disable_display_command(), disablelist, display_command(), enable_display_command(), enablelist, eval_command(), expression_completer(), info_address_command(), info_display_command(), info_symbol_command(), max_symbolic_offset, no_class, observer_attach_free_objfile(), output_command(), print_command(), print_symbol_filename, printf_command(), set_cmd_completer(), set_command(), setlist, setprintlist, show_max_symbolic_offset(), show_print_symbol_filename(), showprintlist, undisplay_command(), and x_command().
| int build_address_symbolic | ( | struct gdbarch * | gdbarch, |
| CORE_ADDR | addr, | ||
| int | do_demangle, | ||
| char ** | name, | ||
| int * | offset, | ||
| char ** | filename, | ||
| int * | line, | ||
| int * | unmapped | ||
| ) |
Definition at line 576 of file printcmd.c.
References asm_demangle, BLOCK_START, BMSYMBOL_VALUE_ADDRESS, find_pc_overlay(), find_pc_sect_function(), find_pc_sect_line(), gdbarch_addr_bits_remove(), symtab_and_line::line, 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, MSYMBOL_HAS_SIZE, MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_SIZE, MSYMBOL_TYPE, name, offset, overlay_debugging, overlay_mapped_address(), pc_in_unmapped_range(), print_symbol_filename, symtab_and_line::section, symbol, SYMBOL_BLOCK_VALUE, SYMBOL_LINKAGE_NAME, SYMBOL_PRINT_NAME, and symtab_to_filename_for_display().
Referenced by gdb_pretty_print_disassembler::pretty_print_insn(), and print_address_symbolic().
|
static |
Definition at line 1224 of file printcmd.c.
References print_command_1().
Referenced by _initialize_printcmd().
|
static |
Definition at line 2134 of file printcmd.c.
References display::block, display_chain, display::exp, exp_uses_objfile(), gdb_assert, lookup_objfile_from_block(), display::next, display::pspace, objfile::pspace, and objfile::separate_debug_objfile_backlink.
Referenced by _initialize_printcmd().
| void clear_displays | ( | void | ) |
Definition at line 1768 of file printcmd.c.
References display_chain, free_display(), and display::next.
Referenced by clear_symtab_users(), and undisplay_command().
|
static |
Definition at line 177 of file printcmd.c.
References format_data::count, format_data::format, format_data::raw, and format_data::size.
Referenced by display_command(), output_command_const(), print_command_parse_format(), and x_command().
|
static |
Definition at line 1782 of file printcmd.c.
References ALL_DISPLAYS, display_chain, free_display(), gdb_assert, and display::next.
Referenced by do_delete_display().
| void disable_current_display | ( | void | ) |
Definition at line 2042 of file printcmd.c.
References _, current_display_number, disable_display(), fprintf_unfiltered(), and gdb_stderr.
Referenced by normal_stop().
| void disable_display | ( | int | num | ) |
Definition at line 2028 of file printcmd.c.
References _, display_chain, display::enabled_p, display::next, display::number, and printf_unfiltered().
Referenced by disable_current_display().
|
static |
Definition at line 2120 of file printcmd.c.
References enable_disable_display_command().
Referenced by _initialize_printcmd().
|
static |
Definition at line 1697 of file printcmd.c.
References display::block, format_data::count, current_program_space, decode_format(), display_chain, display_number, do_displays(), do_one_display(), dont_repeat(), display::enabled_p, display::exp, display::exp_string, display::format, format_data::format, innermost_block, display::next, display::number, parse_expression(), display::pspace, format_data::raw, and format_data::size.
Referenced by _initialize_printcmd().
|
static |
Definition at line 1842 of file printcmd.c.
References delete_display().
Referenced by undisplay_command().
| void do_displays | ( | void | ) |
Definition at line 2016 of file printcmd.c.
References display_chain, do_one_display(), and display::next.
Referenced by display_command(), print_stop_event(), and tfind_1().
|
static |
Definition at line 2086 of file printcmd.c.
References display::enabled_p.
Referenced by enable_disable_display_command().
|
static |
Definition at line 964 of file printcmd.c.
References _, 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, fputs_filtered(), gdb_flush(), gdb_stdout, gdbarch_ptr_bit(), get_formatted_print_options(), internal_error(), last_examine_address, last_examine_value, next_address, next_gdbarch, pc_prefix(), print_address(), print_formatted(), printf_filtered(), QUIT, release_value(), format_data::size, size, TYPE_LENGTH, value_at_lazy(), value_free(), and warning().
Referenced by do_one_display(), and x_command().
|
static |
Definition at line 1869 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(), display::block, CATCH, contained_in(), format_data::count, current_display_number, current_program_space, do_examine(), display::enabled_p, END_CATCH, evaluate_expression(), display::exp, display::exp_string, display::format, format_data::format, fprintf_filtered(), gdb_flush(), gdb_stdout, gdbarch_addr_bits_remove(), get_current_arch(), get_formatted_print_options(), get_selected_block(), innermost_block, make_scoped_restore(), display::number, parse_expression(), print_formatted(), printf_filtered(), display::pspace, puts_filtered(), value_print_options::raw, format_data::raw, RETURN_MASK_ALL, RETURN_MASK_ERROR, format_data::size, TRY, value_as_address(), and warning().
Referenced by display_command(), and do_displays().
|
static |
Definition at line 2095 of file printcmd.c.
References ALL_DISPLAYS, do_enable_disable_display(), enable, display::enabled_p, and map_display_numbers().
Referenced by disable_display_command(), and enable_display_command().
|
static |
Definition at line 2112 of file printcmd.c.
References enable_disable_display_command().
Referenced by _initialize_printcmd().
|
static |
Definition at line 2597 of file printcmd.c.
References string_file::c_str(), execute_command(), insert_user_defined_cmd_args(), string, and ui_printf().
Referenced by _initialize_printcmd().
|
static |
Definition at line 763 of file printcmd.c.
References _, find_pc_sect_line(), gdb_insn_length(), gdb_stdout, symtab_and_line::line, frame_info::p, symtab_and_line::pc, print_address(), printf_filtered(), and wrap_here().
Referenced by do_examine().
|
static |
Definition at line 905 of file printcmd.c.
References gdb_assert, integer_is_zero(), offset, value_print_options::print_max, and read_memory_backward().
Referenced by do_examine().
Definition at line 331 of file printcmd.c.
References builtin_type::builtin_double, builtin_type::builtin_float, builtin_type::builtin_long_double, builtin_type(), get_type_arch(), type, and TYPE_LENGTH.
Referenced by print_scalar_formatted(), and printf_floating().
|
static |
Definition at line 1758 of file printcmd.c.
References display::exp_string, and xfree().
Referenced by clear_displays(), and delete_display().
|
static |
Definition at line 1390 of file printcmd.c.
References _, BLOCK_START, BMSYMBOL_VALUE_ADDRESS, current_language, error(), fprintf_symbol_filtered(), fputs_filtered(), gdb_assert_not_reached, gdb_stdout, gdbarch_register_name(), get_objfile_arch(), get_selected_block(), language_defn::la_language, language_objc, 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_minimal_symbol_and_objfile(), lookup_symbol(), bound_minimal_symbol::minsym, MSYMBOL_OBJ_SECTION, MSYMBOL_VALUE_RAW_ADDRESS, bound_minimal_symbol::objfile, obj_section::objfile, objfile_name(), overlay_unmapped_address(), paddress(), printf_filtered(), section_is_overlay(), block_symbol::symbol, symbol_arch(), SYMBOL_BLOCK_VALUE, SYMBOL_CLASS, SYMBOL_COMPUTED_OPS, SYMBOL_IS_ARGUMENT, SYMBOL_LINKAGE_NAME, SYMBOL_OBJ_SECTION, symbol_objfile(), SYMBOL_OBJFILE_OWNED, SYMBOL_PRINT_NAME, SYMBOL_REGISTER_OPS, SYMBOL_VALUE, SYMBOL_VALUE_ADDRESS, obj_section::the_bfd_section, field_of_this_result::type, and VAR_DOMAIN.
Referenced by _initialize_printcmd().
|
static |
Definition at line 2056 of file printcmd.c.
References _, display::block, contained_in(), format_data::count, display_chain, display::enabled_p, display::exp_string, display::format, format_data::format, gdb_flush(), gdb_stdout, get_selected_block(), display::next, display::number, printf_filtered(), printf_unfiltered(), puts_filtered(), and format_data::size.
Referenced by _initialize_printcmd().
|
static |
Definition at line 1299 of file printcmd.c.
References _, ALL_OBJSECTIONS, cleanup::arg, error_no_arg(), gdb_assert, lookup_minimal_symbol_by_pc_section(), MSYMBOL_PRINT_NAME, MSYMBOL_VALUE_ADDRESS, MULTI_OBJFILE_P, obj_section_addr, obj_section_endaddr, obj_section::objfile, objfile::objfile(), objfile_name(), offset, overlay_mapped_address(), parse_and_eval_address(), pc_in_unmapped_range(), printf_filtered(), section_is_mapped(), section_is_overlay(), objfile::separate_debug_objfile_backlink, string, string_printf(), and obj_section::the_bfd_section.
Referenced by _initialize_printcmd().
|
static |
Definition at line 889 of file printcmd.c.
Referenced by find_string_backward().
|
static |
Definition at line 1805 of file printcmd.c.
References _, ALL_DISPLAYS_SAFE, number_or_range_parser::cur_tok(), error_no_arg(), number_or_range_parser::finished(), number_or_range_parser::get_number(), display::number, printf_unfiltered(), and warning().
Referenced by enable_disable_display_command(), and undisplay_command().
|
static |
Definition at line 1232 of file printcmd.c.
References output_command_const().
Referenced by _initialize_printcmd().
| void output_command_const | ( | const char * | exp, |
| int | from_tty | ||
| ) |
Definition at line 1240 of file printcmd.c.
References annotate_value_begin(), annotate_value_end(), decode_format(), evaluate_expression(), value_print_options::format, format_data::format, gdb_flush(), gdb_stdout, get_formatted_print_options(), parse_expression(), print_formatted(), value_print_options::raw, format_data::raw, format_data::size, validate_format(), value_type(), and wrap_here().
Referenced by output_command(), and trace_dump_actions().
| const char* pc_prefix | ( | CORE_ADDR | addr | ) |
Definition at line 717 of file printcmd.c.
References frame_info::addr, get_frame_pc_if_available(), get_selected_frame(), and has_stack_frames().
Referenced by do_examine(), and gdb_pretty_print_disassembler::pretty_print_insn().
Definition at line 706 of file printcmd.c.
References asm_demangle, fputs_filtered(), paddress(), and print_address_symbolic().
Referenced by gdb_disassembler::dis_asm_print_address(), do_examine(), find_command(), find_instruction_backward(), info_line_command(), print_scalar_formatted(), spu_dis_asm_print_address(), 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 736 of file printcmd.c.
References frame_info::addr, value_print_options::addressprint, fputs_filtered(), paddress(), and print_address_symbolic().
Referenced by f_val_print(), generic_val_print_func(), gnuv3_print_method_ptr(), pascal_val_print(), print_function_pointer_address(), and print_unpacked_pointer().
| int print_address_symbolic | ( | struct gdbarch * | gdbarch, |
| CORE_ADDR | addr, | ||
| struct ui_file * | stream, | ||
| int | do_demangle, | ||
| const char * | leadin | ||
| ) |
Definition at line 521 of file printcmd.c.
References build_address_symbolic(), cleanup_chain, do_cleanups(), fprintf_filtered(), fputs_filtered(), free_current_contents(), make_cleanup(), name, offset, and print_symbol_filename.
Referenced by print_address(), print_address_demangle(), print_breakpoint_location(), and tui_get_function_from_frame().
|
static |
Definition at line 1217 of file printcmd.c.
References print_command_1().
Referenced by _initialize_printcmd().
|
static |
Definition at line 1196 of file printcmd.c.
References access_value_history(), evaluate_expression(), parse_expression(), print_command_parse_format(), print_value(), TYPE_CODE, TYPE_CODE_VOID, and value_type().
Referenced by call_command(), and print_command().
| void print_command_parse_format | ( | const char ** | expp, |
| const char * | cmdname, | ||
| struct format_data * | fmtp | ||
| ) |
Definition at line 1144 of file printcmd.c.
References format_data::count, decode_format(), format_data::format, last_format, format_data::raw, format_data::size, and validate_format().
Referenced by compile_print_command(), and print_command_1().
|
static |
Definition at line 275 of file printcmd.c.
References branch_delay_insns, check_typedef(), value_print_options::format, gdb_print_insn(), get_type_arch(), lval_memory, next_address, size, TYPE_CODE, TYPE_CODE_ARRAY, TYPE_CODE_NAMESPACE, TYPE_CODE_REF, TYPE_CODE_STRING, TYPE_CODE_STRUCT, TYPE_CODE_UNION, TYPE_LENGTH, val_print_scalar_formatted(), val_print_string(), value_address(), value_embedded_offset(), VALUE_LVAL, value_print(), value_type(), and wrap_here().
Referenced by do_examine(), do_one_display(), output_command_const(), and print_value().
| 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 351 of file printcmd.c.
References _, builtin_type::builtin_true_char, builtin_type::builtin_true_unsigned_char, builtin_type(), gdbarch::byte_order, error(), float_type_from_length(), value_print_options::format, gdb_assert, gdbarch_addr_bit(), gdbarch_byte_order(), get_type_arch(), print_address(), print_binary_chars(), print_decimal_chars(), print_floating(), print_hex_chars(), print_octal_chars(), size, store_signed_integer(), TARGET_CHAR_BIT, TYPE_CODE, TYPE_CODE_FLT, TYPE_CODE_PTR, TYPE_LENGTH, TYPE_UNSIGNED, unpack_long(), unpack_pointer(), value_from_longest(), and value_print().
Referenced by mi_cmd_data_read_memory(), mips_print_fp_register(), and val_print_scalar_formatted().
| void print_value | ( | struct value * | val, |
| const struct format_data * | fmtp | ||
| ) |
Definition at line 1171 of file printcmd.c.
References annotate_value_history_begin(), annotate_value_history_end(), annotate_value_history_value(), format_data::format, gdb_stdout, get_formatted_print_options(), print_formatted(), printf_filtered(), value_print_options::raw, format_data::raw, record_latest_value(), format_data::size, and value_type().
Referenced by compile_print_value(), install_new_value(), 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, | ||
| struct frame_info * | frame, | ||
| struct ui_file * | stream, | ||
| int | indent | ||
| ) |
Definition at line 2173 of file printcmd.c.
References CATCH, common_val_print(), current_language, value_print_options::deref_ref, END_CATCH, fprintf_filtered(), get_user_print_options(), n_spaces(), name, read_var_value(), RETURN_MASK_ERROR, SYMBOL_PRINT_NAME, and TRY.
Referenced by do_print_variable_and_value().
|
static |
Definition at line 2215 of file printcmd.c.
References value_print_options::format, fprintf_filtered(), QUIT, read_memory(), and value_as_address().
Referenced by ui_printf().
|
static |
Definition at line 2588 of file printcmd.c.
References gdb_flush(), gdb_stdout, and ui_printf().
Referenced by _initialize_printcmd().
|
static |
Definition at line 2294 of file printcmd.c.
References builtin_type::builtin_decdouble, builtin_type::builtin_decfloat, builtin_type::builtin_declong, builtin_type::builtin_double, builtin_type::builtin_long_double, builtin_type(), gdbarch::byte_order, dec128float_arg, dec32float_arg, dec64float_arg, double_arg, float_type_from_length(), fputs_filtered(), gdb_assert_not_reached, gdbarch_byte_order(), get_type_arch(), long_double_arg, string, target_float_to_string(), TYPE_CODE, TYPE_CODE_FLT, value_cast(), value_contents(), value_from_contents(), and value_type().
Referenced by ui_printf().
|
static |
Definition at line 2364 of file printcmd.c.
References fprintf_filtered(), gdb_assert, and value_as_long().
Referenced by ui_printf().
|
static |
Definition at line 2249 of file printcmd.c.
References gdbarch::byte_order, convert_between_encodings(), current_language, extract_unsigned_integer(), fprintf_filtered(), gdbarch_byte_order(), get_type_arch(), host_charset(), lookup_typename(), memset(), obstack_grow_str0, QUIT, read_memory(), target_wide_charset(), translit_char, TYPE_LENGTH, value_as_address(), and value_type().
Referenced by ui_printf().
|
static |
Definition at line 853 of file printcmd.c.
References _, paddress(), printf_filtered(), and target_read_memory().
Referenced by find_string_backward().
|
static |
Definition at line 1275 of file printcmd.c.
References _, evaluate_expression(), parse_expression(), and warning().
Referenced by _initialize_printcmd().
Definition at line 499 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 88 of file printcmd.c.
References _, and fprintf_filtered().
Referenced by _initialize_printcmd().
|
static |
Definition at line 101 of file printcmd.c.
References _, and fprintf_filtered().
Referenced by _initialize_printcmd().
|
static |
Definition at line 2428 of file printcmd.c.
References _, convert_between_encodings(), current_language, dec128float_arg, dec32float_arg, dec64float_arg, double_arg, error(), error_no_arg(), fprintf_filtered(), get_type_arch(), host_charset(), int_arg, internal_error(), literal_piece, long_arg, long_double_arg, long_long_arg, lookup_typename(), obstack_grow_str0, parse_to_comma_and_eval(), printf_c_string(), printf_floating(), printf_pointer(), printf_wide_c_string(), ptr_arg, skip_spaces(), string_arg, target_wide_charset(), translit_char, TYPE_CODE, TYPE_CODE_INT, TYPE_LENGTH, value_as_long(), value_contents(), value_type(), wide_char_arg, and wide_string_arg.
Referenced by eval_command(), and printf_command().
|
static |
Definition at line 1850 of file printcmd.c.
References _, clear_displays(), do_delete_display(), dont_repeat(), map_display_numbers(), and query().
Referenced by _initialize_printcmd().
|
static |
Definition at line 1128 of file printcmd.c.
References _, format_data::count, error(), format_data::format, and format_data::size.
Referenced by output_command_const(), and print_command_parse_format().
|
static |
Definition at line 1614 of file printcmd.c.
References _, clear_internalvar(), coerce_ref(), format_data::count, decode_format(), do_examine(), error_no_arg(), evaluate_expression(), format_data::format, last_examine_address, last_examine_value, last_format, last_size, lookup_internalvar(), lookup_pointer_type(), lval_memory, next_address, next_gdbarch, parse_expression(), pointer_type(), format_data::raw, set_internalvar(), set_repeat_arguments(), format_data::size, TYPE_CODE, TYPE_CODE_FUNC, TYPE_IS_REFERENCE, value_address(), value_as_address(), value_from_pointer(), value_lazy(), VALUE_LVAL, and value_type().
Referenced by _initialize_printcmd().
|
static |
Definition at line 72 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 113 of file printcmd.c.
Referenced by _initialize_printcmd(), disable_current_display(), and do_one_display().
|
static |
Definition at line 145 of file printcmd.c.
Referenced by clear_dangling_display_expressions(), clear_displays(), delete_display(), disable_display(), display_command(), do_displays(), and info_display_command().
|
static |
Definition at line 147 of file printcmd.c.
Referenced by display_command().
|
static |
Definition at line 76 of file printcmd.c.
Referenced by do_examine(), and x_command().
|
static |
Definition at line 81 of file printcmd.c.
Referenced by do_examine(), and x_command().
|
static |
Definition at line 59 of file printcmd.c.
Referenced by print_command_parse_format(), and x_command().
|
static |
Definition at line 63 of file printcmd.c.
Referenced by x_command().
|
static |
Definition at line 86 of file printcmd.c.
Referenced by _initialize_printcmd(), and build_address_symbolic().
|
static |
Definition at line 68 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 67 of file printcmd.c.
Referenced by do_examine(), set_next_address(), and x_command().
|
static |
Definition at line 99 of file printcmd.c.
Referenced by _initialize_printcmd(), build_address_symbolic(), and print_address_symbolic().
1.8.14