GDB (xrefs)
|
#include "defs.h"
#include "top.h"
#include "target.h"
#include "inferior.h"
#include "symfile.h"
#include "gdbcore.h"
#include "exceptions.h"
#include "getopt.h"
#include <sys/types.h>
#include "gdb_stat.h"
#include <ctype.h>
#include "gdb_string.h"
#include "event-loop.h"
#include "ui-out.h"
#include "interps.h"
#include "main.h"
#include "source.h"
#include "cli/cli-cmds.h"
#include "python/python.h"
#include "objfiles.h"
#include "auto-load.h"
#include "maint.h"
#include "filenames.h"
#include "filestuff.h"
Go to the source code of this file.
static int captured_command_loop | ( | void * | data | ) | [static] |
Definition at line 261 of file main.c.
References all_cleanups(), current_interp_command_loop(), do_cleanups(), instream, interpreter_async, and quit_command().
Referenced by captured_main().
static int captured_main | ( | void * | data | ) | [static] |
Definition at line 310 of file main.c.
References _, add_substitute_path_rule(), ALL_OBJFILES, annotation_level, captured_main_args::argc, captured_main_args::argv, attach_command(), auto_load_local_gdbinit, auto_load_local_gdbinit_loaded, auto_load_local_gdbinit_pathname, batch_flag, batch_silent, baud_rate, BINDIR, bindtextdomain, captured_command_loop(), catch_command_errors(), catch_command_errors_const(), catch_errors(), cd_command(), clear_quit_flag(), cmdarg::CMDARG_COMMAND, cmdarg::CMDARG_FILE, cmdarg::CMDARG_INIT_COMMAND, cmdarg::CMDARG_INIT_FILE, core_file_command(), current_directory, current_interp_named_p(), dbx_commands, debug_file_directory, DEBUGDIR, DEBUGDIR_RELOCATABLE, directory_switch(), do_cleanups(), error(), exec_file_attach(), execute_command(), external_editor_command, file_is_auto_load_safe(), fprintf_unfiltered(), fputs_unfiltered(), GDB_DATADIR, gdb_datadir, gdb_datadir_provided, GDB_DATADIR_RELOCATABLE, gdb_dirbuf, gdb_flush(), gdb_init(), gdb_program_name, gdb_realpath(), gdb_stderr, gdb_stdin, gdb_sysroot, gdbtk_test(), get_init_files(), global_auto_load, inhibit_gdbinit, init_history(), instream, INTERP_CONSOLE, INTERP_INSIGHT, interp_lookup(), INTERP_MI1, interp_set(), INTERP_TUI, captured_main_args::interpreter_p, interpreter_p, lim_at_start, load_auto_scripts_for_objfile(), make_cleanup(), make_command_stats_cleanup(), notice_open_fds(), p, PACKAGE, print_gdb_configuration(), print_gdb_help(), print_gdb_version(), printf_filtered(), python_libdir, quit_force(), readnow_symbol_files, relocate_gdb_directory(), remote_timeout, return_child_result, RETURN_MASK_ALL, safe_strerror(), saved_command_line, saved_command_line_size, set_inferior_args_vector(), set_inferior_io_terminal(), set_per_command_space(), set_per_command_time(), source_script(), stderr_fileopen(), stdio_fileopen(), cmdarg::string, symbol_file_add_main(), TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_RELOCATABLE, textdomain, cmdarg::type, ui_file_new(), use_windows, VEC, VEC_cleanup, VEC_iterate, VEC_safe_push, warning_pre_print, windows_get_absolute_argv0(), wrap_here(), write_files, xdb_commands, xfree(), xmalloc(), and xrealloc().
Referenced by gdb_main().
int gdb_main | ( | struct captured_main_args * | args | ) |
Definition at line 1073 of file main.c.
References captured_main(), catch_errors(), RETURN_MASK_ALL, captured_main_args::use_windows, and use_windows.
Referenced by main().
const char* get_gdb_program_name | ( | void | ) |
static void get_init_files | ( | const char ** | system_gdbinit, |
const char ** | home_gdbinit, | ||
const char ** | local_gdbinit | ||
) | [static] |
Definition at line 170 of file main.c.
References GDB_DATADIR, gdb_datadir, gdb_datadir_provided, gdb_program_name, gdbinit, memcmp(), memset(), p, relocate_path(), SYSTEM_GDBINIT, SYSTEM_GDBINIT_RELOCATABLE, xfree(), and xstrprintf().
Referenced by captured_main(), and print_gdb_help().
static void print_gdb_help | ( | struct ui_file * | stream | ) | [static] |
Definition at line 1088 of file main.c.
References _, fprintf_unfiltered(), fputs_unfiltered(), get_init_files(), and REPORT_BUGS_TO.
Referenced by captured_main().
char* relocate_gdb_directory | ( | const char * | initial, |
int | flag | ||
) |
Definition at line 131 of file main.c.
References gdb_program_name, relocate_path(), and xfree().
Referenced by captured_main().
static char* relocate_path | ( | const char * | progname, |
const char * | initial, | ||
int | flag | ||
) | [static] |
Definition at line 117 of file main.c.
References BINDIR.
Referenced by get_init_files(), and relocate_gdb_directory().
int batch_flag = 0 |
Definition at line 86 of file main.c.
Referenced by captured_main(), fputs_maybe_filtered(), init_page_info(), input_from_terminal_p(), and set_batch_flag_and_make_cleanup_restore_page_info().
int batch_silent = 0 |
Definition at line 89 of file main.c.
Referenced by captured_main(), gdb_setup_readline(), and normal_stop().
int dbx_commands = 0 |
Definition at line 59 of file main.c.
Referenced by _initialize_cli_cmds(), and captured_main().
char* gdb_datadir = 0 |
Definition at line 65 of file main.c.
Referenced by captured_main(), get_init_files(), init_main(), and VEC().
int gdb_datadir_provided = 0 [static] |
Definition at line 70 of file main.c.
Referenced by captured_main(), and get_init_files().
char* gdb_program_name [static] |
Definition at line 99 of file main.c.
Referenced by captured_main(), get_gdb_program_name(), get_init_files(), and relocate_gdb_directory().
struct ui_file* gdb_stderr |
ui_file stream for serious error notifications
Definition at line 77 of file main.c.
Referenced by _initialize_sol_thread(), ada_lookup_struct_elt_type(), add_language(), add_path(), annotate_error_begin(), arm_get_next_pc_raw(), arm_linux_copy_svc(), ATTRIBUTE_PRINTF(), avr_io_reg_read_command(), avr_scan_prologue(), can_dump_core(), captured_main(), catch_command_errors(), catch_command_errors_const(), catch_errors(), catch_exceptions_with_msg(), check_status_exception_catchpoint(), clear_complaints(), command_line_handler(), command_line_input(), core_open(), create_breakpoint(), cris_supply_gregset(), darwin_execvp(), dbx_psymtab_to_symtab_1(), dbx_read_symtab(), disable_current_display(), do_attach(), do_gdb_disassembly(), dos_close(), dos_setbaudrate(), dump_die_for_error(), dwarf2_build_psymtabs(), enable_breakpoint_disp(), error_clbk(), execute_command_to_string(), fetch_register(), find_new_threads_once(), find_oload_champ(), fork_inferior(), gdb_disable_readline(), gdb_os_evprintf_filtered(), gdb_setup_readline(), gdb_wait_for_event(), gdbsim_fetch_register(), gdbtk_call_wrapper(), gdbtk_command_loop(), gdbtk_fputs(), gdbtk_interpreter_resume(), get_core_registers(), handle_redirections(), hardwire_raw(), inf_ptrace_wait(), inferior_event_handler(), keep_going(), libunwind_load(), linux_child_follow_fork(), mep_gdbarch_init(), mi_interpreter_resume(), mips_check_lsi_error(), mips_common_breakpoint(), mips_eabi_return_value(), mips_error(), mips_expect_download(), mips_n32n64_return_value(), mips_o32_return_value(), mips_o64_return_value(), mips_xfer_register(), monitor_remove_breakpoint(), monitor_wait(), monitor_wait_filter(), monitor_write(), net_open(), parser_fprintf(), pmon_check_ack(), pmon_makeb64(), pop_all_targets_above(), pop_output_files(), print_flush(), print_sys_errmsg(), procfs_pidlist(), procfs_set_exec_trap(), procfs_store_registers(), ps_plog(), push_target(), range_error(), rank_one_type(), read_dbx_symtab(), reload_shared_libraries_1(), remote_get_noisy_reply(), remote_get_trace_status(), rs6000_wait(), s390_remove_watchpoint(), safe_execute_command(), safe_parse_type(), safe_symbol_file_add(), safe_symbol_file_add_cleanup(), save_gdb_index_command(), send_srec(), ser_base_read_error_fd(), set_logging_redirect(), shell_escape(), should_stop_exception(), skip_file_command(), skip_function_command(), solib_read_symbols(), solib_svr4_r_map(), source_gdb_script_for_objfile(), start_event_loop(), store_register(), target_is_pushed(), terminal_ours_1(), thread_db_find_new_threads_silently(), tui_alloc_source_buffer(), tui_initialize_io(), tui_setup_io(), update_solib_list(), varobj_create(), vwarning(), wait_for(), xcoff_psymtab_to_symtab_1(), and xcoff_read_symtab().
struct ui_file* gdb_stdlog |
Log/debug/trace messages that should bypass normal stdout/stderr filtering. For moment, always call this stream using _unfiltered. In the very near future that restriction shall be removed - either call shall be unfiltered. (cagney 1999-06-13).
Definition at line 78 of file main.c.
Referenced by aarch64_analyze_prologue(), aarch64_extract_return_value(), aarch64_handle_unaligned_watchpoint(), aarch64_linux_insert_hw_breakpoint(), aarch64_linux_insert_watchpoint(), aarch64_linux_prepare_to_resume(), aarch64_linux_remove_hw_breakpoint(), aarch64_linux_remove_watchpoint(), aarch64_push_dummy_call(), aarch64_return_value(), aarch64_show_debug_reg_state(), aarch64_store_return_value(), add_pe_exported_sym(), add_pe_forwarded_sym(), allocate_psymtab(), allocate_symtab(), 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(), arm_analyze_prologue(), arm_copy_alu_imm(), arm_copy_alu_reg(), arm_copy_alu_shifted_reg(), arm_copy_b_bl_blx(), arm_copy_block_xfer(), arm_copy_bx_blx_reg(), arm_copy_copro_load_store(), arm_copy_extra_ld_st(), arm_copy_ldr_str_ldrb_strb(), arm_copy_preload(), arm_copy_preload_reg(), arm_copy_svc(), arm_copy_undef(), arm_copy_unmodified(), arm_copy_unpred(), arm_displaced_init_closure(), arm_linux_cleanup_svc(), arm_linux_copy_svc(), arm_linux_displaced_step_copy_insn(), arm_pc_is_thumb(), arm_process_displaced_insn(), arm_process_record(), arm_push_dummy_call(), async_remote_interrupt(), async_remote_interrupt_twice(), auto_load_objfile_script(), auto_load_objfile_script_1(), auto_load_safe_path_vec_update(), bpstat_what(), build_table(), build_type_unit_groups(), cancel_breakpoint(), captured_mi_execute_command(), chain_candidate(), check_binary_download(), check_zombie_leaders(), cleanup_block_load_all(), cleanup_block_load_pc(), cleanup_block_store_pc(), cleanup_svc(), clear_proceed_status_thread(), context_switch(), create_debug_types_hash_table(), create_dwo_cu(), create_dwo_cu_reader(), create_dwo_unit_in_dwp_v1(), create_dwo_unit_in_dwp_v2(), create_new_frame(), create_sentinel_frame(), debug_can_evaluate_probe_arguments(), debug_print_register(), debug_qf_dump(), debug_qf_expand_all_symtabs(), debug_qf_expand_symtabs_for_function(), debug_qf_expand_symtabs_matching(), debug_qf_expand_symtabs_with_fullname(), debug_qf_find_last_source_symtab(), debug_qf_find_pc_sect_symtab(), debug_qf_forget_cached_source_info(), debug_qf_has_symbols(), debug_qf_lookup_symbol(), debug_qf_map_matching_symbols(), debug_qf_map_symbol_filenames(), debug_qf_map_symtabs_matching_filename(), debug_qf_print_stats(), debug_qf_relocate(), debug_reg_change_callback(), debug_sym_compile_to_ax(), debug_sym_evaluate_probe_argument(), debug_sym_finish(), debug_sym_get_probe_argument_count(), debug_sym_init(), debug_sym_new_init(), debug_sym_offsets(), debug_sym_read(), debug_sym_read_linetable(), debug_sym_read_psymbols(), debug_sym_relocate(), debug_sym_relocate_probe(), debug_to_can_accel_watchpoint_condition(), debug_to_can_run(), debug_to_can_use_hw_breakpoint(), debug_to_files_info(), debug_to_has_exited(), debug_to_insert_breakpoint(), debug_to_insert_exec_catchpoint(), debug_to_insert_fork_catchpoint(), debug_to_insert_hw_breakpoint(), debug_to_insert_vfork_catchpoint(), debug_to_insert_watchpoint(), debug_to_load(), debug_to_open(), debug_to_pid_to_exec_file(), debug_to_post_attach(), debug_to_post_startup_inferior(), debug_to_prepare_to_store(), debug_to_rcmd(), debug_to_region_ok_for_hw_watchpoint(), debug_to_remove_breakpoint(), debug_to_remove_exec_catchpoint(), debug_to_remove_fork_catchpoint(), debug_to_remove_hw_breakpoint(), debug_to_remove_vfork_catchpoint(), debug_to_remove_watchpoint(), debug_to_stop(), debug_to_stopped_by_watchpoint(), debug_to_stopped_data_address(), debug_to_terminal_inferior(), debug_to_terminal_info(), debug_to_terminal_init(), debug_to_terminal_ours(), debug_to_terminal_ours_for_output(), debug_to_terminal_save_ours(), debug_to_thread_architecture(), debug_to_watchpoint_addr_within_range(), decode_add_sub_imm(), decode_adrp(), decode_b(), decode_bcond(), decode_br(), decode_cb(), decode_eret(), decode_movz(), decode_orr_shifted_register_x(), decode_ret(), decode_stp_offset(), decode_stp_offset_wb(), decode_stur(), decode_tb(), deprecated_debug_xfer_memory(), detach_callback(), displaced_read_reg(), displaced_step_fixup(), displaced_step_prepare(), displaced_step_restore(), displaced_write_reg(), dsbt_current_sos(), dump_die(), dump_mem(), dwarf2_build_psymtabs_hard(), elf_symfile_read(), enable_break(), enable_break2(), execute_command_to_string(), fetch_regs_kernel_thread(), fetch_regs_user_thread(), file_is_auto_load_safe(), filename_is_in_auto_load_safe_path_vec(), filename_is_in_pattern_1(), find_unwind_entry(), fixup_riprel(), frame_debug_got_null_frame(), frame_id_eq(), frame_id_inner(), frame_id_p(), frame_unwind_arch(), frame_unwind_pc_if_available(), frame_unwind_register_value(), frv_current_sos(), gdb_cntrl_c(), gdb_disable_readline(), gdb_setup_readline(), 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_adjust_breakpoint_address(), gdbarch_auto_charset(), gdbarch_auto_wide_charset(), gdbarch_ax_pseudo_register_collect(), gdbarch_ax_pseudo_register_push_stack(), gdbarch_believe_pcc_promotion(), gdbarch_bfd_arch_info(), gdbarch_bits_big_endian(), gdbarch_breakpoint_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_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_regset_sections(), gdbarch_core_xfer_shared_libraries(), gdbarch_core_xfer_shared_libraries_aix(), gdbarch_decr_pc_after_break(), gdbarch_deprecated_fp_regnum(), gdbarch_deprecated_function_start_offset(), gdbarch_displaced_step_copy_insn(), gdbarch_displaced_step_fixup(), gdbarch_displaced_step_free_closure(), gdbarch_displaced_step_hw_singlestep(), gdbarch_displaced_step_location(), gdbarch_double_bit(), gdbarch_double_format(), gdbarch_dummy_id(), gdbarch_dwarf2_addr_size(), gdbarch_dwarf2_reg_to_regnum(), gdbarch_ecoff_reg_to_regnum(), gdbarch_elf_make_msymbol_special(), gdbarch_elfcore_write_linux_prpsinfo(), gdbarch_fast_tracepoint_valid_at(), gdbarch_fetch_pointer_argument(), gdbarch_fetch_tls_load_module_address(), gdbarch_find_by_info(), gdbarch_find_memory_regions(), gdbarch_float_bit(), gdbarch_float_format(), gdbarch_fp0_regnum(), gdbarch_frame_align(), gdbarch_frame_args_skip(), gdbarch_frame_num_args(), gdbarch_frame_red_zone_size(), gdbarch_gcore_bfd_target(), gdbarch_gdb_signal_from_target(), gdbarch_gdb_signal_to_target(), gdbarch_gen_return_address(), gdbarch_get_longjmp_target(), gdbarch_get_siginfo_type(), gdbarch_get_syscall_number(), 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_function_epilogue_p(), gdbarch_in_solib_return_trampoline(), gdbarch_info_proc(), gdbarch_inner_than(), gdbarch_int_bit(), gdbarch_integer_to_address(), gdbarch_iterate_over_objfiles_in_search_order(), gdbarch_long_bit(), gdbarch_long_double_bit(), gdbarch_long_double_format(), gdbarch_long_long_align_bit(), gdbarch_long_long_bit(), gdbarch_make_corefile_notes(), gdbarch_max_insn_length(), gdbarch_memory_insert_breakpoint(), gdbarch_memory_remove_breakpoint(), gdbarch_num_pseudo_regs(), gdbarch_num_regs(), gdbarch_osabi(), gdbarch_overlay_update(), gdbarch_pc_regnum(), gdbarch_pointer_to_address(), gdbarch_print_float_info(), gdbarch_print_insn(), gdbarch_print_registers_info(), gdbarch_print_vector_info(), gdbarch_process_record(), gdbarch_process_record_signal(), 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_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_regset_from_core_section(), gdbarch_relocate_instruction(), gdbarch_remote_breakpoint_from_pc(), gdbarch_remote_register_number(), gdbarch_return_in_first_hidden_param_p(), gdbarch_return_value(), gdbarch_sdb_reg_to_regnum(), gdbarch_short_bit(), gdbarch_single_step_through_delay(), gdbarch_skip_main_prologue(), gdbarch_skip_permanent_breakpoint(), gdbarch_skip_prologue(), gdbarch_skip_solib_resolver(), gdbarch_skip_trampoline_code(), 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_stap_gdb_register_prefix(), gdbarch_stap_gdb_register_suffix(), gdbarch_stap_integer_prefix(), gdbarch_stap_integer_suffix(), gdbarch_stap_is_single_operand(), gdbarch_stap_parse_special_token(), gdbarch_stap_register_indirection_prefix(), gdbarch_stap_register_indirection_suffix(), gdbarch_stap_register_prefix(), gdbarch_stap_register_suffix(), gdbarch_static_transform_name(), gdbarch_target_desc(), gdbarch_tdep(), gdbarch_unwind_pc(), gdbarch_unwind_sp(), gdbarch_update_p(), gdbarch_value_from_register(), gdbarch_value_to_register(), gdbarch_vbit_in_delta(), gdbarch_virtual_frame_pointer(), gdbarch_vtable_function_descriptors(), gdbarch_write_pc(), gdbsim_close(), gdbsim_create_inferior(), gdbsim_detach(), gdbsim_fetch_register(), gdbsim_files_info(), gdbsim_kill(), gdbsim_load(), gdbsim_mourn_inferior(), gdbsim_open(), gdbsim_resume_inferior(), gdbsim_store_register(), gdbsim_wait(), gdbsim_xfer_memory(), gdbtk_fputs(), gdbtk_interpreter_resume(), get_frame_func_if_available(), get_frame_id(), get_pending_status(), get_prev_frame_1(), get_prev_frame_raw(), getpkt_or_notif_sane_1(), handle_inferior_event(), handle_notification(), handle_redirections(), handle_syscall_event(), handle_vfork_child_exec_or_exit(), hppa_fallback_frame_cache(), hppa_frame_cache(), i386_displaced_step_copy_insn(), i386_displaced_step_fixup(), i386_process_record(), i386_relocate_instruction(), ia64_dummy_id(), ia64_frame_this_id(), ia64_sigtramp_frame_this_id(), init_cutu_and_read_dies(), init_cutu_and_read_dies_no_follow(), insert_exception_resume_breakpoint(), insert_exception_resume_from_probe(), insert_longjmp_resume_breakpoint(), insert_step_resume_breakpoint_at_sal_1(), install_minimal_symbols(), jit_bfd_try_read_symtab(), jit_breakpoint_re_set_internal(), jit_frame_sniffer(), jit_inferior_init(), jit_read_descriptor(), jit_reader_load(), jit_reader_try_read_symtab(), jit_register_code(), jit_unwind_reg_set_impl(), kill_callback(), kill_wait_callback(), lin_lwp_attach_lwp(), linux_child_follow_fork(), linux_handle_extended_wait(), linux_handle_syscall_trap(), linux_nat_attach(), linux_nat_detach(), linux_nat_filter_event(), linux_nat_post_attach_wait(), linux_nat_resume(), linux_nat_stop_lwp(), linux_nat_wait(), linux_nat_wait_1(), linux_thread_alive(), lm_base(), lookup_dwo_cutu(), m32r_close(), m32r_create_inferior(), m32r_detach(), m32r_fetch_register(), m32r_insert_breakpoint(), m32r_insert_watchpoint(), m32r_kill(), m32r_mourn_inferior(), m32r_open(), m32r_prepare_to_store(), m32r_remove_breakpoint(), m32r_remove_watchpoint(), m32r_resume(), m32r_stop(), m32r_store_register(), m32r_wait(), m32r_xfer_memory(), maybe_clear_ignore_sigint(), mi_cmd_var_create(), mi_interpreter_resume(), mips_eabi_push_dummy_call(), mips_expect_timeout(), mips_gdbarch_init(), mips_n32n64_push_dummy_call(), mips_o32_push_dummy_call(), mips_o64_push_dummy_call(), mips_readchar(), mips_receive_packet(), mips_xfer_register(), monitor_debug(), monitor_expect(), monitor_interrupt(), monitor_printf(), monitor_printf_noecho(), monitor_read_memory(), moxie_process_record(), nios2_analyze_prologue(), open_and_init_dwo_file(), open_and_init_dwp_file(), packet_ok(), parse_exp_in_context_1(), pass_in_v(), pass_in_x(), pass_on_stack(), pdc_alloc(), pdc_dealloc(), pdc_read_data(), pdc_read_regs(), pdc_realloc(), pdc_symbol_addrs(), pdc_write_data(), pdc_write_regs(), pop_output_files(), ppc_displaced_step_fixup(), prepare_for_detach(), prepare_to_proceed(), prepare_to_wait(), print_target_wait_results(), proceed(), proceed_after_vfork_done(), process_psymtab_comp_unit_reader(), process_queue(), ptrace_check(), push_stop_reply(), putpkt_binary(), puts_debug(), read_comp_units_from_section(), read_cutu_die_from_dwo(), read_die_and_siblings(), read_frame(), read_full_die(), read_pe_exported_syms(), 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_close(), record_full_core_kill(), record_full_exec_insn(), record_full_get_bookmark(), record_full_goto_bookmark(), record_full_open(), record_full_open_1(), record_full_restore(), record_full_save(), record_full_sig_handler(), record_full_wait_1(), record_full_xfer_partial(), record_linux_msghdr(), record_linux_sockaddr(), record_linux_system_call(), reinit_frame_cache(), remote_notif_ack(), remote_notif_get_pending_events(), remote_notif_parse(), remote_notif_remove_queued_reply(), remote_stop(), reschedule(), resume(), resume_lwp(), resume_stopped_resumed_lwps(), s390_displaced_step_fixup(), sdireset_command(), sdistatus_command(), select_event_lwp(), send_g_packet(), ser_base_async(), serial_readchar(), serial_write(), set_logging_redirect(), sigchld_handler(), simple_displaced_step_copy_insn(), solib_aix_free_so(), solib_aix_get_toc_value(), stap_parse_probe_arguments(), stop_and_resume_callback(), stop_callback(), stop_stepping(), stop_wait_callback(), store_regs_kernel_thread(), store_regs_user_thread(), tailcall_dump(), target_attach(), target_close(), target_core_of_thread(), target_create_inferior(), target_detach(), target_disconnect(), target_fileio_close(), target_fileio_open(), target_fileio_pread(), target_fileio_pwrite(), target_fileio_readlink(), target_fileio_unlink(), target_find_new_threads(), target_flash_done(), target_flash_erase(), target_follow_fork(), target_get_section_table(), target_info_proc(), target_insert_mask_watchpoint(), target_kill(), target_mourn_inferior(), target_pass_signals(), target_program_signals(), target_remove_mask_watchpoint(), target_resume(), target_search_memory(), target_thread_address_space(), target_thread_alive(), target_verify_memory(), target_wait(), target_xfer_partial(), thumb2_copy_alu_imm(), thumb2_copy_b_bl_blx(), thumb2_copy_block_xfer(), thumb2_copy_copro_load_store(), thumb2_copy_load_literal(), thumb2_copy_load_reg_imm(), thumb2_copy_preload(), thumb2_copy_table_branch(), thumb_32bit_copy_undef(), thumb_analyze_prologue(), thumb_copy_16bit_ldr_literal(), thumb_copy_alu_reg(), thumb_copy_b(), thumb_copy_bx_blx_reg(), thumb_copy_cbnz_cbz(), thumb_copy_pc_relative_32bit(), thumb_copy_pop_pc_16bit(), thumb_copy_svc(), thumb_copy_unmodified_16bit(), thumb_copy_unmodified_32bit(), thumb_decode_pc_relative_16bit(), thumb_process_displaced_insn(), tui_setup_io(), uninstall_variable(), value_fetch_lazy(), VEC(), vfprintf_unfiltered(), wait_for_inferior(), wait_lwp(), and xtensa_push_dummy_call().
struct ui_file* gdb_stdout |
ui_file stream for normal results
Definition at line 76 of file main.c.
Referenced by _initialize_cli_interp(), ada_lookup_struct_elt_type(), address_info(), agent_eval_command_one(), append_command(), apropos_command(), args_info(), ATTRIBUTE_PRINTF(), backtrace_command_1(), binary_append_command(), binary_dump_command(), call_site_find_chain(), child_terminal_info(), cli_interpreter_exec(), cli_interpreter_resume(), command_line_handler(), command_line_input(), darwin_attach(), darwin_detach(), dbx_psymtab_to_symtab_1(), dbx_read_symtab(), deprecated_show_value_hack(), describe_other_breakpoints(), display_gdb_prompt(), display_info(), do_examine(), do_one_display(), do_show_command(), dump_command(), dump_fn_fieldlists(), dump_objfile(), dump_psymtabs_for_objfile(), dwarf2_evaluate_loc_desc_full(), dwarf2_read_symtab(), dwarf2_tailcall_sniffer_first(), echo_command(), execute_command_to_string(), extended_remote_attach_1(), fbsd_find_memory_regions(), find_command(), finish_command_continuation(), float_info(), follow_exec(), fork_inferior(), fputs_maybe_filtered(), frame_info(), gcore_command(), gcore_create_callback(), gdb_disable_readline(), gdb_disassembly(), gdb_os_printf_filtered(), gdb_os_vprintf_filtered(), gdb_readline(), gdb_setup_readline(), gdb_wait_for_event(), gdbtk_call_wrapper(), gdbtk_interpreter_resume(), gdbtk_load_asm(), gdbtk_readline(), generic_load(), get_set_value(), gnu_attach(), gnu_detach(), go32_info_dos_command(), handle_command(), handle_inferior_event(), handle_redirections(), help_command(), ihex_dump_command(), inf_ptrace_attach(), inf_ptrace_detach(), info_auxv_command(), info_checkpoints_command(), info_command(), info_common_command_for_block(), info_macro_command(), info_spu_command(), info_w32_command(), init_page_info(), insert_bp_location(), jump_command(), line_info(), list_overlays_command(), load_srec(), locals_info(), m2_printstr(), m32r_load(), m32r_load_section(), m32r_upload_command(), macro_command(), macro_expand_command(), macro_expand_once_command(), maint_agent_printf_command(), maint_cplus_command(), maintenance_check_psymtabs(), maintenance_command(), maintenance_info_command(), maintenance_info_psymtabs(), maintenance_print_architecture(), maintenance_print_command(), maintenance_print_dummy_frames(), maintenance_print_reggroups(), maintenance_set_cmd(), mdebug_build_psymtabs(), mdebug_read_symtab(), mem_info_command(), mi_execute_cli_command(), mi_interpreter_init(), mi_interpreter_resume(), mips_error(), mips_xfer_memory(), output_command_const(), output_source_filename(), overlay_command(), pop_output_files(), print_any_exception(), print_command_1(), print_cplus_stuff(), print_disassembly(), print_flush(), print_frame(), print_frame_arg_vars(), print_frame_info(), print_macro_definition(), print_one_macro(), print_one_vtable(), print_packet(), print_symbol_info(), print_sys_errmsg(), printf_command(), printf_filtered(), printf_unfiltered(), printfi_filtered(), proceed(), procfs_attach(), procfs_detach(), psymtab_to_symtab_1(), putchar_filtered(), putchar_unfiltered(), puts_filtered(), puts_filtered_tabular(), puts_unfiltered(), read_command_lines(), recursive_dump_type(), regcache_print(), registers_info(), remote_command(), remote_detach_1(), require_partial_symbols(), safe_symbol_file_add(), safe_symbol_file_add_cleanup(), save_command(), say_where(), scope_info(), serial_set_cmd(), set_ada_command(), set_architecture(), set_arm_command(), set_backtrace_cmd(), set_check(), set_dcache_command(), set_debug(), set_dwarf2_cmd(), set_endian(), set_history(), set_logging_off(), set_logging_redirect(), set_mips_command(), set_powerpc_command(), set_print(), set_print_raw(), set_print_type(), set_ravenscar_command(), set_record_command(), set_record_full_command(), set_remote_cmd(), set_sh_command(), set_spu_command(), set_tcp_cmd(), set_tdesc_cmd(), show_case_command(), show_configuration(), show_convenience(), show_inferior_tty_command(), show_language_command(), show_mips_command(), show_pp_source_pos(), show_range_command(), show_sh_command(), show_spu_command(), show_tcp_cmd(), show_user(), show_user_1(), show_values(), show_version(), srec_dump_command(), symbol_file_add_with_addrs(), target_command(), tekhex_dump_command(), trace_find_line_command(), tui_allowed_p(), tui_command(), tui_init(), tui_initialize_io(), tui_reg_command(), tui_register_format(), tui_restore_gdbout(), tui_resume(), tui_setup_io(), unset_command(), unset_tdesc_cmd(), unwind_command(), user_select_syms(), user_set_python(), vector_info(), vprintf_filtered(), vprintf_unfiltered(), vwarning(), whatis_exp(), windows_attach(), windows_detach(), wrap_here(), xcoff_psymtab_to_symtab_1(), and xcoff_read_symtab().
struct ui_file* gdb_stdtarg |
Target output that should bypass normal stdout/stderr filtering. For moment, always call this stream using *_unfiltered. In the very near future that restriction shall be removed - either call shall be unfiltered. (cagney 1999-07-02).
Definition at line 82 of file main.c.
Referenced by do_monitor_command(), execute_command_to_string(), gdb_disable_readline(), gdb_os_flush_stdout(), gdb_os_write_stdout(), gdb_setup_readline(), gdbtk_fputs(), gdbtk_interpreter_resume(), handle_redirections(), mi_interpreter_resume(), mips_receive_header(), pop_output_files(), remote_console_output(), remote_fileio_func_write(), set_logging_redirect(), and tui_setup_io().
struct ui_file* gdb_stdtargerr |
Definition at line 83 of file main.c.
Referenced by execute_command_to_string(), gdb_disable_readline(), gdb_os_flush_stderr(), gdb_os_write_stderr(), gdb_setup_readline(), handle_redirections(), mi_interpreter_resume(), pop_output_files(), remote_fileio_func_write(), set_logging_redirect(), and tui_setup_io().
struct ui_file* gdb_stdtargin |
Definition at line 81 of file main.c.
Referenced by gdbtk_interpreter_resume(), gdbtk_read(), and remote_fileio_func_read().
char* gdb_sysroot = 0 |
Definition at line 62 of file main.c.
Referenced by _initialize_solib(), captured_main(), find_separate_debug_file(), follow_exec(), gdbsim_open(), and solib_find().
char* interpreter_p |
Definition at line 53 of file main.c.
Referenced by _initialize_tui_interp(), captured_main(), and interp_set().
char* python_libdir = 0 |
Definition at line 74 of file main.c.
Referenced by _initialize_python(), and captured_main().
Definition at line 94 of file main.c.
Referenced by captured_main(), and quit_force().
Definition at line 95 of file main.c.
Referenced by print_exited_reason(), and quit_force().
int xdb_commands = 0 |
Definition at line 56 of file main.c.
Referenced by _initialize_cli_cmds(), _initialize_tui_layout(), _initialize_tui_regs(), _initialize_tui_win(), captured_main(), command_line_is_silent(), find_command_name_length(), and initialize_utils().