GDB (xrefs)
|
#include "exceptions.h"
#include "gdbsupport/array-view.h"
#include "gdbsupport/scoped_restore.h"
#include <chrono>
Go to the source code of this file.
Classes | |
struct | set_batch_flag_and_restore_page_info |
struct | deferred_warnings |
Macros | |
#define | gdb_stdout (*current_ui_gdb_stdout_ptr ()) |
#define | gdb_stdin (*current_ui_gdb_stdin_ptr ()) |
#define | gdb_stderr (*current_ui_gdb_stderr_ptr ()) |
#define | gdb_stdlog (*current_ui_gdb_stdlog_ptr ()) |
Enumerations | |
enum class | strncmp_iw_mode { NORMAL , MATCH_PARAMS } |
enum | resource_limit_kind { LIMIT_CUR , LIMIT_MAX } |
Functions | |
int | strncmp_iw_with_mode (const char *string1, const char *string2, size_t string2_len, strncmp_iw_mode mode, enum language language, completion_match_for_lcd *match_for_lcd=NULL, bool ignore_template_params=false) |
int | strncmp_iw (const char *string1, const char *string2, size_t string2_len) |
int | strcmp_iw (const char *string1, const char *string2) |
int | strcmp_iw_ordered (const char *, const char *) |
void | reset_prompt_for_continue_wait_time (void) |
std::chrono::steady_clock::duration | get_prompt_for_continue_wait_time () |
int | parse_pid_to_attach (const char *args) |
int | parse_escape (struct gdbarch *, const char **) |
void | init_page_info (void) |
int | gdb_filename_fnmatch (const char *pattern, const char *string, int flags) |
void | substitute_path_component (char **stringp, const char *from, const char *to) |
std::string | ldirname (const char *filename) |
int | count_path_elements (const char *path) |
const char * | strip_leading_path_elements (const char *path, int n) |
int | query (const char *,...) ATTRIBUTE_PRINTF(1 |
int int | nquery (const char *,...) ATTRIBUTE_PRINTF(1 |
int int int | yquery (const char *,...) ATTRIBUTE_PRINTF(1 |
int int int void | begin_line (void) |
void | wrap_here (int) |
void | reinitialize_more_filter (void) |
int | get_chars_per_line () |
struct ui_file ** | current_ui_gdb_stdout_ptr (void) |
struct ui_file ** | current_ui_gdb_stdin_ptr (void) |
struct ui_file ** | current_ui_gdb_stderr_ptr (void) |
struct ui_file ** | current_ui_gdb_stdlog_ptr (void) |
void | gdb_flush (struct ui_file *stream) |
void | set_screen_width_and_height (int width, int height) |
void | gdb_puts (const char *, struct ui_file *) |
void | gdb_putc (int c, struct ui_file *) |
void | gdb_putc (int c) |
void | gdb_puts (const char *) |
void | puts_tabular (char *string, int width, int right) |
void | gdb_vprintf (const char *, va_list) ATTRIBUTE_PRINTF(1 |
void void | gdb_vprintf (struct ui_file *, const char *, va_list) ATTRIBUTE_PRINTF(2 |
void void void | gdb_printf (struct ui_file *, const char *,...) ATTRIBUTE_PRINTF(2 |
void void void void | gdb_printf (const char *,...) ATTRIBUTE_PRINTF(1 |
void void void void void | printf_unfiltered (const char *,...) ATTRIBUTE_PRINTF(1 |
void void void void void void | print_spaces (int, struct ui_file *) |
const char * | n_spaces (int) |
int | filtered_printing_initialized (void) |
void | fprintf_styled (struct ui_file *stream, const ui_file_style &style, const char *fmt,...) ATTRIBUTE_PRINTF(3 |
void void | fputs_styled (const char *linebuffer, const ui_file_style &style, struct ui_file *stream) |
void | fputs_highlighted (const char *str, const compiled_regex &highlight, struct ui_file *stream) |
const char * | paddress (struct gdbarch *gdbarch, CORE_ADDR addr) |
const char * | print_core_address (struct gdbarch *gdbarch, CORE_ADDR address) |
CORE_ADDR | string_to_core_addr (const char *my_string) |
void | fprintf_symbol (struct ui_file *, const char *, enum language, int) |
void | perror_warning_with_name (const char *string) |
void | warning_filename_and_errno (const char *filename, int saved_errno) |
void | demangler_vwarning (const char *file, int line, const char *, va_list ap) ATTRIBUTE_PRINTF(3 |
void void | demangler_warning (const char *file, int line, const char *,...) ATTRIBUTE_PRINTF(3 |
void void int | myread (int, char *, int) |
int | can_dump_core (enum resource_limit_kind limit_kind) |
void | warn_cant_dump_core (const char *reason) |
void | dump_core (void) |
void | copy_bitwise (gdb_byte *dest, ULONGEST dest_offset, const gdb_byte *source, ULONGEST source_offset, ULONGEST nbits, int bits_big_endian) |
template<typename T > | |
void | assign_set_if_changed (T &lval, const T &val, bool &changed) |
template<typename T > | |
bool | assign_return_if_changed (T &lval, const T &val) |
Variables | |
bool | sevenbit_strings |
bool | pagination_enabled |
bool | debug_timestamp |
struct ui_file * | gdb_stdtarg |
struct ui_file * | gdb_stdtargerr |
struct ui_file * | gdb_stdtargin |
void(* | deprecated_error_begin_hook )(void) |
const char * | warning_pre_print |
int | readline_hidden_cols |
#define gdb_stderr (*current_ui_gdb_stderr_ptr ()) |
Definition at line 187 of file utils.h.
Referenced by _initialize_sol_thread(), aarch64_linux_report_signal_info(), aarch64_linux_syscall_record(), aarch64_process_record(), abort_with_message(), add_vsyscall_page(), amd64_linux_syscall_record_common(), amd_dbgapi_log_message_callback(), annotate_error_begin(), arc_insn_get_branch_target(), arm_linux_syscall_record(), arm_record_coproc_data_proc(), arm_record_unsupported_insn(), ATTRIBUTE_PRINTF(), avr_io_reg_read_command(), avr_scan_prologue(), bpstat_check_breakpoint_conditions(), bpstat_check_watchpoint(), breakpoint_notify(), breakpoint_re_set(), captured_main(), captured_main_1(), exception_catchpoint::check_status(), check_syscall(), check_thread_db(), child_terminal_inferior(), child_terminal_ours_1(), command_line_input(), complaint_internal(), core_target_open(), create_breakpoint(), cris_supply_gregset(), darwin_execvp(), disable_current_display(), do_gdb_disassembly(), dos_close(), dos_setbaudrate(), dump_symtab_1(), dwarf2_build_psymtabs(), dwarf2_build_psymtabs_hard(), elf_none_make_corefile_notes(), enable_breakpoint_disp(), die_info::error_dump(), cli_interp::exec(), execute_fn_to_ui_file(), fbsd_make_corefile_notes(), fetch_register(), core_target::fetch_registers(), gdbsim_target::fetch_registers(), find_objc_msgcall_submethod(), find_oload_champ(), flush_streams(), follow_fork_inferior(), gdb_internal_backtrace(), gdb_main(), gdbscm_execute_objfile_script(), gdbscm_source_objfile_script(), remote_target::get_trace_status(), windows_nat_target::get_windows_debug_event(), handle_command_errors(), handle_fatal_signal(), hardwire_raw(), i386_linux_intx80_sysenter_syscall_record(), i386_process_record(), inferior_event_handler(), interpreter_exec_cmd(), ioscm_read_from_port(), ioscm_with_output_to_port_worker(), ioscm_write(), jit_bfd_try_read_symtab(), jit_event_handler(), jit_inferior_init(), jit_read_descriptor(), keep_going_pass_signal(), libunwind_load(), linux_make_corefile_notes(), mep_gdbarch_init(), mi_print_breakpoint_for_event(), mips_eabi_return_value(), mips_n32n64_return_value(), mips_o32_return_value(), mips_o64_return_value(), mips_xfer_register(), moxie_process_readu(), net_open(), normal_stop(), parser_fprintf(), ppc_linux_syscall_record(), ppc_process_record(), print_callback(), print_children(), print_command_1(), print_flush(), procfs_pidlist(), procfs_set_exec_trap(), ps_plog(), quit_command(), quit_force(), range_error(), rank_one_type(), read_dbx_symtab(), record_full_message_wrapper_safe(), record_linux_system_call(), reload_shared_libraries_1(), remote_target::remote_get_noisy_reply(), s390_linux_nat_target::remove_hw_breakpoint(), s390_linux_nat_target::remove_watchpoint(), mi_interp::resume(), run_under_shell(), s390_linux_syscall_record(), s390_process_record(), safe_parse_type(), save_gdb_index_command(), ser_base_read_error_fd(), set_architecture(), set_disassembler_options(), set_endian(), cli_interp_base::set_logging(), ada_catchpoint::should_stop_exception(), solib_event_probe_action(), solib_read_symbols(), solib_svr4_r_ldsomap(), solib_svr4_r_map(), solib_svr4_r_next(), start_event_loop(), stdin_event_handler(), store_register(), nto_procfs_target::store_registers(), svr4_find_and_create_probe_breakpoints(), svr4_handle_solib_event(), thread_db_find_new_threads_silently(), thumb_record_ldm_stm_swi(), thumb_record_misc(), tui_enable(), tui_getc(), tui_rl_switch_mode(), tui_setup_io(), update_breakpoint_locations(), update_solib_list(), varobj_create(), vwarning(), inf_ptrace_target::wait(), rs6000_nat_target::wait(), deferred_warnings::warn(), warn_cant_dump_core(), nbsd_nat_target::xfer_partial(), and complaint_interceptor::~complaint_interceptor().
#define gdb_stdin (*current_ui_gdb_stdin_ptr ()) |
Definition at line 184 of file utils.h.
Referenced by captured_main_1(), and ioscm_read_from_port().
#define gdb_stdlog (*current_ui_gdb_stdlog_ptr ()) |
Definition at line 190 of file utils.h.
Referenced by aarch64_insert_hw_breakpoint(), aarch64_insert_watchpoint(), aarch64_remove_hw_breakpoint(), aarch64_remove_watchpoint(), line_header::add_file_name(), line_header::add_include_dir(), add_pe_exported_sym(), add_pe_forwarded_sym(), debug_target::always_non_stop_p(), amd_dbgapi_debug_module(), amd_dbgapi_lib_debug_module(), arm_process_record(), debug_target::async(), debug_target::async_wait_fd(), debug_target::attach_no_wait(), debug_target::augmented_libraries_svr4_read(), debug_target::auxv_parse(), bpf_push_dummy_call(), bpf_skip_prologue(), debug_target::btrace_conf(), gcc_cp_plugin::build_decl(), build_id_to_debug_bfd_1(), debug_target::call_history(), debug_target::call_history_from(), debug_target::call_history_range(), debug_target::can_accel_watchpoint_condition(), debug_target::can_async_p(), debug_target::can_do_single_step(), debug_target::can_download_tracepoint(), debug_target::can_execute_reverse(), debug_target::can_run_breakpoint_commands(), debug_target::can_use_agent(), debug_target::can_use_hw_breakpoint(), captured_mi_execute_command(), chain_candidate(), check_thread_db_callback(), record_full_base_target::close(), gdbsim_target::close(), debug_target::commit_resumed(), compile_cplus_debug_output(), compile_cplus_debug_output_1(), compile_cplus_debug_output_1(), compile_object_load(), compile_to_object(), convert_symbol_sym(), convert_symbol_sym(), debug_target::core_of_thread(), gdbsim_target::create_inferior(), csky_analyze_prologue(), csky_push_dummy_call(), cutu_reader::cutu_reader(), cutu_reader::cutu_reader(), darwin_dump_message(), debug_exp(), regcache::debug_print_register(), debug_sym_finish(), debug_sym_get_probes(), debug_sym_init(), debug_sym_new_init(), debug_sym_offsets(), debug_sym_read(), debug_sym_read_linetable(), debug_sym_relocate(), debug_val(), debug_vprintf(), target_ops_ref_policy::decref(), debug_target::delete_record(), debug_target::detach(), gdbsim_target::detach(), debug_target::disable_btrace(), debug_target::disable_tracepoint(), debug_target::disconnect(), skiplist_entry::do_skip_file_p(), skiplist_entry::do_skip_gfile_p(), debug_target::done_generating_core(), debug_target::download_trace_state_variable(), debug_target::download_tracepoint(), dsbt_current_sos(), objfile::dump(), die_info::dump(), dump_mem(), debug_target::dumpcore(), dwarf_finish_line(), dwarf_record_line_1(), enable_break(), debug_target::enable_btrace(), debug_target::enable_tracepoint(), compile_cplus_instance::enter_scope(), execute_fn_to_ui_file(), debug_target::execution_direction(), objfile::expand_all_symtabs(), objfile::expand_matching_symbols(), objfile::expand_symtabs_for_function(), objfile::expand_symtabs_matching(), objfile::expand_symtabs_with_fullname(), debug_target::extra_thread_info(), debug_target::fetch_memtags(), gdbsim_target::fetch_registers(), debug_target::fetch_registers(), fetch_regs_kernel_thread(), fetch_regs_user_thread(), debug_target::fetch_x86_xsave_layout(), gdbsim_target::files_info(), debug_target::files_info(), debug_target::filesystem_is_local(), objfile::find_compunit_symtab_by_address(), objfile::find_last_source_symtab(), debug_target::find_memory_regions(), find_new_threads_callback(), find_new_threads_once(), objfile::find_pc_sect_compunit_symtab(), find_separate_debug_file(), find_separate_debug_file_by_buildid(), find_unwind_entry(), gcc_cp_plugin::finish_class_type(), debug_target::flash_done(), debug_target::flash_erase(), debug_target::follow_exec(), debug_target::follow_fork(), objfile::forget_cached_source_info(), gcc_convert_symbol(), gcc_cplus_convert_symbol(), gcc_cplus_symbol_address(), gcc_symbol_address(), gdbarch_addr_bit(), gdbarch_addr_bits_remove(), gdbarch_address_class_name_to_type_flags(), gdbarch_address_class_type_flags(), gdbarch_address_class_type_flags_to_name(), gdbarch_address_to_pointer(), gdbarch_addressable_memory_unit_size(), gdbarch_adjust_breakpoint_address(), gdbarch_adjust_dwarf2_addr(), gdbarch_adjust_dwarf2_line(), gdbarch_auto_charset(), gdbarch_auto_wide_charset(), gdbarch_auxv_parse(), gdbarch_ax_pseudo_register_collect(), gdbarch_ax_pseudo_register_push_stack(), gdbarch_believe_pcc_promotion(), gdbarch_bfd_arch_info(), gdbarch_bfloat16_bit(), gdbarch_bfloat16_format(), gdbarch_breakpoint_from_pc(), gdbarch_breakpoint_kind_from_current_state(), gdbarch_breakpoint_kind_from_pc(), gdbarch_byte_order(), gdbarch_byte_order_for_code(), gdbarch_call_dummy_location(), gdbarch_cannot_fetch_register(), gdbarch_cannot_step_breakpoint(), gdbarch_cannot_store_register(), gdbarch_char_signed(), gdbarch_code_of_frame_writable(), gdbarch_coff_make_msymbol_special(), gdbarch_convert_from_func_ptr_addr(), gdbarch_convert_register_p(), gdbarch_core_info_proc(), gdbarch_core_pid_to_str(), gdbarch_core_read_description(), gdbarch_core_read_x86_xsave_layout(), gdbarch_core_thread_name(), gdbarch_core_xfer_shared_libraries(), gdbarch_core_xfer_shared_libraries_aix(), gdbarch_core_xfer_siginfo(), gdbarch_create_memtag_section(), gdbarch_decode_memtag_section(), gdbarch_decr_pc_after_break(), gdbarch_deprecated_fp_regnum(), gdbarch_deprecated_function_start_offset(), gdbarch_disassembler_options(), gdbarch_disassembler_options_implicit(), gdbarch_displaced_step_buffer_length(), gdbarch_displaced_step_copy_insn(), gdbarch_displaced_step_copy_insn_closure_by_addr(), gdbarch_displaced_step_finish(), gdbarch_displaced_step_fixup(), gdbarch_displaced_step_hw_singlestep(), gdbarch_displaced_step_prepare(), gdbarch_displaced_step_restore_all_in_ptid(), gdbarch_double_bit(), gdbarch_double_format(), gdbarch_dtrace_disable_probe(), gdbarch_dtrace_enable_probe(), gdbarch_dtrace_parse_probe_argument(), gdbarch_dtrace_probe_is_enabled(), gdbarch_dummy_id(), gdbarch_dwarf2_addr_size(), gdbarch_dwarf2_omit_typedef_p(), gdbarch_dwarf2_reg_to_regnum(), gdbarch_ecoff_reg_to_regnum(), gdbarch_elf_make_msymbol_special(), gdbarch_execute_dwarf_cfa_vendor_op(), gdbarch_fast_tracepoint_valid_at(), gdbarch_fetch_pointer_argument(), gdbarch_fetch_tls_load_module_address(), gdbarch_fill_memtag_section(), gdbarch_find_by_info(), gdbarch_find_memory_regions(), gdbarch_float_bit(), gdbarch_float_format(), gdbarch_floatformat_for_type(), gdbarch_fp0_regnum(), gdbarch_frame_align(), gdbarch_frame_args_skip(), gdbarch_frame_num_args(), gdbarch_frame_red_zone_size(), gdbarch_gcc_target_options(), gdbarch_gcore_bfd_target(), gdbarch_gdb_signal_from_target(), gdbarch_gdb_signal_to_target(), gdbarch_gen_return_address(), gdbarch_get_longjmp_target(), gdbarch_get_memtag(), gdbarch_get_pc_address_flags(), gdbarch_get_return_buf_addr(), gdbarch_get_siginfo_type(), gdbarch_get_syscall_number(), gdbarch_get_thread_local_address(), gdbarch_gnu_triplet_regexp(), gdbarch_guess_tracepoint_registers(), gdbarch_half_bit(), gdbarch_half_format(), gdbarch_has_dos_based_file_system(), gdbarch_has_global_breakpoints(), gdbarch_has_global_solist(), gdbarch_has_shared_address_space(), gdbarch_have_nonsteppable_watchpoint(), gdbarch_in_indirect_branch_thunk(), gdbarch_in_solib_return_trampoline(), gdbarch_infcall_mmap(), gdbarch_infcall_munmap(), gdbarch_info_proc(), gdbarch_inner_than(), gdbarch_insn_is_call(), gdbarch_insn_is_jump(), gdbarch_insn_is_ret(), gdbarch_int_bit(), gdbarch_integer_to_address(), gdbarch_iterate_over_objfiles_in_search_order(), gdbarch_iterate_over_regset_sections(), gdbarch_long_bit(), gdbarch_long_double_bit(), gdbarch_long_double_format(), gdbarch_long_long_bit(), gdbarch_make_corefile_notes(), gdbarch_make_symbol_special(), gdbarch_max_insn_length(), gdbarch_memory_insert_breakpoint(), gdbarch_memory_remove_breakpoint(), gdbarch_memtag_granule_size(), gdbarch_memtag_matches_p(), gdbarch_memtag_to_string(), gdbarch_num_pseudo_regs(), gdbarch_num_regs(), gdbarch_osabi(), gdbarch_overlay_update(), gdbarch_pc_regnum(), gdbarch_pointer_to_address(), gdbarch_print_auxv_entry(), gdbarch_print_float_info(), gdbarch_print_insn(), gdbarch_print_registers_info(), gdbarch_print_vector_info(), gdbarch_process_record(), gdbarch_process_record_signal(), gdbarch_program_breakpoint_here_p(), gdbarch_ps_regnum(), gdbarch_pseudo_register_read(), gdbarch_pseudo_register_read_value(), gdbarch_pseudo_register_write(), gdbarch_ptr_bit(), gdbarch_push_dummy_call(), gdbarch_push_dummy_code(), gdbarch_ravenscar_ops(), gdbarch_read_core_file_mappings(), gdbarch_read_pc(), gdbarch_record_special_symbol(), gdbarch_register(), gdbarch_register_name(), gdbarch_register_reggroup_p(), gdbarch_register_sim_regno(), gdbarch_register_to_value(), gdbarch_register_type(), gdbarch_relocate_instruction(), gdbarch_remote_register_number(), gdbarch_remove_non_address_bits(), gdbarch_report_signal_info(), gdbarch_return_in_first_hidden_param_p(), gdbarch_return_value_as_value(), gdbarch_sdb_reg_to_regnum(), gdbarch_set_memtags(), gdbarch_short_bit(), gdbarch_single_step_through_delay(), gdbarch_skip_entrypoint(), gdbarch_skip_main_prologue(), gdbarch_skip_permanent_breakpoint(), gdbarch_skip_prologue(), gdbarch_skip_solib_resolver(), gdbarch_skip_trampoline_code(), gdbarch_so_ops(), gdbarch_software_single_step(), gdbarch_sofun_address_maybe_missing(), gdbarch_solib_symbols_extension(), gdbarch_sp_regnum(), gdbarch_stab_reg_to_regnum(), gdbarch_stabs_argument_has_addr(), gdbarch_stack_frame_destroyed_p(), gdbarch_stap_adjust_register(), gdbarch_stap_gdb_register_prefix(), gdbarch_stap_gdb_register_suffix(), gdbarch_stap_integer_prefixes(), gdbarch_stap_integer_suffixes(), gdbarch_stap_is_single_operand(), gdbarch_stap_parse_special_token(), gdbarch_stap_register_indirection_prefixes(), gdbarch_stap_register_indirection_suffixes(), gdbarch_stap_register_prefixes(), gdbarch_stap_register_suffixes(), gdbarch_sw_breakpoint_from_kind(), gdbarch_syscalls_info(), gdbarch_tagged_address_p(), gdbarch_target_desc(), gdbarch_tdep_1(), gdbarch_type_align(), gdbarch_unwind_pc(), gdbarch_unwind_sp(), gdbarch_update_call_site_pc(), gdbarch_update_p(), gdbarch_use_target_description_from_corefile_notes(), gdbarch_valid_disassembler_options(), gdbarch_value_from_register(), gdbarch_value_to_register(), gdbarch_vbit_in_delta(), gdbarch_virtual_frame_pointer(), gdbarch_vsyscall_range(), gdbarch_vtable_function_descriptors(), gdbarch_wchar_bit(), gdbarch_wchar_signed(), gdbarch_write_pc(), gdbarch_xml_syscall_file(), gdbsim_target_open(), gdbsim_xfer_memory(), debug_target::get_ada_task_ptid(), record_full_base_target::get_bookmark(), debug_target::get_bookmark(), debug_target::get_memory_xfer_limit(), debug_target::get_min_fast_tracepoint_insn_len(), debug_target::get_raw_trace_data(), debug_target::get_section_table(), debug_target::get_tailcall_unwinder(), debug_target::get_thread_control_capabilities(), debug_target::get_thread_local_address(), debug_target::get_tib_address(), debug_target::get_trace_state_variable_value(), debug_target::get_trace_status(), debug_target::get_tracepoint_status(), debug_target::get_unwinder(), record_full_base_target::goto_bookmark(), debug_target::goto_bookmark(), debug_target::goto_record(), debug_target::goto_record_begin(), debug_target::goto_record_end(), handle_notification(), objfile::has_partial_symbols(), debug_target::has_pending_events(), objfile::has_unexpanded_symtabs(), debug_target::have_steppable_watchpoint(), hppa_fallback_frame_cache(), hppa_frame_cache(), i386_process_record(), ia64_dummy_id(), ia64_frame_this_id(), ia64_sigtramp_frame_this_id(), ignore_probe_p(), inferior_debug(), debug_target::info_record(), debug_target::insert_breakpoint(), debug_target::insert_exec_catchpoint(), debug_target::insert_fork_catchpoint(), debug_target::insert_hw_breakpoint(), debug_target::insert_mask_watchpoint(), debug_target::insert_vfork_catchpoint(), debug_target::insert_watchpoint(), debug_target::insn_history(), debug_target::insn_history_from(), debug_target::insn_history_range(), interpreter_exec_cmd(), debug_target::interrupt(), debug_target::is_async_p(), record_full_core_target::kill(), gdbsim_target::kill(), debug_target::kill(), compile_cplus_instance::leave_scope(), lm_base(), gdbsim_target::load(), debug_target::load(), debug_target::log_command(), objfile::lookup_symbol(), debug_target::make_corefile_notes(), objfile::map_symbol_filenames(), objfile::map_symtabs_matching_filename(), mark_async_signal_handler(), debug_target::masked_watch_num_registers(), debug_target::memory_map(), mi_cmd_var_create(), mi_execute_cli_command(), mips_eabi_push_dummy_call(), mips_gdbarch_init(), mips_n32n64_push_dummy_call(), mips_o32_push_dummy_call(), mips_o64_push_dummy_call(), mips_show_dr(), mips_xfer_register(), gdbsim_target::mourn_inferior(), debug_target::mourn_inferior(), moxie_process_record(), nios2_analyze_prologue(), open_target(), or1k_frame_cache(), or1k_unwind_pc(), or1k_unwind_sp(), stap_probe::parse_arguments(), parse_exp_in_context(), debug_target::pass_ctrlc(), debug_target::pass_signals(), pdc_alloc(), pdc_dealloc(), pdc_read_data(), pdc_read_regs(), pdc_realloc(), pdc_symbol_addrs(), pdc_write_data(), pdc_write_regs(), debug_target::pid_to_exec_file(), debug_target::pid_to_str(), gcc_cp_plugin::pop_binding_level(), debug_target::post_attach(), ppc_process_prefix_instruction(), ppc_process_record(), ppc_process_record_op19(), ppc_process_record_op31(), ppc_process_record_op4(), ppc_process_record_op59(), ppc_process_record_op60(), ppc_process_record_op61(), ppc_process_record_op63(), debug_target::prepare_to_generate_core(), debug_target::prepare_to_store(), selftests::print_one_insn_test(), print_savedreg_msg(), objfile::print_stats(), scoped_command_stats::print_time(), debug_target::program_signals(), ptrace_check(), remote_target::push_stop_reply(), debug_target::ranged_break_num_registers(), debug_target::rcmd(), debug_target::read_btrace(), debug_target::read_description(), read_die_and_siblings(), read_pe_exported_syms(), read_toplevel_die(), record_full_arch_list_add(), record_full_arch_list_add_end(), record_full_arch_list_add_mem(), record_full_arch_list_add_reg(), record_full_exec_insn(), record_full_open(), record_full_open_1(), record_full_restore(), record_full_sig_handler(), record_full_wait_1(), debug_target::record_is_replaying(), lnp_state_machine::record_line(), record_linux_msghdr(), record_linux_sockaddr(), record_linux_system_call(), debug_target::record_method(), debug_target::record_stop_replaying(), debug_target::record_will_replay(), debug_target::region_ok_for_hw_watchpoint(), remote_notif_ack(), remote_target::remote_notif_get_pending_events(), remote_notif_parse(), remote_target::remote_notif_remove_queued_reply(), debug_target::remove_breakpoint(), debug_target::remove_exec_catchpoint(), debug_target::remove_fork_catchpoint(), debug_target::remove_hw_breakpoint(), debug_target::remove_mask_watchpoint(), debug_target::remove_vfork_catchpoint(), debug_target::remove_watchpoint(), reschedule(), mi_interp::resume(), debug_target::resume(), gdbsim_target::resume_one_inferior(), s390_process_record(), s390_record_address_mask(), debug_target::save_record(), record_full_base_target::save_record(), debug_target::save_trace_data(), debug_target::search_memory(), separate_debug_file_exists(), ser_base_async(), serial_readchar(), serial_write(), debug_target::set_circular_trace_buffer(), debug_target::set_disconnected_tracing(), cli_interp_base::set_logging(), debug_target::set_permissions(), debug_target::set_syscall_catchpoint(), debug_target::set_trace_buffer_size(), debug_target::set_trace_notes(), setup_sections_data::setup_one_section(), sigchld_handler(), skiplist_entry::skip_function_p(), gcc_cp_plugin::start_class_type(), debug_target::static_tracepoint_marker_at(), debug_target::static_tracepoint_markers_by_strid(), debug_target::stop(), debug_target::stop_recording(), debug_target::stopped_by_hw_breakpoint(), debug_target::stopped_by_sw_breakpoint(), debug_target::stopped_by_watchpoint(), debug_target::stopped_data_address(), debug_target::store_memtags(), gdbsim_target::store_registers(), debug_target::store_registers(), store_regs_kernel_thread(), store_regs_user_thread(), debug_target::supports_delete_record(), debug_target::supports_disable_randomization(), debug_target::supports_dumpcore(), debug_target::supports_enable_disable_tracepoint(), debug_target::supports_evaluation_of_breakpoint_conditions(), debug_target::supports_memory_tagging(), debug_target::supports_multi_process(), debug_target::supports_non_stop(), debug_target::supports_stopped_by_hw_breakpoint(), debug_target::supports_stopped_by_sw_breakpoint(), debug_target::supports_string_tracing(), debug_target::supports_terminal_ours(), tailcall_dump(), target_debug_print_gdb_array_view_const_gdb_byte(), target_debug_print_signals(), target_debug_print_size_t(), target_debug_print_target_wait_flags(), target_debug_print_target_waitstatus_p(), target_debug_print_x86_xsave_layout(), target_fileio_close(), target_fileio_fstat(), target_fileio_open(), target_fileio_pread(), target_fileio_pwrite(), target_fileio_readlink(), target_fileio_unlink(), target_info_proc(), target_xfer_partial(), debug_target::teardown_btrace(), debug_target::terminal_inferior(), debug_target::terminal_info(), debug_target::terminal_init(), debug_target::terminal_ours(), debug_target::terminal_ours_for_output(), debug_target::terminal_save_inferior(), debug_target::thread_address_space(), debug_target::thread_alive(), debug_target::thread_architecture(), thread_db_find_new_threads_silently(), thread_db_load_search(), debug_target::thread_events(), debug_target::thread_handle_to_thread_info(), debug_target::thread_info_to_thread_handle(), debug_target::thread_name(), debug_target::trace_find(), debug_target::trace_init(), debug_target::trace_set_readonly_regions(), debug_target::trace_start(), debug_target::trace_stop(), debug_target::traceframe_info(), try_thread_db_load(), try_thread_db_load_1(), tui_setup_io(), uninstall_variable(), debug_target::update_thread_list(), debug_target::upload_trace_state_variables(), debug_target::upload_tracepoints(), debug_target::use_agent(), debug_target::verify_memory(), debug_target::wait(), gdbsim_target::wait(), debug_target::watchpoint_addr_within_range(), debug_target::xfer_partial(), record_full_target::xfer_partial(), xtensa_push_dummy_call(), and scoped_command_stats::~scoped_command_stats().
#define gdb_stdout (*current_ui_gdb_stdout_ptr ()) |
Definition at line 182 of file utils.h.
Referenced by agent_eval_command_one(), apropos_command(), ATTRIBUTE_PRINTF(), ATTRIBUTE_PRINTF(), ATTRIBUTE_PRINTF(), backtrace_command_1(), call_site_find_chain(), captured_main_1(), child_terminal_info(), command_line_input(), deprecated_show_value_hack(), directory_command(), display_gdb_prompt(), do_examine(), do_one_display(), do_prefix_cmd(), do_show_command(), dwarf2_evaluate_loc_desc_full(), dwarf2_locexpr_baton_eval(), dwarf2_tailcall_sniffer_first(), echo_command(), source_cache::ensure(), cli_interp::exec(), execute_command(), execute_fn_to_ui_file(), partial_symtab::expand_dependencies(), find_command(), find_instruction_backward(), flush_streams(), frame_apply_command_count(), gcore_create_memtag_section_callback(), gdb_disassembly(), gdb_printf(), gdb_putc(), gdb_puts(), gdb_readline_no_editing(), gdb_vprintf(), generic_load(), handle_inferior_event(), handle_redirections(), help_command(), ignore_probes_command(), info_address_command(), info_args_command(), info_auxv_command(), info_command(), info_common_command_for_block(), info_float_command(), info_frame_command_core(), info_line_command(), info_locals_command(), info_macro_command(), info_scope_command(), info_task(), info_vector_command(), mi_interp::init(), tui_interp::init(), init_page_info(), interpreter_exec_cmd(), ioscm_read_from_port(), ioscm_with_output_to_port_worker(), ioscm_write(), language_info(), maint_agent_printf_command(), maint_print_all_sections(), maintenance_check_symtabs(), maintenance_info_psymtabs(), maintenance_info_screen(), maintenance_info_symtabs(), maintenance_print_architecture(), maintenance_print_dummy_frames(), maintenance_print_msymbols(), maintenance_print_psymbols(), maintenance_print_record_instruction(), maintenance_print_reggroups(), maintenance_print_symbols(), maintenance_test_options_command_mode(), memory_tag_command(), output_command(), print_flush(), print_frame_info(), print_gdb_help(), print_macro_definition(), print_one_vtable(), print_return_value(), print_section_info(), print_value(), printf_command(), printf_unfiltered(), proceed(), psymtab_to_symtab(), stderr_file::puts(), regcache_print(), registers_info(), reread_symbols(), cli_interp::resume(), mi_interp::resume(), tui_interp::resume(), set_architecture(), set_endian(), cli_interp_base::set_logging(), set_source(), show_configuration(), show_convenience(), show_source(), show_user(), show_user_1(), show_values(), show_version(), symbol_file_add_with_addrs(), tfind_line_command(), thread_try_catch_cmd(), tui_disassemble(), tui_initialize_io(), tui_layout_command(), tui_setup_io(), tui_window_command(), user_select_syms(), whatis_exp(), and stderr_file::write().
enum resource_limit_kind |
|
strong |
|
extern |
Definition at line 1589 of file utils.c.
References chars_printed, and gdb_puts().
Referenced by amd_dbgapi_log_message_callback(), ATTRIBUTE_PRINTF(), info_classes_command(), and info_selectors_command().
|
extern |
Definition at line 207 of file utils.c.
References LIMIT_CUR, and LIMIT_MAX.
Referenced by can_dump_core_warn().
|
extern |
Definition at line 3588 of file utils.c.
Referenced by ada_value_assign(), selftests::check_copy_bitwise(), value::contents_copy_raw_bitwise(), rw_pieced_value(), and value_assign_to_component().
|
extern |
Definition at line 3516 of file utils.c.
Referenced by compare_glob_filenames_for_search().
|
extern |
Definition at line 112 of file top.c.
References current_ui, and ui::m_gdb_stderr.
|
extern |
Definition at line 106 of file top.c.
References current_ui, and ui::m_gdb_stdin.
|
extern |
Definition at line 118 of file top.c.
References current_ui, and ui::m_gdb_stdlog.
|
extern |
Definition at line 100 of file top.c.
References current_ui, and ui::m_gdb_stdout.
|
extern |
|
extern |
|
extern |
Definition at line 185 of file utils.c.
Referenced by ATTRIBUTE_PRINTF().
|
extern |
Definition at line 1194 of file utils.c.
References filter_initialized.
Referenced by ATTRIBUTE_PRINTF().
|
extern |
|
extern |
Definition at line 1981 of file utils.c.
References demangle, language_defn::demangle_symbol(), gdb_puts(), language_def(), and name.
Referenced by cp_print_value_fields(), cp_type_print_method_args(), info_address_command(), and pascal_object_print_value_fields().
|
extern |
Definition at line 1828 of file utils.c.
References ui_file::emit_style_escape(), gdb_putc(), gdb_puts(), highlight_style, and cli_style_option::style().
Referenced by print_doc_of_command().
|
extern |
Definition at line 1817 of file utils.c.
References ui_file::emit_style_escape(), and gdb_puts().
Referenced by ada_print_scalar(), ada_val_print_enum(), ada_val_print_ref(), c_print_type_1(), c_type_print_base_1(), cp_print_class_member(), cp_print_static_field(), cp_print_value_fields(), f_language::f_type_print_base(), gdb_printing_disassembler::fprintf_styled_func(), generic_val_print_enum_1(), info_address_command(), info_frame_command_core(), m2_enum(), m2_print_type(), m2_record_fields(), pascal_object_print_static_field(), pascal_object_print_value_fields(), print_address(), print_address_demangle(), print_address_symbolic(), print_enum_type(), print_field_values(), print_func_type(), rust_print_struct_def(), show_pp_source_pos(), pascal_language::type_print_base(), rust_language::val_print_struct(), valprint_check_validity(), f_language::value_print_inner(), m2_language::value_print_inner(), and pascal_language::value_print_inner().
|
extern |
Definition at line 3472 of file utils.c.
References flags.
Referenced by compare_glob_filenames_for_search(), skiplist_entry::do_skip_gfile_p(), and filename_is_in_pattern_1().
|
extern |
Definition at line 1498 of file utils.c.
References ui_file::flush().
Referenced by ATTRIBUTE_PRINTF(), build_id_to_debug_bfd_1(), captured_main_1(), cli_ui_out::clear_progress_notify(), command_line_input(), debug_exp(), debug_val(), display_gdb_prompt(), display_mi_prompt(), cli_ui_out::do_flush(), mi_ui_out::do_flush(), do_one_display(), cli_ui_out::do_progress_notify(), echo_command(), partial_symtab::expand_dependencies(), mi_console_file::flush(), gdb_disassembly(), gdb_flush_out_err(), gdb_readline_no_editing(), handle_inferior_event(), ioscm_read_from_port(), mi_cmd_gdb_exit(), mi_load_progress(), mi_on_resume_1(), mi_interp::on_breakpoint_created(), mi_interp::on_breakpoint_deleted(), mi_interp::on_breakpoint_modified(), mi_interp::on_inferior_added(), mi_interp::on_inferior_appeared(), mi_interp::on_inferior_disappeared(), mi_interp::on_inferior_removed(), mi_interp::on_memory_changed(), mi_interp::on_new_thread(), mi_interp::on_normal_stop(), mi_interp::on_param_changed(), mi_interp::on_record_changed(), mi_interp::on_solib_loaded(), mi_interp::on_solib_unloaded(), mi_interp::on_thread_exited(), mi_interp::on_traceframe_changed(), mi_interp::on_tsv_created(), mi_interp::on_tsv_deleted(), mi_interp::on_tsv_modified(), mi_interp::on_user_selected_context_changed(), output_command(), print_flush(), print_frame_info(), proceed(), procfs_set_exec_trap(), psymtab_to_symtab(), separate_debug_file_exists(), serial_log_command(), serial_readchar(), serial_write(), and symbol_file_add_with_addrs().
|
extern |
|
extern |
|
extern |
Definition at line 1862 of file utils.c.
References gdb_stdout.
Referenced by chain_candidate(), clear_command(), mi_ui_out::close(), compile_cplus_debug_output(), disassemble_dwarf_expression(), rust_language::emitchar(), cli_ui_out::field_separator(), mi_ui_out::field_separator(), mi_console_file::flush(), fputs_highlighted(), fputsn_filtered(), info_checkpoints_command(), info_common_command_for_block(), mep_gdbarch_init(), mips_print_float_info(), mi_ui_out::open(), ppscm_print_string_repr(), print_binary_chars(), print_fpu_flags(), print_fpu_flags(), cli_packet_command_callbacks::print_packet(), signal_catchpoint::print_recreate(), language_defn::printchar(), remote_target::rcmd(), s12z_print_ccw_info(), serial_logchar(), target_xfer_partial(), pascal_language::type_print_method_args(), and unwind_command().
|
extern |
Definition at line 1868 of file utils.c.
References ui_file::putc().
|
extern |
Definition at line 1939 of file utils.c.
References gdb_stdout.
|
extern |
Definition at line 1809 of file utils.c.
References ui_file::puts().
Referenced by __attribute__(), abort_with_message(), ada_print_floating(), ada_printchar(), ada_val_print_ref(), ada_value_print_num(), ada_value_print_ptr(), c_add_code_footer::add_code_footer(), c_add_code_header::add_code_header(), cplus_add_code_header::add_code_header(), c_add_input::add_input(), cplus_add_input::add_input(), debug_target::always_non_stop_p(), arm_print_float_info(), debug_target::async(), debug_target::async_wait_fd(), debug_target::attach_no_wait(), ATTRIBUTE_PRINTF(), debug_target::augmented_libraries_svr4_read(), debug_target::auxv_parse(), ax_print(), begin_line(), debug_target::btrace_conf(), c_print_type_1(), c_type_print_base_1(), c_type_print_base_struct_union(), c_type_print_template_args(), c_value_print_int(), debug_target::call_history(), debug_target::call_history_from(), debug_target::call_history_range(), debug_target::can_accel_watchpoint_condition(), debug_target::can_async_p(), debug_target::can_do_single_step(), debug_target::can_download_tracepoint(), debug_target::can_execute_reverse(), debug_target::can_run_breakpoint_commands(), debug_target::can_use_agent(), debug_target::can_use_hw_breakpoint(), captured_mi_execute_command(), chain_candidate(), check_thread_db(), debug_target::commit_resumed(), compile_cplus_debug_output_1(), complaint_internal(), fortran_array_printer_impl::continue_walking(), debug_target::core_of_thread(), cp_print_class_member(), cp_print_value(), cp_print_value_fields(), cp_type_print_derivation_info(), cp_type_print_method_args(), default_print_one_register_info(), debug_target::delete_record(), debug_target::detach(), debug_target::disable_btrace(), debug_target::disable_tracepoint(), remote_target::disconnect(), debug_target::disconnect(), display_descriptor(), display_mi_prompt(), display_page_table(), display_ptable_entry(), display_selector(), display_selectors(), do_examine(), mi_ui_out::do_field_fmt(), do_one_display(), do_serial_close(), do_show(), cli_ui_out::do_text(), debug_target::done_generating_core(), debug_target::download_trace_state_variable(), debug_target::download_tracepoint(), dump_die_shallow(), expr::dump_for_expression(), expr::dump_for_expression(), expr::dump_for_expression(), expr::dump_for_expression(), dump_mem(), dump_msymbols(), dump_psymtab(), dump_symtab_1(), debug_target::dumpcore(), m2_language::emitchar(), pascal_language::emitchar(), rust_language::emitchar(), debug_target::enable_btrace(), debug_target::enable_tracepoint(), environment_info(), debug_target::execution_direction(), partial_symtab::expand_dependencies(), debug_target::extra_thread_info(), f_language::f_type_print_base(), f_language::f_type_print_varspec_suffix(), debug_target::fetch_memtags(), debug_target::fetch_registers(), debug_target::fetch_x86_xsave_layout(), exec_target::files_info(), debug_target::files_info(), debug_target::filesystem_is_local(), debug_target::find_memory_regions(), print_offset_data::finish(), fortran_array_printer_impl::finish_dimension(), debug_target::flash_done(), debug_target::flash_erase(), mi_console_file::flush(), debug_target::follow_exec(), debug_target::follow_fork(), gdb_printing_disassembler::fprintf_styled_func(), fprintf_symbol(), fput_alias_definition_styled(), fput_command_names_styled(), fputs_highlighted(), fputs_styled(), fputsn_filtered(), generate_register_struct(), generic_emit_char(), generic_printstr(), generic_val_print_array(), generic_val_print_enum_1(), generic_val_print_ref(), generic_value_print(), generic_value_print_bool(), generic_value_print_char(), debug_target::get_ada_task_ptid(), debug_target::get_bookmark(), debug_target::get_memory_xfer_limit(), debug_target::get_min_fast_tracepoint_insn_len(), debug_target::get_raw_trace_data(), debug_target::get_section_table(), debug_target::get_tailcall_unwinder(), debug_target::get_thread_control_capabilities(), debug_target::get_thread_local_address(), debug_target::get_tib_address(), debug_target::get_trace_state_variable_value(), debug_target::get_trace_status(), debug_target::get_tracepoint_status(), debug_target::get_unwinder(), gnuv3_print_method_ptr(), go32_pde(), go32_pte(), go32_pte_for_address(), go32_sldt(), debug_target::goto_bookmark(), debug_target::goto_record(), debug_target::goto_record_begin(), debug_target::goto_record_end(), debug_target::has_pending_events(), debug_target::have_steppable_watchpoint(), help_cmd(), help_list(), i387_print_float_info(), info_address_command(), info_checkpoints_command(), info_display_command(), info_frame_command_core(), debug_target::info_record(), debug_target::insert_breakpoint(), debug_target::insert_exec_catchpoint(), debug_target::insert_fork_catchpoint(), debug_target::insert_hw_breakpoint(), debug_target::insert_mask_watchpoint(), debug_target::insert_vfork_catchpoint(), debug_target::insert_watchpoint(), debug_target::insn_history(), debug_target::insn_history_from(), debug_target::insn_history_range(), debug_target::interrupt(), debug_target::is_async_p(), jit_bfd_try_read_symtab(), jump_command(), debug_target::kill(), linux_info_proc(), list_overlays_command(), debug_target::load(), debug_target::log_command(), m2_array(), m2_long_set(), m2_procedure(), m2_record_fields(), m2_type_name(), m2_typedef(), m2_unbounded_array(), macro_expand_command(), macro_expand_once_command(), macro_inform_no_debuginfo(), maint_print_all_sections(), maint_print_xml_tdesc_cmd(), maintenance_check_psymtabs(), maintenance_info_psymtabs(), maintenance_show_test_options_completion_result(), debug_target::make_corefile_notes(), debug_target::masked_watch_num_registers(), print_offset_data::maybe_print_hole(), debug_target::memory_map(), mi_cmd_gdb_exit(), mi_load_progress(), mi_on_resume_1(), mi_print_exception(), mips_print_float_info(), mips_print_register(), mips_show_dr(), debug_target::mourn_inferior(), mi_interp::on_normal_stop(), remote_target::open_1(), pascal_object_print_value(), pascal_object_print_value_fields(), debug_target::pass_ctrlc(), debug_target::pass_signals(), path_info(), debug_target::pid_to_exec_file(), debug_target::pid_to_str(), cplus_pop_user_expression::pop_user_expression(), debug_target::post_attach(), ppscm_print_children(), ppscm_print_string_repr(), debug_target::prepare_to_generate_core(), debug_target::prepare_to_store(), print_address_symbolic(), print_bit_vector(), print_callback(), print_children(), print_command_trace(), print_cplus_stuff(), print_decimal_chars(), print_doc_line(), print_doc_of_command(), rust_language::print_enum(), print_exception(), print_field_values(), print_floating(), print_fpu_flags(), print_fpu_flags(), print_frame_arg(), pascal_language::print_func_args(), print_func_type(), print_function_pointer_address(), print_gdb_help(), print_go_string(), print_help_for_command(), print_hex_chars(), print_i387_control_word(), print_i387_ext(), print_i387_status_word(), print_longest(), print_macro_definition(), print_mem(), print_name_maybe_canonical(), print_octal_chars(), pascal_language::print_one_char(), print_one_macro(), cli_packet_command_callbacks::print_packet(), print_partial_symbols(), print_ref_address(), print_spaces(), print_string_repr(), print_symbol(), print_symbol_info(), f_language::print_type(), go_language::print_type(), pascal_language::print_type(), print_type_scalar(), print_unpacked_pointer(), print_unpacked_pointer(), print_unpacked_pointer(), print_variable_at_address(), f_language::printchar(), m2_language::printchar(), pascal_language::printchar(), rust_language::printchar(), printf_floating(), language_defn::printstr(), f_language::printstr(), m2_language::printstr(), pascal_language::printstr(), printstr(), fortran_array_printer_impl::process_dimension(), fortran_array_printer_impl::process_element(), debug_target::program_signals(), c_push_user_expression::push_user_expression(), cplus_push_user_expression::push_user_expression(), puts_tabular(), py_print_single_arg(), debug_target::ranged_break_num_registers(), debug_target::rcmd(), debug_target::read_btrace(), debug_target::read_description(), cli_packet_command_callbacks::received(), debug_target::record_is_replaying(), debug_target::record_method(), debug_target::record_stop_replaying(), debug_target::record_will_replay(), recursive_dump_type(), debug_target::region_ok_for_hw_watchpoint(), remote_target::remote_detach_1(), debug_target::remove_breakpoint(), debug_target::remove_exec_catchpoint(), debug_target::remove_fork_catchpoint(), debug_target::remove_hw_breakpoint(), debug_target::remove_mask_watchpoint(), debug_target::remove_vfork_catchpoint(), debug_target::remove_watchpoint(), restore_one_section(), debug_target::resume(), riscv_print_one_register_info(), rust_internal_print_type(), rust_print_struct_def(), s12z_print_ccw_info(), debug_target::save_record(), debug_target::save_trace_data(), debug_target::search_memory(), cli_packet_command_callbacks::sending(), ser_base_read_error_fd(), serial_log_command(), serial_logchar(), debug_target::set_circular_trace_buffer(), debug_target::set_disconnected_tracing(), debug_target::set_permissions(), debug_target::set_syscall_catchpoint(), debug_target::set_trace_buffer_size(), debug_target::set_trace_notes(), show_directories_1(), show_disable_randomization(), show_disassembler_options_sfunc(), show_memory_packet_size(), show_pp_source_pos(), show_user_1(), tui_layout_window::specification(), tui_layout_split::specification(), fortran_array_printer_impl::start_dimension(), debug_target::static_tracepoint_marker_at(), debug_target::static_tracepoint_markers_by_strid(), debug_target::stop(), debug_target::stop_recording(), debug_target::stopped_by_hw_breakpoint(), debug_target::stopped_by_sw_breakpoint(), debug_target::stopped_by_watchpoint(), debug_target::stopped_data_address(), debug_target::store_memtags(), debug_target::store_registers(), debug_target::supports_delete_record(), debug_target::supports_disable_randomization(), debug_target::supports_dumpcore(), debug_target::supports_enable_disable_tracepoint(), debug_target::supports_evaluation_of_breakpoint_conditions(), debug_target::supports_memory_tagging(), debug_target::supports_multi_process(), debug_target::supports_non_stop(), debug_target::supports_stopped_by_hw_breakpoint(), debug_target::supports_stopped_by_sw_breakpoint(), debug_target::supports_string_tracing(), debug_target::supports_terminal_ours(), target_debug_print_gdb_array_view_const_gdb_byte(), target_debug_print_signals(), target_debug_print_target_wait_flags(), target_debug_print_target_waitstatus_p(), target_debug_print_x86_xsave_layout(), target_xfer_partial(), debug_target::teardown_btrace(), debug_target::terminal_inferior(), debug_target::terminal_info(), debug_target::terminal_init(), debug_target::terminal_ours(), debug_target::terminal_ours_for_output(), debug_target::terminal_save_inferior(), debug_target::thread_address_space(), debug_target::thread_alive(), debug_target::thread_architecture(), debug_target::thread_events(), debug_target::thread_handle_to_thread_info(), debug_target::thread_info_to_thread_handle(), debug_target::thread_name(), debug_target::trace_find(), debug_target::trace_init(), debug_target::trace_set_readonly_regions(), debug_target::trace_start(), debug_target::trace_stop(), debug_target::traceframe_info(), pascal_language::type_print_base(), pascal_language::type_print_derivation_info(), pascal_language::type_print_method_args(), debug_target::update_thread_list(), debug_target::upload_trace_state_variables(), debug_target::upload_tracepoints(), debug_target::use_agent(), val_print_check_max_depth(), rust_language::val_print_struct(), val_print_type_code_flags(), f_language::value_print_inner(), m2_language::value_print_inner(), pascal_language::value_print_inner(), rust_language::value_print_inner(), debug_target::verify_memory(), vwarning(), debug_target::wait(), debug_target::watchpoint_addr_within_range(), and debug_target::xfer_partial().
|
extern |
|
extern |
|
extern |
Definition at line 1506 of file utils.c.
References chars_per_line.
Referenced by cli_ui_out::clear_progress_notify(), and cli_ui_out::do_progress_notify().
std::chrono::steady_clock::duration get_prompt_for_continue_wait_time | ( | ) |
Definition at line 1463 of file utils.c.
References prompt_for_continue_wait_time.
Referenced by scoped_command_stats::~scoped_command_stats().
|
extern |
Definition at line 1124 of file utils.c.
References _rl_term_autowrap, batch_flag, chars_per_line, gdb_stdout, lines_per_page, readline_hidden_cols, set_screen_size(), set_width(), tgetnum(), and tui_get_command_dimension().
Referenced by gdb_init(), set_batch_flag_and_restore_page_info::set_batch_flag_and_restore_page_info(), and set_width().
std::string ldirname | ( | const char * | filename | ) |
Definition at line 3306 of file utils.c.
Referenced by copy_shell_to_cache(), dwarf2_get_dwz_file(), file_read_description_xml(), find_file_and_directory(), info_sources_filter::matches(), open_and_init_dwp_file(), and try_open_dwop_file().
|
extern |
Definition at line 702 of file utils.c.
References read().
Referenced by source_cache::get_plain_source_lines().
|
extern |
Definition at line 1947 of file utils.c.
References xfree(), and xmalloc().
Referenced by pad_to_column(), print_spaces(), pager_file::puts(), tui_data_item_window::rerender(), tui_disasm_window::set_contents(), and pager_file::wrap_here().
|
extern |
|
extern |
Definition at line 3166 of file utils.c.
References gdbarch_addr_bit().
Referenced by aarch64_displaced_step_copy_insn(), aarch64_displaced_step_fixup(), aarch64_dump_tdep(), aarch64_process_record(), aarch64_push_dummy_call(), ada_value_print_num(), collection_list::add_memrange(), add_symbol_file_command(), add_vsyscall_page(), adi_print_versions(), adi_read_versions(), adi_write_versions(), alpha_heuristic_proc_start(), amd64_displaced_step_copy_insn(), amd64_displaced_step_fixup(), amd64_relocate_instruction(), amd64_windows_find_unwind_info(), amd64_windows_frame_decode_insns(), amd64_windows_frame_prev_register(), annotate_frame_begin(), annotate_source(), arc_analyze_prologue(), arc_insn_dump(), arc_linux_is_sigtramp(), arc_linux_software_single_step(), arc_print_frame_cache(), arc_skip_prologue(), arc_write_pc(), arm_analyze_prologue(), arm_displaced_init_closure(), arm_process_record(), arm_push_dummy_call(), arm_record_unsupported_insn(), ax_print(), bookmark_1(), BP_MANIPULATION_ENDIAN(), bpf_push_dummy_call(), bpf_skip_prologue(), bplocpy_repr(), bpstat_locno(), breakpoint_location_address_str(), call_site_find_chain_1(), call_site_for_pc(), check_fast_tracepoint_sals(), amd_dbgapi_target_breakpoint::check_status(), collection_list::collect_symbol(), compare_sections_command(), compile_object_load(), copy_sections(), csky_push_dummy_call(), darwin_debug_regions(), dcache_info_1(), dcache_print_line(), describe_other_breakpoints(), displaced_step_prepare_throw(), display_one_tib(), do_assign(), do_examine(), do_examine(), do_target_wait_1(), cooked_index::dump(), dump_msymbols(), dump_psymtab(), dump_symtab_1(), dwarf2_frame_cache(), dwarf2_restore_rule(), dwarf_expr_reg_to_entry_parameter(), dwarf_finish_line(), dwarf_record_line_1(), edit_command(), elf_gnu_ifunc_record_cache(), execute_cfa_program(), value::fetch_lazy_register(), filter_overlapping_sections(), fbsd_nat_target::find_memory_regions(), nbsd_nat_target::find_memory_regions(), psymbol_functions::find_pc_sect_compunit_symtab(), dwarf2_base_index_functions::find_pc_sect_compunit_symtab(), displaced_step_buffers::finish(), buildsym_compunit::finish_block_internal(), finish_step_over(), fixup_riprel(), fprint_auxv_entry(), frame_unwind_register_value(), func_addr_to_tail_call_list(), func_verify_no_selftailcall(), gcore_copy_callback(), gcore_create_callback(), gcore_create_memtag_section_callback(), gdbsim_xfer_memory(), gnu_xfer_auxv(), gnu_xfer_memory(), gnuv3_get_typename_from_type_info(), handle_inferior_event(), handle_one(), handle_signal_stop(), heuristic_proc_start(), hppa_frame_cache(), hppa_skip_trampoline_code(), i386_displaced_step_copy_insn(), i386_displaced_step_fixup(), i386_mpx_get_bt_entry(), i386_process_record(), i386_record_lea_modrm(), i386_relocate_instruction(), ia64_dummy_id(), ia64_frame_this_id(), ia64_memory_insert_breakpoint(), ia64_memory_remove_breakpoint(), ia64_sigtramp_frame_this_id(), info_address_command(), info_cb(), info_checkpoints_command(), info_exceptions_command(), info_frame_command_core(), core_target::info_proc_mappings(), info_program_command(), info_scope_command(), info_task(), insert_bp_location(), insert_exception_resume_from_probe(), insert_longjmp_resume_breakpoint(), insert_step_resume_breakpoint_at_sal_1(), call_site_target::iterate_over_addresses(), jit_bfd_try_read_symtab(), jit_breakpoint_re_set_internal(), jit_event_handler(), jit_object_close_impl(), jit_read_descriptor(), jit_register_code(), jump_command(), keep_going_stepped_thread(), linux_core_info_proc_mappings(), linux_info_proc(), list_command(), list_overlays_command(), lm_addr_check(), lm_info_read(), load_progress(), loclist_describe_location(), m32c_m16c_address_to_pointer(), macho_add_oso_symfile(), maintenance_check_psymtabs(), maintenance_info_psymtabs(), tui_locator_window::make_status_line(), mbpy_str(), memory_error_message(), memory_tag_check_command(), merge_uploaded_tracepoints(), microblaze_analyze_prologue(), mips_eabi_push_dummy_call(), mips_n32n64_push_dummy_call(), mips_o32_push_dummy_call(), mips_o64_push_dummy_call(), mips_show_dr(), moxie_process_readu(), moxie_process_record(), nios2_analyze_prologue(), or1k_frame_cache(), or1k_unwind_pc(), or1k_unwind_sp(), ppc_displaced_step_fixup(), ppc_process_prefix_instruction(), ppc_process_record(), ppc_process_record_op19(), ppc_process_record_op31(), ppc_process_record_op4(), ppc_process_record_op59(), ppc_process_record_op60(), ppc_process_record_op61(), ppc_process_record_op63(), displaced_step_buffers::prepare(), print_address(), print_address_demangle(), print_disassembly(), print_function_pointer_address(), print_go_string(), ranged_breakpoint::print_mention(), print_one_vtable(), print_partial_symbols(), print_ref_address(), print_section_info(), print_symbol(), print_unpacked_pointer(), print_unpacked_pointer(), print_unpacked_pointer(), print_variable_at_address(), proceed(), process_event_stop_test(), pyuw_sniffer(), read_call_site_scope(), read_memory_backward(), record_full_arch_list_add_mem(), record_full_exec_insn(), record_full_restore(), record_full_wait_1(), lnp_state_machine::record_line(), record_read_memory(), displaced_step_buffers::restore_in_ptid(), restore_one_section(), resume_1(), resume_stopped_resumed_lwps(), riscv_breakpoint_kind_from_pc(), riscv_push_dummy_code(), s12z_frame_cache(), s390_displaced_step_copy_insn(), s390_displaced_step_fixup(), s390_process_record(), save_bookmark_command(), record_full_base_target::save_record(), code_breakpoint::say_where(), setup_sections_data::setup_one_section(), should_be_inserted(), show_addr_not_tagged(), skip_function_command(), status_callback(), store_regs(), collection_list::stringify(), stub_gnu_ifunc_resolve_addr(), svr4_create_probe_breakpoints(), svr4_create_solib_event_breakpoints(), svr4_exec_displacement(), svr4_read_so_list(), tailcall_dump(), thumb_analyze_prologue(), thumb_record_misc(), update_global_location_list(), f_language::value_print_inner(), pascal_language::value_print_inner(), rust_language::value_print_inner(), windows_xfer_shared_library(), and record_full_target::xfer_partial().
|
extern |
Definition at line 996 of file utils.c.
References host_char_to_target(), and target_charset().
Referenced by do_set_command(), echo_command(), and yylex().
|
extern |
Definition at line 3331 of file utils.c.
References dummy, error_no_arg(), and pid.
Referenced by darwin_nat_target::attach(), gnu_nat_target::attach(), inf_ptrace_target::attach(), linux_nat_target::attach(), procfs_target::attach(), extended_remote_target::attach(), windows_nat_target::attach(), and nto_procfs_target::attach().
|
extern |
Definition at line 616 of file utils.c.
Referenced by captured_main_1(), detach_one_lwp(), and source_script_with_search().
|
extern |
Definition at line 3187 of file utils.c.
References gdbarch_addr_bit().
Referenced by arc_linux_skip_solib_resolver(), arc_push_dummy_call(), dsbt_print_loadmap(), ui_out::field_core_addr(), stap_probe::gen_info_probes_table_values(), maintenance_print_record_instruction(), and ranged_breakpoint::print_one_detail().
|
extern |
Definition at line 1968 of file utils.c.
References gdb_puts(), and n_spaces().
Referenced by ada_val_print_struct_union(), c_type_print_base_1(), c_type_print_base_struct_union(), cp_print_value(), cp_print_value_fields(), cli_ui_out::do_spaces(), print_offset_data::finish(), m2_record_fields(), pascal_object_print_value(), pascal_object_print_value_fields(), ppscm_print_children(), print_children(), print_field_values(), print_spaces_filtered_with_print_options(), print_symbol(), print_unpacked_pointer(), riscv_print_one_register_info(), rust_print_struct_def(), pascal_language::type_print_base(), print_offset_data::update(), val_print_packed_array_elements(), rust_language::val_print_struct(), value_print_array_elements(), and pascal_language::value_print_inner().
|
extern |
|
extern |
Definition at line 1546 of file utils.c.
References chars_per_line, chars_printed, and gdb_puts().
Referenced by info_classes_command(), and info_selectors_command().
|
extern |
|
extern |
Definition at line 1471 of file utils.c.
References chars_printed, lines_printed, and pagination_disabled_for_command.
Referenced by command_handler(), pager_file::prompt_for_continue(), and tui_rl_command_key().
void reset_prompt_for_continue_wait_time | ( | void | ) |
Definition at line 1453 of file utils.c.
References prompt_for_continue_wait_time.
Referenced by scoped_command_stats::scoped_command_stats().
|
extern |
Definition at line 1289 of file utils.c.
References chars_per_line, lines_per_page, set_screen_size(), and set_width().
Referenced by tui_update_gdb_sizes().
|
extern |
Definition at line 3033 of file utils.c.
References language_minimal, MATCH_PARAMS, and strncmp_iw_with_mode().
Referenced by check_field(), find_method_list(), gdbscm_type_field(), gdbscm_type_has_field_p(), lookup_struct_elt(), read_member_functions(), struct_field_searcher::search(), search_struct_method(), skiplist_entry::skip_function_p(), skip_prologue_sal(), typy_getitem(), and typy_has_key().
|
extern |
Definition at line 3077 of file utils.c.
References c1, c2, case_sensitive_off, and case_sensitive_on.
Referenced by compare_names_with_case(), and lookup_partial_symbol().
|
extern |
Definition at line 3205 of file utils.c.
Referenced by mi_cmd_var_create().
|
extern |
Definition at line 3552 of file utils.c.
Referenced by compare_glob_filenames_for_search().
|
extern |
Definition at line 3024 of file utils.c.
References language_minimal, NORMAL, and strncmp_iw_with_mode().
Referenced by completion_tracker::completes_to_completion_word().
|
extern |
Definition at line 2150 of file utils.c.
References case_sensitive_off, case_sensitive_on, cp_is_operator(), CP_OPERATOR_LEN, cp_skip_operator_token(), completion_match_for_lcd::empty(), language_cplus, language_fortran, language_rust, completion_match_for_lcd::mark_ignored_range(), NORMAL, skip_abi_tag(), skip_template_parameter_list(), skip_ws(), and valid_identifier_name_char().
Referenced by cp_fq_symbol_name_matches(), cp_symbol_name_matches_1(), default_symbol_name_matcher(), strcmp_iw(), and strncmp_iw().
|
extern |
Definition at line 3354 of file utils.c.
References xrealloc().
Referenced by auto_load_expand_dir_vars(), and selftests::utils::test_substitute_path_component().
|
extern |
Definition at line 235 of file utils.c.
References gdb_printf(), and gdb_stderr.
Referenced by can_dump_core_warn().
|
extern |
Definition at line 625 of file utils.c.
References file_name_style, cli_style_option::style(), and styled_string().
Referenced by add_path(), windows_nat_target::create_inferior(), dead_procinfo(), and set_gdb_data_directory().
|
extern |
|
extern |
|
extern |
Definition at line 102 of file utils.c.
Referenced by timestamped_file::write().
|
extern |
Definition at line 85 of file utils.c.
Referenced by clear_interpreter_hooks(), and print_flush().
|
extern |
Definition at line 80 of file main.c.
Referenced by captured_main_1(), do_monitor_command(), execute_fn_to_ui_file(), gdb_os_flush_stdout(), gdb_os_write_stdout(), interpreter_exec_cmd(), remote_console_output(), remote_fileio_func_write(), mi_interp::resume(), cli_interp_base::set_logging(), and tui_setup_io().
|
extern |
Definition at line 81 of file main.c.
Referenced by captured_main_1(), execute_fn_to_ui_file(), gdb_os_flush_stderr(), gdb_os_write_stderr(), interpreter_exec_cmd(), remote_fileio_func_write(), mi_interp::resume(), cli_interp_base::set_logging(), and tui_setup_io().
|
extern |
Definition at line 79 of file main.c.
Referenced by captured_main_1(), and remote_fileio_func_read().
|
extern |
Definition at line 122 of file utils.c.
Referenced by cli_ui_out::clear_progress_notify(), fetch_inferior_event(), gdb_display_match_list_1(), pager_file::puts(), and set_observer_mode().
|
extern |
Definition at line 1119 of file utils.c.
Referenced by init_page_info(), and tui_resize_all().
|
extern |
Definition at line 108 of file utils.c.
Referenced by mi_interp::pre_command_loop(), ui_file::printchar(), and selftests::file::run_tests().
|
extern |
Definition at line 120 of file utils.c.
Referenced by captured_main_1(), check_thread_db(), and vwarning().