|
GDB (xrefs)
|
#include "common-defs.h"#include <sys/types.h>#include <limits.h>#include <unistd.h>#include <fcntl.h>#include "gdb_wchar.h"#include "ui-file.h"#include "host-defs.h"#include "common/enum-flags.h"#include "hashtab.h"#include "nm.h"#include "fopen-bin.h"#include "gdbarch.h"#include "utils.h"Go to the source code of this file.
Macros | |
| #define | GCC_GENERATED_STDINT_H 1 |
| #define | SEEK_SET 0 |
| #define | SEEK_CUR 1 |
| #define | O_BINARY 0 |
| #define | QUIT maybe_quit () |
| #define | LANGUAGE_BITS 5 |
| #define | OPF_TRY_CWD_FIRST 0x01 |
| #define | OPF_SEARCH_IN_PATH 0x02 |
| #define | OPF_RETURN_REALPATH 0x04 |
| #define | UINT_MAX ((unsigned int)(~0)) /* 0xFFFFFFFF for 32-bits */ |
| #define | INT_MAX ((int)(UINT_MAX >> 1)) /* 0x7FFFFFFF for 32-bits */ |
| #define | INT_MIN ((int)((int) ~0 ^ INT_MAX)) /* 0x80000000 for 32-bits */ |
| #define | ULONG_MAX ((unsigned long)(~0L)) /* 0xFFFFFFFF for 32-bits */ |
| #define | LONG_MAX ((long)(ULONG_MAX >> 1)) /* 0x7FFFFFFF for 32-bits */ |
| #define | ULONGEST_MAX (~(ULONGEST)0) /* 0xFFFFFFFFFFFFFFFF for 64-bits */ |
| #define | LONGEST_MAX ((LONGEST)(ULONGEST_MAX >> 1)) |
| #define | ISATTY(FP) (isatty (fileno (FP))) |
| #define | GDB_MI_MSG_WIDTH 80 |
Typedefs | |
| template<typename T > | |
| using | RequireLongest = gdb::Requires< gdb::Or< std::is_same< T, LONGEST >, std::is_same< T, ULONGEST > >> |
| typedef void() | quit_handler_ftype(void) |
| typedef void | initialize_file_ftype(void) |
| typedef int(* | find_memory_region_ftype) (CORE_ADDR addr, unsigned long size, int read, int write, int exec, int modified, void *data) |
Functions | |
| int | check_quit_flag (void) |
| void | set_quit_flag (void) |
| void | default_quit_handler (void) |
| void | quit (void) |
| void | maybe_quit (void) |
| void | quit_serial_event_set (void) |
| void | quit_serial_event_clear (void) |
| gdb_static_assert (nr_languages<=(1<< LANGUAGE_BITS)) | |
| char * | relocate_gdb_directory (const char *initial, int flag) |
| EXTERN_C char * | re_comp (const char *) |
| void | symbol_file_command (const char *, int) |
| void | generic_load (const char *name, int from_tty) |
| char * | gdb_readline_wrapper (const char *) |
| char * | command_line_input (const char *, int, const char *) |
| void | print_prompt (void) |
| int | input_interactive_p (struct ui *) |
| void | set_next_address (struct gdbarch *, CORE_ADDR) |
| int | print_address_symbolic (struct gdbarch *, CORE_ADDR, struct ui_file *, int, const char *) |
| int | build_address_symbolic (struct gdbarch *, CORE_ADDR addr, int do_demangle, char **name, int *offset, char **filename, int *line, int *unmapped) |
| void | print_address (struct gdbarch *, CORE_ADDR, struct ui_file *) |
| const char * | pc_prefix (CORE_ADDR) |
| int | openp (const char *, int, const char *, int, char **) |
| int | source_full_path_of (const char *, char **) |
| void | mod_path (const char *, char **) |
| void | add_path (const char *, char **, int) |
| void | directory_switch (const char *, int) |
| void | init_source_path (void) |
| int | longest_to_int (LONGEST) |
| template<typename T , typename = RequireLongest<T>> | |
| T | extract_integer (const gdb_byte *addr, int len, enum bfd_endian byte_order) |
| static LONGEST | extract_signed_integer (const gdb_byte *addr, int len, enum bfd_endian byte_order) |
| static ULONGEST | extract_unsigned_integer (const gdb_byte *addr, int len, enum bfd_endian byte_order) |
| int | extract_long_unsigned_integer (const gdb_byte *, int, enum bfd_endian, LONGEST *) |
| CORE_ADDR | extract_typed_address (const gdb_byte *buf, struct type *type) |
| template<typename T , typename = RequireLongest<T>> | |
| void | store_integer (gdb_byte *addr, int len, enum bfd_endian byte_order, T val) |
| static void | store_signed_integer (gdb_byte *addr, int len, enum bfd_endian byte_order, LONGEST val) |
| static void | store_unsigned_integer (gdb_byte *addr, int len, enum bfd_endian byte_order, ULONGEST val) |
| void | store_typed_address (gdb_byte *buf, struct type *type, CORE_ADDR addr) |
| void | copy_integer_to_size (gdb_byte *dest, int dest_size, const gdb_byte *source, int source_size, bool is_signed, enum bfd_endian byte_order) |
| ULONGEST | read_unsigned_leb128 (bfd *, const gdb_byte *, unsigned int *) |
| void | initialize_progspace (void) |
| void | initialize_inferiors (void) |
| DEF_ENUM_FLAGS_TYPE (enum user_selected_what_flag, user_selected_what) | |
Variables | |
| int | dbx_commands |
| char * | gdb_sysroot |
| char * | gdb_datadir |
| char * | python_libdir |
| char * | debug_file_directory |
| quit_handler_ftype * | quit_handler |
| volatile int | sync_quit_force_run |
| int | annotation_level |
| int | info_verbose |
| char * | source_path |
| char * | current_directory |
| unsigned | input_radix |
| unsigned | output_radix |
| int | watchdog |
| char * | interpreter_p |
| void(* | deprecated_pre_add_symbol_hook )(const char *) |
| void(* | deprecated_post_add_symbol_hook )(void) |
| void(* | selected_frame_level_changed_hook )(int) |
| int(* | deprecated_ui_loop_hook )(int signo) |
| void(* | deprecated_show_load_progress )(const char *section, unsigned long section_sent, unsigned long section_size, unsigned long total_sent, unsigned long total_size) |
| void(* | deprecated_print_frame_info_listing_hook )(struct symtab *s, int line, int stopline, int noerror) |
| int(* | deprecated_query_hook )(const char *, va_list) ATTRIBUTE_FPTR_PRINTF(1 |
| int(*) void(* | deprecated_warning_hook )(const char *, va_list) ATTRIBUTE_FPTR_PRINTF(1 |
| int(*) void(*) void(* | deprecated_interactive_hook )(void) |
| void(* | deprecated_readline_begin_hook )(const char *,...) ATTRIBUTE_FPTR_PRINTF_1 |
| char *(* | deprecated_readline_hook )(const char *) |
| void(* | deprecated_readline_end_hook )(void) |
| void(* | deprecated_context_hook )(int) |
| ptid_t(* | deprecated_target_wait_hook )(ptid_t ptid, struct target_waitstatus *status, int options) |
| void(* | deprecated_attach_hook )(void) |
| void(* | deprecated_detach_hook )(void) |
| void(* | deprecated_call_command_hook )(struct cmd_list_element *c, const char *cmd, int from_tty) |
| int(* | deprecated_ui_load_progress_hook )(const char *section, unsigned long num) |
| #define GDB_MI_MSG_WIDTH 80 |
A width that can achieve a better legibility for GDB MI mode.
Definition at line 675 of file defs.h.
Referenced by ser_base_read_error_fd().
| #define INT_MAX ((int)(UINT_MAX >> 1)) /* 0x7FFFFFFF for 32-bits */ |
Definition at line 477 of file defs.h.
Referenced by btrace_compute_ftrace_bts(), btrace_compute_src_line_range(), command_size_to_target_size(), do_set_command(), do_show_command(), dwarf_reg_to_regnum_or_error(), extract_arg(), find_slot(), ftrace_compute_global_level_offset(), gdb_display_match_list_1(), gdbpy_parameter_value(), tid_range_parser::get_tid_or_range(), init_history(), m68hc11_initialize_register_info(), c_str_view_hasher::operator()(), producer_is_gcc_ge_4(), remote_hostio_fstat(), set_parameter_value(), set_screen_size(), sh_push_dummy_call_fpu(), sh_push_dummy_call_nofpu(), spu_bfd_iovec_stat(), tdesc_start_enum_value(), to_fixed_range_type(), and validate_history_size().
| #define INT_MIN ((int)((int) ~0 ^ INT_MAX)) /* 0x80000000 for 32-bits */ |
Definition at line 481 of file defs.h.
Referenced by arc_insn_get_operand_value_signed(), btrace_compute_src_line_range(), do_set_command(), extract_arg(), and set_parameter_value().
| #define ISATTY | ( | FP | ) | (isatty (fileno (FP))) |
Definition at line 671 of file defs.h.
Referenced by gdb_readline_no_editing_callback(), and gdb_setup_readline().
| #define LONG_MAX ((long)(ULONG_MAX >> 1)) /* 0x7FFFFFFF for 32-bits */ |
Definition at line 489 of file defs.h.
Referenced by extract_arg(), gdbscm_set_breakpoint_hit_count_x(), gdbscm_set_breakpoint_ignore_count_x(), gdbscm_set_breakpoint_task_x(), gdbscm_set_breakpoint_thread_x(), read_huge_number(), and read_range_type().
| #define LONGEST_MAX ((LONGEST)(ULONGEST_MAX >> 1)) |
Definition at line 497 of file defs.h.
Referenced by rust_subscript().
| #define O_BINARY 0 |
Definition at line 106 of file defs.h.
Referenced by child_terminal_info(), core_open(), exec_file_attach(), fileio_to_host_openflags(), gdb_bfd_open(), openp(), remote_fileio_oflags_to_host(), solib_find_1(), symfile_bfd_open(), tfile_open(), and try_open_dwop_file().
| #define OPF_RETURN_REALPATH 0x04 |
Definition at line 347 of file defs.h.
Referenced by find_and_open_script(), find_and_open_source(), nto_find_and_open_solib(), openp(), solib_find_1(), source_full_path_of(), symfile_bfd_open(), and try_open_dwop_file().
| #define OPF_SEARCH_IN_PATH 0x02 |
Definition at line 346 of file defs.h.
Referenced by find_and_open_script(), find_and_open_source(), openp(), source_full_path_of(), and try_open_dwop_file().
| #define OPF_TRY_CWD_FIRST 0x01 |
Definition at line 345 of file defs.h.
Referenced by exec_file_attach(), find_and_open_script(), nto_find_and_open_solib(), openp(), solib_find_1(), source_full_path_of(), and symfile_bfd_open().
| #define QUIT maybe_quit () |
Definition at line 179 of file defs.h.
Referenced by ada_collect_symbol_completion_matches(), ada_val_print_enum(), add_symtab_completions(), adi_print_versions(), amd64_windows_frame_decode_epilogue(), amd64_windows_frame_decode_insns(), async_request_quit(), backtrace_command_1(), breakpoint_1(), c_type_print_base_1(), c_type_print_base_struct_union(), c_type_print_varspec_prefix(), c_type_print_varspec_suffix(), coff_symtab_read(), collection_list::collect_symbol(), cp_find_class_member(), default_collect_symbol_completion_matches_break_on(), do_examine(), dos_readchar(), dos_write(), dump_insns(), dump_psymtab_addrmap_1(), dw_expand_symtabs_matching_file_matcher(), encode_actions_1(), execute_control_command_1(), dwarf_expr_context::execute_stack_op(), f_type_print_base(), f_type_print_varspec_prefix(), f_type_print_varspec_suffix(), find_methods(), follow_static_link(), gdb_bfd_iovec_fileio_pread(), gdb_readline_no_editing(), generic_printstr(), generic_val_print_enum_1(), get_hosting_frame(), info_classes_command(), info_scope_command(), info_selectors_command(), info_signals_command(), info_skip_command(), m2_enum(), m2_print_type(), m2_printstr(), m2_record_fields(), maintenance_check_symtabs(), maintenance_info_line_tables(), maintenance_info_psymtabs(), maintenance_info_symtabs(), maintenance_print_msymbols(), maintenance_print_objfiles(), maintenance_print_psymbols(), maintenance_print_symbols(), make_symbol_overload_list_qualified(), mi_cmd_stack_info_depth(), mi_cmd_stack_list_args(), mi_cmd_stack_list_frames(), need_access_label_p(), pascal_printstr(), pascal_type_print_base(), pascal_type_print_varspec_prefix(), pascal_type_print_varspec_suffix(), print_enum_type(), print_frame(), print_frame_args(), print_frame_nameless_args(), print_object_command(), print_objfile_statistics(), print_partial_symbols(), print_selected_record_field_types(), print_symbol_bcache_statistics(), printf_c_string(), printf_wide_c_string(), printstr(), psym_expand_symtabs_matching(), psym_map_matching_symbols(), psym_map_symbol_filenames(), read_dbx_symtab(), read_memory_object(), read_memory_robust(), read_ofile_symtab(), read_string(), read_value_memory(), read_xcoff_symtab(), recursively_search_psymtabs(), remote_download_command_source(), remote_download_tracepoint(), remote_get_noisy_reply(), remote_rcmd(), remote_start_remote(), rust_print_struct_def(), rust_print_type(), scan_file_globals(), scan_xcoff_symtab(), search_symbols(), ser_base_wait_for(), ser_base_write(), simple_verify_memory(), stdin_event_handler(), collection_list::stringify(), symbol_cache_dump(), symbol_cache_stats(), symtab_symbol_info(), target_fileio_read_alloc_1(), target_read(), target_read_alloc_1(), target_write_with_progress(), trace_dump_actions(), val_print(), and validate_actionline().
| #define SEEK_CUR 1 |
Definition at line 96 of file defs.h.
Referenced by ctf_save_align_write(), ctf_save_fseek(), ctf_write_frame_start(), fork_save_infrun_state(), gdbscm_memory_port_end_input(), gdbscm_memory_port_seek(), ioscm_lseek_address(), remote_fileio_func_read(), remote_fileio_seek_flag_to_host(), stabs_seek(), tfile_trace_find(), tfile_xfer_partial(), and traceframe_walk_blocks().
| #define SEEK_SET 0 |
Definition at line 93 of file defs.h.
Referenced by coffstab_build_psymtabs(), ctf_save_fseek(), ctf_save_next_packet(), ctf_write_frame_end(), dbx_psymtab_to_symtab_1(), dbx_symfile_init(), dbx_symfile_read(), dwarf2_read_section(), elfstab_build_psymtabs(), enter_line_range(), fill_symbuf(), fork_load_infrun_state(), gdbscm_disasm_read_memory_worker(), get_file_crc(), inf_child_fileio_pread(), inf_child_fileio_pwrite(), init_stringtab(), ioscm_lseek_address(), linux_proc_xfer_partial(), linux_proc_xfer_spu(), lzma_open(), lzma_pread(), pe_get16(), pe_get32(), pe_text_section_offset(), proc_get_status(), procfs_xfer_auxv(), procfs_xfer_memory(), read_pe_exported_syms(), read_program_headers_from_bfd(), remote_fileio_seek_flag_to_host(), restore_binary_file(), spu_proc_xfer_spu(), tfile_get_traceframe_address(), tfile_trace_find(), traceframe_walk_blocks(), and xcoff_initial_scan().
| #define UINT_MAX ((unsigned int)(~0)) /* 0xFFFFFFFF for 32-bits */ |
Optional native machine support. Non-native (and possibly pure multi-arch) targets do not need a "nm.h" file. This will be a symlink to one of the nm-*.h files, built by the ‘configure’ script.
Definition at line 473 of file defs.h.
Referenced by c_get_string(), call0_analyze_prologue(), call0_frame_cache(), command_size_to_target_size(), do_set_command(), do_show_command(), extract_arg(), fputs_maybe_filtered(), gdbpy_parameter_value(), get_uint(), init_page_info(), pascm_param_value(), pascm_set_param_value_x(), puts_filtered_tabular(), set_parameter_value(), val_print_array_elements(), validate_history_size(), and wrap_here().
| #define ULONG_MAX ((unsigned long)(~0L)) /* 0xFFFFFFFF for 32-bits */ |
Definition at line 485 of file defs.h.
Referenced by extract_arg().
| #define ULONGEST_MAX (~(ULONGEST)0) /* 0xFFFFFFFFFFFFFFFF for 64-bits */ |
Definition at line 493 of file defs.h.
Referenced by mi_cmd_trace_frame_collected(), record_btrace_call_history_from(), record_btrace_insn_history_from(), and tdefault_get_memory_xfer_limit().
| typedef int(* find_memory_region_ftype) (CORE_ADDR addr, unsigned long size, int read, int write, int exec, int modified, void *data) |
Process memory area starting at ADDR with length SIZE. Area is readable iff READ is non-zero, writable if WRITE is non-zero, executable if EXEC is non-zero. Area is possibly changed against its original file based copy if MODIFIED is non-zero. DATA is passed without changes from a caller.
| using RequireLongest = gdb::Requires<gdb::Or<std::is_same<T, LONGEST>, std::is_same<T, ULONGEST> >> |
| anonymous enum |
| enum auto_boolean |
| enum block_enum |
| enum gdb_osabi |
List of known OS ABIs. If you change this, make sure to update the table in osabi.c.
| enum info_proc_what |
Parameters of the "info proc" command.
| enum language |
Languages represented in the symbol table and elsewhere. This should probably be in language.h, but since enum's can't be forward declared to satisfy opaque references before their actual definition, needs to be here.
The constants here are in priority order. In particular, demangling is attempted according to this order.
Note that there's ambiguity between the mangling schemes of some of these languages, so some symbols could be successfully demangled by several languages. For that reason, the constants here are sorted in the order we'll attempt demangling them. For example: Rust uses C++ mangling, so must come after C++; Ada must come last (see ada_sniff_from_mangled_name). (Keep this order in sync with the 'languages' array in language.c.)
| enum lval_type |
Possible lvalue types. Like enum language, this should be in value.h, but needs to be here for the same reason.
| enum precision_type |
Potential ways that a function can return a value of a given type.
| enum symbol_needs_kind |
| enum val_prettyformat |
Possibilities for prettyformat parameters to routines which print things. Like enum language, this should be in value.h, but needs to be here for the same reason. FIXME: If we can eliminate this as an arg to LA_VAL_PRINT, then we can probably move it back to value.h.
| Enumerator | |
|---|---|
| Val_no_prettyformat | |
| Val_prettyformat | |
| Val_prettyformat_default | Use the default setting which the user has specified. |
| void add_path | ( | const char * | , |
| char ** | , | ||
| int | |||
| ) |
Definition at line 460 of file source.c.
References _, cleanup::arg, gdb::argv, current_directory, DIRNAME_SEPARATOR, dirnames_to_char_ptr_vec_append(), do_cleanups(), fprintf_unfiltered(), gdb_stderr, make_cleanup(), make_cleanup_free_char_ptr_vec(), name, print_sys_errmsg(), savestring(), SLASH_STRING, VEC, VEC_iterate, VEC_safe_push, warning(), and xfree().
Referenced by directory_switch(), env_mod_path(), and mod_path().
| int build_address_symbolic | ( | struct 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().
| int check_quit_flag | ( | void | ) |
Evaluate to non-zero if the quit flag is set, zero otherwise. This will clear the quit flag as a side effect.
Definition at line 828 of file extension.c.
References ALL_ENABLED_EXTENSION_LANGUAGES, extension_language_ops::check_quit_flag, extension_language_defn::ops, quit_flag, and quit_serial_event_clear().
Referenced by default_quit_handler(), gdb_os_poll_quit(), target_terminal::inferior(), load_progress(), remote_fileio_quit_handler(), remote_fileio_reply(), remote_serial_quit_handler(), restore_active_ext_lang(), and set_active_ext_lang().
| char* command_line_input | ( | const char * | , |
| int | , | ||
| const char * | |||
| ) |
Definition at line 1173 of file top.c.
References annotation_level, buffer_init(), command_editing_p, current_ui, deprecated_readline_hook, gdb_flush(), gdb_readline_no_editing(), gdb_readline_wrapper(), gdb_stderr, gdb_stdout, handle_line_of_input(), input_interactive_p(), ui::instream, job_control, puts_unfiltered(), source_file_name, source_line_number, ui::stdin_stream, buffer::used_size, and wrap_here().
Referenced by decode_line_2(), gdbpy_readline_wrapper(), get_selections(), read_command_file(), and read_next_line().
| void copy_integer_to_size | ( | gdb_byte * | dest, |
| int | dest_size, | ||
| const gdb_byte * | source, | ||
| int | source_size, | ||
| bool | is_signed, | ||
| enum bfd_endian | byte_order | ||
| ) |
Definition at line 224 of file findvar.c.
References memset().
Referenced by regcache::raw_collect_integer(), and regcache::raw_supply_integer().
| DEF_ENUM_FLAGS_TYPE | ( | enum | user_selected_what_flag, |
| user_selected_what | |||
| ) |
| void default_quit_handler | ( | void | ) |
Definition at line 950 of file event-top.c.
References check_quit_flag(), target_terminal::is_ours(), quit(), and target_pass_ctrlc().
| void directory_switch | ( | const char * | , |
| int | |||
| ) |
Definition at line 440 of file source.c.
References add_path(), and source_path.
Referenced by captured_main_1().
| T extract_integer | ( | const gdb_byte * | addr, |
| int | len, | ||
| enum bfd_endian | byte_order | ||
| ) |
Definition at line 104 of file findvar.c.
References extract_unsigned_integer().
|
inlinestatic |
Definition at line 570 of file defs.h.
References extract_integer< LONGEST >().
Referenced by aarch64_linux_get_syscall_number(), amd64_linux_get_syscall_number(), amd64_relocate_instruction(), amd64_skip_main_prologue(), amd64_windows_frame_decode_epilogue(), bfin_linux_get_syscall_number(), BP_MANIPULATION_ENDIAN(), compute_stack_depth_worker(), cp_print_class_member(), decode_debug_loc_addresses(), decode_debug_loclists_addresses(), disassemble_dwarf_expression(), do_compile_dwarf_expr_to_c(), dwarf2_compile_expr_to_ax(), dwarf2_locexpr_baton_eval(), dwarf_expr_context::execute_stack_op(), fbsd_core_xfer_siginfo(), find_extant_func_descr(), frame_unwind_register_signed(), frv_analyze_prologue(), gnuv3_decode_method_ptr(), hppa_linux_find_global_pointer(), hppabsd_find_global_pointer(), i386_linux_get_syscall_number_from_regcache(), i386_record_lea_modrm_addr(), i386_relocate_instruction(), i386_skip_main_prologue(), ia64_find_global_pointer_from_dynamic_section(), indirect_pieced_value(), mips_eabi_push_dummy_call(), mips_get_mips16_fn_stub_pc(), mips_integer_to_address(), mips_linux_get_syscall_number(), mips_n32n64_push_dummy_call(), mips_o32_push_dummy_call(), mips_o64_push_dummy_call(), mips_pseudo_register_write(), mn10300_analyze_prologue(), mt_select_coprocessor(), ppc_linux_get_syscall_number(), ppc_linux_spe_context(), read_code_integer(), read_memory_integer(), record_linux_system_call(), rs6000_aix_extract_ld_info(), s390_displaced_step_copy_insn(), s390_handle_arg(), s390_register_return_value(), safe_read_memory_integer(), signed_pointer_to_address(), sparc32_linux_get_syscall_number(), sparc64_linux_get_syscall_number(), tfile_get_trace_state_variable_value(), tfile_get_traceframe_address(), tfile_trace_find(), trace_save(), and unpack_long().
Definition at line 154 of file findvar.c.
References _, gdbarch_pointer_to_address(), get_type_arch(), internal_error(), TYPE_CODE, TYPE_CODE_PTR, and TYPE_IS_REFERENCE.
Referenced by ada_val_print_num(), amd64_get_longjmp_target(), c_val_print_ptr(), c_val_print_struct(), cp_print_value_fields(), darwin_current_sos(), darwin_load_image_infos(), darwin_read_exec_load_addr_from_dyld(), elf_gnu_ifunc_resolve_by_got(), elf_locate_base(), get_running_thread_id(), gnuv3_decode_method_ptr(), handle_stap_probe(), i386_unwind_pc(), jit_read_code_entry(), jit_read_descriptor(), ld_so_xfer_auxv(), lm_info_read(), m68k_unwind_pc(), microblaze_unwind_pc(), nios2_unwind_pc(), open_symbol_file_object(), print_ref_address(), read_known_tasks_array(), read_known_tasks_list(), read_memory_typed_address(), resolve_dynamic_type_internal(), rs6000_aix_extract_ld_info(), scan_dyntag(), tic6x_unwind_pc(), unpack_long(), and xtensa_unwind_pc().
|
inlinestatic |
Definition at line 577 of file defs.h.
References extract_integer< ULONGEST >().
Referenced by aarch64_fbsd_sigframe_init(), aarch64_get_longjmp_target(), aarch64_process_record(), alpha_get_longjmp_target(), alpha_lds(), alpha_read_insn(), alpha_sts(), amd64_darwin_sigcontext_addr(), amd64_epilogue_frame_cache(), amd64_frame_cache_1(), amd64_linux_sigcontext_addr(), amd64_sigtramp_frame_cache(), amd64_windows_find_unwind_info(), amd64_windows_frame_cache(), amd64_windows_frame_decode_epilogue(), amd64_windows_frame_decode_insns(), amd64fbsd_sigcontext_addr(), amd64obsd_collect_uthread(), arc_get_longjmp_target(), arc_store_return_value(), arm_adjust_breakpoint_address(), arm_breakpoint_kind_from_pc(), arm_get_longjmp_target(), arm_linux_supply_gregset(), arm_push_dummy_call(), arm_skip_bx_reg(), arm_symbian_skip_trampoline_code(), avr_pointer_to_address(), avr_pseudo_register_write(), avr_scan_prologue(), BP_MANIPULATION(), bsd_uthread_wait(), build_traceframe_info(), c_get_string(), c_val_print_array(), char_at(), core_process_module_section(), create_addrmap_from_aranges(), create_addrmap_from_index(), create_cus_from_debug_names_list(), create_cus_from_index_list(), create_signatured_type_table_from_debug_names(), create_signatured_type_table_from_index(), cris_sigcontext_addr(), cris_sigtramp_frame_unwind_cache(), cris_store_return_value(), darwin_current_sos(), darwin_load_image_infos(), darwin_read_exec_load_addr_at_init(), darwin_solib_read_all_image_info_addr(), darwin_validate_exec_header(), regcache::debug_print_register(), decode_debug_loc_addresses(), decode_debug_loc_dwo_addresses(), decode_debug_loclists_addresses(), decode_loadmap(), default_auxv_parse(), disassemble_dwarf_expression(), display_one_tib(), do_compile_dwarf_expr_to_c(), dsbt_current_sos(), dwarf2_compile_expr_to_ax(), dwarf2_find_location_expression(), enable_break2(), examine_prologue(), execute_cfa_program(), dwarf_expr_context::execute_stack_op(), extract_arm_insn(), extract_call_winsize(), extract_long_unsigned_integer(), dwarf_expr_context::fetch_address(), fetch_loadmap(), fetch_mips_16(), fill_gregset(), find_canonical_descriptor_in_load_object(), dw2_debug_names_iterator::find_vec_in_debug_names(), frame_unwind_register_unsigned(), frv_current_sos(), frv_linux_pc_in_sigtramp(), frv_linux_sigcontext_reg_addr(), frv_linux_sigtramp_frame_cache(), frv_push_dummy_call(), frv_skip_main_prologue(), ft32_pointer_to_address(), ft32_store_return_value(), generic_printstr(), get_target_memory_unsigned(), h8300_push_dummy_call(), h8300_store_return_value(), h8300h_store_return_value(), hppa64_convert_code_addr_to_fptr(), hppa_frame_cache(), hppa_frame_prev_register_helper(), hppa_linux_find_global_pointer(), hppa_match_insns(), hppa_stack_frame_destroyed_p(), hppabsd_find_global_pointer(), i386_darwin_sigcontext_addr(), i386_frame_cache_1(), i386_get_longjmp_target(), i386_linux_sigcontext_addr(), i386_process_record(), i386_pseudo_register_read_into_value(), i386_pseudo_register_write(), i386_sigtramp_frame_cache(), i386_svr4_sigcontext_addr(), i386bsd_sigcontext_addr(), i386nto_sigcontext_addr(), i386obsd_collect_uthread(), i387_collect_xsave(), i387_supply_xsave(), ia64_convert_from_func_ptr_addr(), ia64_dummy_id(), ia64_find_global_pointer_from_dynamic_section(), ia64_frame_cache(), ia64_frame_prev_register(), ia64_linux_sigcontext_register_address(), ia64_pseudo_register_write(), ia64_push_dummy_call(), ia64_sigtramp_frame_cache(), ia64_unwind_pc(), info_frame_command(), info_spu_dma_cmdlist(), info_spu_dma_command(), info_spu_mailbox_list(), info_spu_proxydma_command(), info_spu_signal_command(), insns_match_pattern(), iq2000_pointer_to_address(), jit_read_code_entry(), jit_read_descriptor(), linux_spu_make_corefile_notes(), lm32_store_return_value(), lm_base(), locexpr_describe_location_piece(), loclist_describe_location(), m32c_m16c_pointer_to_address(), m32c_push_dummy_call(), m32c_return_value(), m32r_linux_collect_gregset(), m32r_linux_supply_gregset(), m32r_push_dummy_call(), m32r_store_return_value(), m68hc11_pseudo_register_write(), m68hc11_push_dummy_call(), m68k_frame_cache(), m68k_get_longjmp_target(), m68k_linux_pc_in_sigtramp(), m68k_linux_sigtramp_frame_cache(), mep_get_insn(), mep_pseudo_cr32_read(), mep_pseudo_cr32_write(), mep_pseudo_csr_write(), mep_push_dummy_call(), microblaze_fetch_instruction(), mips64_fbsd_sigframe_init(), mips64_linux_get_longjmp_target(), mips_fbsd_sigframe_init(), mips_fbsd_supply_fpregs(), mips_fetch_instruction(), mips_linux_get_longjmp_target(), mips_linux_in_dynsym_stub(), mips_n32n64_push_dummy_call(), mips_o32_push_dummy_call(), mips_o64_push_dummy_call(), mips_skip_pic_trampoline_code(), mipsnbsd_get_longjmp_target(), mn10300_push_dummy_call(), modify_field(), moxie_process_readu(), moxie_process_record(), moxie_store_return_value(), msp430_pseudo_register_write(), msp430_push_dummy_call(), msp430_return_value(), mt_pseudo_register_write(), mt_push_dummy_call(), mt_registers_info(), mapped_debug_names::namei_to_name(), nds32_get_longjmp_target(), nds32_push_dummy_call(), nds32_store_return_value(), nios2_get_longjmp_target(), nios2_push_dummy_call(), nto_read_auxv_from_initial_stack(), obsd_auxv_parse(), or1k_fetch_instruction(), or1k_push_dummy_call(), parse_spufs_run(), pascal_printstr(), pascal_val_print(), pass_in_x(), phony_iconv(), ppc64_convert_from_func_ptr_addr(), ppc_displaced_step_fixup(), ppc_linux_auxv_parse(), ppc_linux_spe_context(), ppcfbsd_sigtramp_frame_sniffer(), ppcobsd_sigtramp_frame_cache(), ppcobsd_sigtramp_frame_sniffer(), ppu2spu_sniffer(), print_wchar(), printf_wide_c_string(), raw_from_pseudo_register(), read_code_unsigned_integer(), read_frame_register_unsigned(), read_memory_unsigned_integer(), read_program_header(), read_string(), read_target_long_array(), record_linux_msghdr(), record_linux_sockaddr(), record_linux_system_call(), remote_fileio_to_host_uint(), remote_fileio_to_host_ulong(), rl78_pointer_to_address(), rl78_return_value(), rs6000_aix_extract_ld_info(), rs6000_fetch_instruction(), rs6000_in_function_epilogue_frame_p(), rs6000_skip_main_prologue(), rx_frame_prev_register(), rx_push_dummy_call(), rx_return_value(), s390_auxv_parse(), s390_handle_arg(), s390_process_record(), s390_pseudo_register_write(), s390_record_calc_disp_vsce(), s390_register_return_value(), safe_read_memory_unsigned_integer(), scan_dyntag_auxv(), score3_adjust_pc_and_fetch_inst(), score7_breakpoint_kind_from_pc(), score7_fetch_inst(), score_push_dummy_call(), sh64_pseudo_register_write(), sh64_push_dummy_call(), sh_push_dummy_call_fpu(), sh_push_dummy_call_nofpu(), sh_store_return_value_nofpu(), skip_prologue(), skip_prologue_hard_way(), sparc32obsd_collect_uthread(), sparc64_collect_gregset(), sparc64_linux_get_longjmp_target(), sparc64_pseudo_register_write(), sparc64_supply_gregset(), sparc64obsd_collect_uthread(), sparc_collect_rwindow(), sparc_fetch_wcookie(), sparc_supply_rwindow(), spu2ppu_sniffer(), spu_analyze_prologue(), spu_current_sos(), spu_frame_unwind_cache(), spu_get_longjmp_target(), spu_get_overlay_table(), spu_pointer_to_address(), spu_pseudo_register_write_spu(), spu_push_dummy_call(), spu_software_single_step(), spu_stack_frame_destroyed_p(), stap_modify_semaphore(), supply_gregset(), svr4_exec_displacement(), target_read_uint32(), tfile_trace_find(), tfile_xfer_partial(), thumb2_copy_table_branch(), thumb_stack_frame_destroyed_p(), tic6x_get_longjmp_target(), tic6x_push_dummy_call(), tilegx_analyze_prologue(), tilegx_get_longjmp_target(), tilegx_push_dummy_call(), trace_save(), traceframe_walk_blocks(), tramp_frame_start(), unpack_bits_as_long(), unpack_long(), unsigned_pointer_to_address(), v850_push_dummy_call(), v850_store_return_value(), val_print_string(), value_bit_index(), value_cast(), value_pointer(), xstormy16_find_jmp_table_entry(), xstormy16_pointer_to_address(), xstormy16_push_dummy_call(), and xtensa_push_dummy_call().
| char* gdb_readline_wrapper | ( | const char * | ) |
Definition at line 964 of file top.c.
References after_char_processing_hook, ui::command_editing, current_ui, display_gdb_prompt(), do_cleanups(), gdb_assert, gdb_do_one_event(), gdb_readline_wrapper_done, gdb_readline_wrapper_line(), gdb_readline_wrapper_result, ui::input_handler, make_cleanup(), make_scoped_restore(), ui::secondary_prompt_depth, target_async(), target_is_async_p, and XNEW.
Referenced by ATTRIBUTE_PRINTF(), command_line_input(), and prompt_for_continue().
| gdb_static_assert | ( | nr_languages<= | 1<< LANGUAGE_BITS | ) |
| void generic_load | ( | const char * | name, |
| int | from_tty | ||
| ) |
Remote targets may wish to use this as their load function.
Definition at line 2055 of file symfile.c.
References _, add_section_size_callback(), gdb::argv, breakpoint_re_set(), clear_memory_write_data(), current_uiout, load_progress_data::data_count, do_cleanups(), error(), error_no_arg(), ui_out::field_fmt(), flash_discard, gdb_bfd_open(), gdb_stdout, gdbarch_addr_bits_remove(), gdb::ref_ptr< T, Policy >::get(), get_current_regcache(), gnutarget, load_section_data::load_offset, load_progress(), load_section_callback(), make_cleanup(), memset(), paddress(), perror_with_name(), print_transfer_performance(), load_section_data::progress_data, regcache_write_pc(), strtoulst(), target_gdbarch(), target_write_memory_blocks(), ui_out::text(), load_progress_data::total_size, and load_progress_data::write_count.
Referenced by remote_load().
| void init_source_path | ( | void | ) |
Definition at line 403 of file source.c.
References DIRNAME_SEPARATOR, forget_cached_source_info(), source_path, and xsnprintf().
Referenced by _initialize_source(), directory_command(), mi_cmd_env_dir(), and set_directories_command().
| void initialize_inferiors | ( | void | ) |
Definition at line 968 of file inferior.c.
References _, add_cmd(), add_com(), add_inferior(), add_inferior_command(), add_info(), add_setshow_boolean_cmd(), program_space::aspace, inferior::aspace, class_run, clone_inferior_command(), cmdlist, create_internalvar_type_lazy(), current_inferior_, current_program_space, detach_inferior_command(), detachlist, filename_completer(), refcounted_object::incref(), inferior_command(), inferior_funcs, info_inferiors_command(), kill_inferior_command(), killlist, no_class, print_inferior_events, inferior::pspace, remove_inferior_command(), set_cmd_completer(), setprintlist, show_print_inferior_events(), and showprintlist.
Referenced by gdb_init().
| void initialize_progspace | ( | void | ) |
Definition at line 422 of file progspace.c.
References _, add_cmd(), add_program_space(), class_maintenance, current_program_space, maintenance_info_program_spaces_command(), maintenanceinfolist, and new_address_space().
Referenced by gdb_init().
| int input_interactive_p | ( | struct ui * | ) |
Definition at line 1673 of file top.c.
References AUTO_BOOLEAN_AUTO, AUTO_BOOLEAN_TRUE, batch_flag, ui::input_interactive_p, and interactive_mode.
Referenced by ATTRIBUTE_PRINTF(), command_line_input(), handle_line_of_input(), quit_force(), read_command_lines(), and show_interactive_mode().
| int longest_to_int | ( | LONGEST | ) |
Convert a LONGEST to an int. This is used in contexts (e.g. number of arguments to a function, number in a value history, register number, etc.) where the value must not be larger than can fit in an int.
Definition at line 1341 of file valprint.c.
Referenced by ada_dump_subexp_body(), ada_evaluate_subexp(), ada_forward_operator_length(), ada_operator_length(), ada_type_of_array(), aggregate_assign_from_choices(), aggregate_assign_positional(), dump_subexp_body_standard(), dwarf2_evaluate_loc_desc_full(), evaluate_funcall(), evaluate_subexp_c(), evaluate_subexp_for_address(), evaluate_subexp_opencl(), evaluate_subexp_standard(), extract_field_op(), gen_expr(), ignore_command(), operator_length_standard(), print_subexp_standard(), resolve_subexp(), rust_dump_subexp_body(), rust_evaluate_subexp(), rust_operator_length(), rust_print_subexp(), rust_range(), value_concat(), value_equal(), value_f90_subarray(), and value_less().
| void maybe_quit | ( | void | ) |
Definition at line 757 of file utils.c.
References deprecated_interactive_hook, quit(), quit_handler, and sync_quit_force_run.
| void mod_path | ( | const char * | , |
| char ** | |||
| ) |
Definition at line 448 of file source.c.
References add_path().
Referenced by directory_command(), path_command(), and set_directories_command().
| int openp | ( | const char * | , |
| int | , | ||
| const char * | , | ||
| int | , | ||
| char ** | |||
| ) |
Definition at line 739 of file source.c.
References current_directory, do_cleanups(), gdb_abspath(), gdb_assert, gdb_open_cloexec(), gdb_realpath(), is_regular_file(), make_cleanup_free_char_ptr_vec(), O_BINARY, OPF_RETURN_REALPATH, OPF_SEARCH_IN_PATH, OPF_TRY_CWD_FIRST, SLASH_STRING, VEC, and VEC_iterate.
Referenced by exec_file_attach(), find_and_open_script(), find_and_open_source(), nto_find_and_open_solib(), solib_find_1(), source_full_path_of(), symfile_bfd_open(), and try_open_dwop_file().
| const char* pc_prefix | ( | CORE_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().
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().
| void print_prompt | ( | void | ) |
| void quit | ( | void | ) |
Definition at line 731 of file utils.c.
References job_control, quit_force(), sync_quit_force_run, target_supports_terminal_ours(), and throw_quit().
Referenced by default_quit_handler(), gdbsim_interrupt_inferior(), gdbsim_wait(), interrupt_query(), maybe_quit(), pyuw_sniffer(), remote_fileio_quit_handler(), remote_pass_ctrlc(), and remote_serial_quit_handler().
| void quit_serial_event_clear | ( | void | ) |
Definition at line 933 of file event-top.c.
References quit_serial_event, and serial_event_clear().
Referenced by check_quit_flag().
| void quit_serial_event_set | ( | void | ) |
Definition at line 925 of file event-top.c.
References quit_serial_event, and serial_event_set().
Referenced by set_quit_flag().
| EXTERN_C char* re_comp | ( | const char * | ) |
Referenced by auto_load_info_scripts(), forward_search_command(), info_classes_command(), info_selectors_command(), info_sharedlibrary_command(), is_known_support_routine(), maintenance_expand_symtabs(), maintenance_info_line_tables(), maintenance_info_psymtabs(), maintenance_info_symtabs(), maintenance_print_objfiles(), mi_cmd_file_list_shared_libraries(), reverse_search_command(), solib_add(), and thread_find_command().
Definition at line 19483 of file dwarf2read.c.
Referenced by abbrev_table_read_table(), decode_locdesc(), dwarf2_find_location_expression(), dwarf2_rnglists_process(), dwarf_decode_line_header(), dwarf_decode_lines_1(), dwarf_decode_macro_bytes(), dwarf_decode_macros(), dwarf_parse_macro_header(), dw2_debug_names_iterator::next(), peek_abbrev_code(), peek_die_abbrev(), read_addr_index_from_leb128(), read_attribute_value(), read_debug_names_from_section(), read_formatted_entries(), read_full_die_1(), skip_form_bytes(), skip_one_die(), and skip_unknown_opcode().
| char* relocate_gdb_directory | ( | const char * | initial, |
| int | flag | ||
| ) |
Definition at line 159 of file main.c.
References gdb_program_name, relocate_path(), and xfree().
Referenced by _initialize_jit(), and captured_main_1().
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().
| void set_quit_flag | ( | void | ) |
Set the quit flag.
Definition at line 804 of file extension.c.
References active_ext_lang, extension_language_defn::ops, quit_flag, quit_serial_event_set(), and extension_language_ops::set_quit_flag.
Referenced by handle_sigint(), handle_sigterm(), readchar(), remote_fileio_request(), remote_serial_write(), restore_active_ext_lang(), and set_active_ext_lang().
| int source_full_path_of | ( | const char * | , |
| char ** | |||
| ) |
Definition at line 923 of file source.c.
References openp(), OPF_RETURN_REALPATH, OPF_SEARCH_IN_PATH, OPF_TRY_CWD_FIRST, and source_path.
Referenced by exec_file_find().
| void store_integer | ( | gdb_byte * | addr, |
| int | len, | ||
| enum bfd_endian | byte_order, | ||
| T | val | ||
| ) |
Definition at line 168 of file findvar.c.
Referenced by regcache::cooked_write(), regcache::raw_write(), store_signed_integer(), and store_unsigned_integer().
|
inlinestatic |
Definition at line 597 of file defs.h.
References store_integer().
Referenced by aarch64_store_return_value(), address_to_signed_pointer(), amd64_relocate_instruction(), arm_store_return_value(), default_read_var_value(), i386_relocate_instruction(), mi_cmd_data_write_memory(), mips_pseudo_register_read(), mips_value_to_register(), mt_pseudo_register_read(), mt_select_coprocessor(), pack_long(), print_scalar_formatted(), s390_displaced_step_copy_insn(), scalar_binop(), unpack_value_bitfield(), and write_memory_signed_integer().
Definition at line 207 of file findvar.c.
References _, gdbarch_address_to_pointer(), get_type_arch(), internal_error(), TYPE_CODE, TYPE_CODE_PTR, and TYPE_IS_REFERENCE.
Referenced by default_read_var_value(), pack_long(), pack_unsigned_long(), tlb_value_read(), and value_from_pointer().
|
inlinestatic |
Definition at line 604 of file defs.h.
References store_integer().
Referenced by ada_value_binop(), add_to_spuid_list(), alpha_extract_return_value(), alpha_lds(), alpha_push_dummy_call(), alpha_sts(), amd64_push_dummy_call(), amd64_relocate_instruction(), amd64_windows_push_dummy_call(), amd64obsd_supply_uthread(), data_buf::append_uint(), arc_extract_return_value(), arm_extract_return_value(), arm_linux_supply_gregset(), arm_push_dummy_call(), avr_address_to_pointer(), avr_pseudo_register_read(), bfin_extract_return_value(), BP_MANIPULATION(), debug_names::build(), cris_extract_return_value(), cris_push_dummy_call(), default_guess_tracepoint_registers(), do_ppc_sysv_return_value(), dwarf2_const_value_attr(), dwarf2_const_value_data(), dwarf2_fetch_constant_bytes(), dwarf_expr_context::execute_stack_op(), dwarf_expr_context::fetch_address(), fill_gregset(), find_func_descr(), frame_unwind_got_constant(), frv_extract_return_value(), frv_push_dummy_call(), ft32_extract_return_value(), gnuv3_make_method_ptr(), h8300_extract_return_value(), h8300h_extract_return_value(), hppa32_push_dummy_call(), hppa64_push_dummy_call(), hppa_pseudo_register_read(), i386_darwin_push_dummy_call(), i386_push_dummy_call(), i386_relocate_instruction(), i386obsd_supply_uthread(), i387_collect_xsave(), i387_supply_fsave(), ia64_extract_return_value(), ia64_pseudo_register_read(), ia64_pseudo_register_write(), ia64_push_dummy_call(), iq2000_address_to_pointer(), iq2000_extract_return_value(), iq2000_push_dummy_call(), lm32_extract_return_value(), m32c_m16c_address_to_pointer(), m32c_return_value(), m32r_extract_return_value(), m32r_linux_collect_gregset(), m32r_linux_supply_gregset(), m32r_push_dummy_call(), m68hc11_pseudo_register_read(), m68hc11_push_dummy_call(), m68k_push_dummy_call(), mark_common_block_symbol_computed(), mep_pseudo_cr32_read(), mep_pseudo_cr32_write(), mep_push_dummy_call(), mips_eabi_push_dummy_call(), mn10300_push_dummy_call(), modify_field(), moxie_extract_return_value(), msp430_pseudo_register_read(), msp430_push_dummy_call(), msp430_return_value(), mt_return_value(), nds32_extract_return_value(), netorder32(), netorder64(), or1k_push_dummy_call(), or1k_return_value(), pack_unsigned_long(), ppc64_sysv_abi_push_integer(), ppc64_sysv_abi_return_value_base(), ppc_sysv_abi_push_dummy_call(), ppu2spu_unwind_register(), pseudo_from_raw_register(), debug_names::offset_vec_tmpl< uint64_t >::push_back_reorder(), rl78_address_to_pointer(), rl78_push_dummy_call(), rl78_return_value(), rs6000_lynx178_push_dummy_call(), rs6000_lynx178_return_value(), rs6000_push_dummy_call(), rs6000_return_value(), rx_return_value(), s390_guess_tracepoint_registers(), s390_pseudo_register_read(), scalar_binop(), sh64_pseudo_register_read(), sh_extract_return_value_nofpu(), sparc32_push_dummy_code(), sparc32_store_arguments(), sparc32obsd_supply_uthread(), sparc64_collect_gregset(), sparc64_pseudo_register_read(), sparc64_supply_gregset(), sparc64obsd_supply_uthread(), sparc_collect_rwindow(), sparc_supply_rwindow(), spu_address_to_pointer(), spu_enumerate_spu_ids(), spu_fetch_inferior_registers(), spu_fetch_registers(), spu_pseudo_register_read_spu(), spu_push_dummy_call(), stap_modify_semaphore(), supply_gregset(), svr4_exec_displacement(), tic6x_push_dummy_call(), unsigned_address_to_pointer(), v850_extract_return_value(), v850_push_dummy_call(), vax_push_dummy_call(), vax_store_arguments(), write_constant_as_bytes(), write_memory_unsigned_integer(), xstormy16_address_to_pointer(), xstormy16_push_dummy_call(), and xtensa_push_dummy_call().
| void symbol_file_command | ( | const char * | , |
| int | |||
| ) |
Definition at line 1629 of file symfile.c.
References _, dont_repeat(), error(), flags, name, OBJF_READNEVER, OBJF_READNOW, OBJF_USERLOADED, symbol_file_add_main_1(), symbol_file_clear(), SYMFILE_VERBOSE, and validate_readnow_readnever().
Referenced by _initialize_symfile(), and file_command().
| int annotation_level |
Definition at line 111 of file stack.c.
Referenced by annotate_arg_begin(), annotate_arg_end(), annotate_arg_name_end(), annotate_arg_value(), annotate_array_section_begin(), annotate_array_section_end(), annotate_breakpoint(), annotate_breakpoints_headers(), annotate_breakpoints_invalid(), annotate_breakpoints_table(), annotate_breakpoints_table_end(), annotate_catchpoint(), annotate_display_begin(), annotate_display_end(), annotate_display_expression(), annotate_display_expression_end(), annotate_display_format(), annotate_display_number_end(), annotate_display_value(), annotate_elt(), annotate_elt_rep(), annotate_elt_rep_end(), annotate_error(), annotate_error_begin(), annotate_exited(), annotate_field(), annotate_field_begin(), annotate_field_end(), annotate_field_name_end(), annotate_field_value(), annotate_frame_address(), annotate_frame_address_end(), annotate_frame_args(), annotate_frame_begin(), annotate_frame_end(), annotate_frame_function_name(), annotate_frame_source_begin(), annotate_frame_source_end(), annotate_frame_source_file(), annotate_frame_source_file_end(), annotate_frame_source_line(), annotate_frame_where(), annotate_frames_invalid(), annotate_function_call(), annotate_new_thread(), annotate_quit(), annotate_record(), annotate_signal(), annotate_signal_handler_caller(), annotate_signal_name(), annotate_signal_name_end(), annotate_signal_string(), annotate_signal_string_end(), annotate_signalled(), annotate_source(), annotate_starting(), annotate_stopped(), annotate_thread_changed(), annotate_value_begin(), annotate_value_end(), annotate_value_history_begin(), annotate_value_history_end(), annotate_value_history_value(), annotate_watchpoint(), ATTRIBUTE_PRINTF(), captured_main_1(), command_line_input(), handle_line_of_input(), info_line_command(), init_main(), print_frame_info(), prompt_for_continue(), and top_level_prompt().
| char* current_directory |
String containing the current directory (what getwd would return).
Definition at line 133 of file top.c.
Referenced by add_path(), bsd_kvm_open(), captured_main_1(), cd_command(), core_open(), gdb_abspath(), gdb_init(), go32_wait(), init_history(), openp(), pwd_command(), set_history_filename(), shell_escape(), and tfile_open().
| int dbx_commands |
Enable dbx commands if set.
Definition at line 56 of file main.c.
Referenced by _initialize_breakpoint(), _initialize_cli_cmds(), _initialize_exec(), _initialize_infrun(), _initialize_printcmd(), _initialize_source(), _initialize_stack(), _initialize_symtab(), and captured_main_1().
| char* debug_file_directory |
Search path for separate debug files.
Definition at line 1414 of file symfile.c.
Referenced by _initialize_symfile(), build_id_to_debug_bfd(), captured_main_1(), find_separate_debug_file(), open_dwo_file(), open_dwp_file(), try_open_dwop_file(), and VEC().
| void(* deprecated_attach_hook) (void) |
Definition at line 221 of file top.c.
Referenced by attach_post_wait().
| void(* deprecated_call_command_hook) (struct cmd_list_element *c, const char *cmd, int from_tty) |
Definition at line 239 of file top.c.
Referenced by clear_interpreter_hooks(), and execute_command().
| void(* deprecated_context_hook) (int) |
Definition at line 244 of file top.c.
Referenced by clear_interpreter_hooks(), and handle_signal_stop().
| void(* deprecated_detach_hook) (void) |
Definition at line 222 of file top.c.
Referenced by detach_command(), disconnect_command(), and generic_mourn_inferior().
| int(*) void(*) void(* deprecated_interactive_hook) (void) |
Definition at line 227 of file top.c.
Referenced by clear_interpreter_hooks(), and maybe_quit().
| void(* deprecated_post_add_symbol_hook) (void) |
Definition at line 78 of file symfile.c.
Referenced by symbol_file_add_with_addrs().
| void(* deprecated_pre_add_symbol_hook) (const char *) |
Definition at line 77 of file symfile.c.
Referenced by symbol_file_add_with_addrs().
| void(* deprecated_print_frame_info_listing_hook) (struct symtab *s, int line, int stopline, int noerror) |
Definition at line 190 of file top.c.
Referenced by clear_interpreter_hooks(), print_frame_info(), tui_install_hooks(), and tui_remove_hooks().
| int(* deprecated_query_hook) (const char *, va_list) ATTRIBUTE_FPTR_PRINTF(1 |
Definition at line 196 of file top.c.
Referenced by ATTRIBUTE_PRINTF(), clear_interpreter_hooks(), mi_insert_notify_hooks(), mi_remove_notify_hooks(), and tui_remove_hooks().
| void(* deprecated_readline_begin_hook) (const char *,...) ATTRIBUTE_FPTR_PRINTF_1 |
Definition at line 214 of file top.c.
Referenced by clear_interpreter_hooks(), and read_command_lines().
| void(* deprecated_readline_end_hook) (void) |
Definition at line 216 of file top.c.
Referenced by clear_interpreter_hooks(), and read_command_lines().
| char*(* deprecated_readline_hook) (const char *) |
Definition at line 215 of file top.c.
Referenced by clear_interpreter_hooks(), command_line_input(), and read_next_line().
| void(* deprecated_show_load_progress) (const char *section, unsigned long section_sent, unsigned long section_size, unsigned long total_sent, unsigned long total_size) |
Definition at line 72 of file symfile.c.
Referenced by load_progress(), and mi_interp::resume().
| ptid_t(* deprecated_target_wait_hook) (ptid_t ptid, struct target_waitstatus *status, int options) |
Definition at line 232 of file top.c.
Referenced by clear_interpreter_hooks(), do_target_wait(), and wait_one().
| int(* deprecated_ui_load_progress_hook) (const char *section, unsigned long num) |
Definition at line 70 of file symfile.c.
Referenced by load_progress().
| int(* deprecated_ui_loop_hook) (int signo) |
Definition at line 185 of file top.c.
Referenced by do_ser_base_readchar(), gdb_os_poll_quit(), wait_for_connect(), and windows_wait().
| int(*) void(* deprecated_warning_hook) (const char *, va_list) ATTRIBUTE_FPTR_PRINTF(1 |
Definition at line 200 of file top.c.
Referenced by clear_interpreter_hooks(), and vwarning().
| char* gdb_datadir |
GDB datadir, used to store data files.
Definition at line 62 of file main.c.
Referenced by captured_main_1(), do_finish_initialization(), get_init_files(), init_syscalls_info(), set_gdb_data_directory(), show_gdb_datadir(), VEC(), and xml_init_syscalls_info().
| char* gdb_sysroot |
System root path, used to find libraries etc.
Definition at line 59 of file main.c.
Referenced by _initialize_solib(), captured_main_1(), exec_file_find(), find_separate_debug_file(), gdb_sysroot_changed(), gdbsim_open(), remote_filesystem_is_local(), and solib_find_1().
| int info_verbose |
Definition at line 1791 of file top.c.
Referenced by _initialize_cli_cmds(), collection_list::add_memrange(), collection_list::add_register(), collection_list::add_static_trace_data(), backtrace_command_1(), check_frame_language_change(), checkpoint_command(), close_with_trace(), collection_list::collect_symbol(), dbx_psymtab_to_symtab_1(), dbx_read_symtab(), dwarf2_read_symtab(), encode_actions_1(), fbsd_find_memory_regions(), follow_fork_inferior(), gcore_command(), gcore_create_callback(), handle_vfork_child_exec_or_exit(), lm_addr_check(), map_overlay_command(), mdebug_read_symtab(), merge_uploaded_trace_state_variables(), open_with_trace(), overlay_auto_command(), overlay_manual_command(), overlay_off_command(), parse_external(), post_create_inferior(), print_section_info(), print_symbol_loading_p(), procfs_note(), procfs_wait(), psymtab_to_symtab_1(), remote_resume_with_hc(), restore_command(), set_verbose(), show_info_verbose(), sol_thread_resume(), sol_thread_wait(), solib_add(), collection_list::stringify(), svr4_exec_displacement(), tfind_1(), wait_with_trace(), windows_delete_thread(), write_with_trace(), xcoff_psymtab_to_symtab_1(), and xcoff_read_symtab().
| unsigned input_radix |
Default radixes for input and output. Only some values supported.
Definition at line 157 of file valprint.c.
Referenced by breakpoint_re_set(), breakpoint_re_set_one(), classify_name(), init_raw_breakpoint_without_location(), lex_one_token(), parse_number(), set_input_radix_1(), show_radix(), varobj_set_value(), VEC(), and yylex().
| char* interpreter_p |
The name of the interpreter if specified on the command line.
Definition at line 53 of file main.c.
Referenced by _initialize_tui_interp(), captured_main_1(), and interp_set().
| unsigned output_radix |
Definition at line 167 of file valprint.c.
Referenced by set_output_radix_1(), and show_radix().
| char* python_libdir |
If non-NULL, the possibly relocated path to python's "lib" directory specified with –with-python.
Definition at line 71 of file main.c.
Referenced by captured_main_1(), and do_start_initialization().
| quit_handler_ftype* quit_handler |
Definition at line 962 of file event-top.c.
Referenced by do_remote_fileio_request(), maybe_quit(), readchar(), remote_fileio_reply(), remote_fileio_request(), and remote_serial_write().
| void(* selected_frame_level_changed_hook) (int) |
| char* source_path |
Definition at line 58 of file source.c.
Referenced by _initialize_source(), directory_command(), directory_switch(), find_and_open_script(), find_and_open_source(), init_source_path(), mi_cmd_env_dir(), set_directories_command(), show_directories_1(), and source_full_path_of().
| volatile int sync_quit_force_run |
Definition at line 1027 of file event-top.c.
Referenced by handle_sigterm(), maybe_quit(), and quit().
| int watchdog |
Definition at line 55 of file maint.c.
Referenced by _initialize_maint_cmds(), and getpkt_or_notif_sane_1().
1.8.14