|
GDB (xrefs)
|
#include "defs.h"#include "arch-utils.h"#include <signal.h>#include <fcntl.h>#include "frame.h"#include "inferior.h"#include "infrun.h"#include "symtab.h"#include "command.h"#include "bfd.h"#include "target.h"#include "process-stratum-target.h"#include "gdbcore.h"#include "gdbthread.h"#include "regcache.h"#include "regset.h"#include "symfile.h"#include "exec.h"#include "readline/tilde.h"#include "solib.h"#include "solist.h"#include "filenames.h"#include "progspace.h"#include "objfiles.h"#include "gdb_bfd.h"#include "completer.h"#include "gdbsupport/filestuff.h"#include "build-id.h"#include "gdbsupport/pathstuff.h"#include "gdbsupport/scoped_fd.h"#include "gdbsupport/x86-xstate.h"#include "debuginfod-support.h"#include <unordered_map>#include <unordered_set>#include "gdbcmd.h"#include "xml-tdesc.h"#include "memtag.h"Go to the source code of this file.
Classes | |
| class | core_target |
| struct | get_core_registers_cb_data |
Macros | |
| #define | O_LARGEFILE 0 |
| #define | CORELOW_PID 1 |
Functions | |
| static void | add_to_thread_list (asection *asect, asection *reg_sect, inferior *inf) |
| static void | maybe_say_no_core_file_now (int from_tty) |
| void | core_file_command (const char *filename, int from_tty) |
| static void | rename_vmcore_idle_reg_sections (bfd *abfd, inferior *inf) |
| static void | locate_exec_from_corefile_build_id (bfd *abfd, int from_tty) |
| void | core_target_open (const char *arg, int from_tty) |
| static void | get_core_registers_cb (const char *sect_name, int supply_size, int collect_size, const struct regset *regset, const char *human_name, void *cb_data) |
| static core_target * | get_current_core_target () |
| static void | maintenance_print_core_file_backed_mappings (const char *args, int from_tty) |
| void | _initialize_corelow () |
Variables | |
| static const target_info | core_target_info |
| #define CORELOW_PID 1 |
Definition at line 325 of file corelow.c.
Referenced by core_target_open().
| #define O_LARGEFILE 0 |
Definition at line 59 of file corelow.c.
Referenced by core_target_open().
| void _initialize_corelow | ( | ) |
Definition at line 1502 of file corelow.c.
Referenced by initialize_all_files().
|
static |
Definition at line 367 of file corelow.c.
References add_thread(), inf::pid, and switch_to_thread().
Referenced by core_target_open().
| void core_file_command | ( | const char * | filename, |
| int | from_tty ) |
Definition at line 395 of file corelow.c.
References core_bfd, core_target_open(), current_inferior(), dont_repeat(), maybe_say_no_core_file_now(), and target_detach().
Referenced by captured_main_1(), and cmd_record_full_restore().
| void core_target_open | ( | const char * | arg, |
| int | from_tty ) |
Definition at line 605 of file corelow.c.
References add_thread_silent(), add_to_thread_list(), program_space::cbfd, clear_exit_convenience_vars(), core_bfd, core_target::core_gdbarch(), CORELOW_PID, current_inferior(), current_program_space, current_uiout, exception_print(), program_space::exec_bfd(), first_thread_of_inferior(), flags, gdb_bfd_fopen(), gdb_bfd_sections(), gdb_printf(), gdb_stderr, gdbarch_gdb_signal_from_target(), gdbarch_gdb_signal_from_target_p(), gdbarch_report_signal_info(), gdbarch_report_signal_info_p(), get_current_regcache(), get_selected_frame(), gnutarget, inferior_appeared(), inferior_ptid, locate_exec_from_corefile_build_id(), lookup_internalvar(), O_BINARY, O_LARGEFILE, inf::pid, pid, post_create_inferior(), print_stack_frame(), inferior::push_target(), registers_changed(), reinit_frame_cache(), rename_vmcore_idle_reg_sections(), set_gdbarch_from_file(), set_internalvar_integer(), SRC_AND_LOC, switch_to_no_thread(), switch_to_thread(), target_fetch_registers(), target_preopen(), target_update_thread_list(), thread_command(), thread_count(), validate_files(), and write_files.
Referenced by core_file_command().
|
static |
Definition at line 895 of file corelow.c.
References regset::flags, and REGSET_VARIABLE_SIZE.
Referenced by core_target::fetch_registers().
|
static |
Definition at line 1427 of file corelow.c.
References current_inferior(), and inferior::process_target().
Referenced by maintenance_print_core_file_backed_mappings().
|
static |
Definition at line 564 of file corelow.c.
References build_id_bfd_get(), build_id_to_exec_bfd(), build_id_verify(), debuginfod_exec_query(), exec_file_attach(), gdb_bfd_errmsg(), gdb_bfd_open(), gnutarget, symbol_file_add_main(), and SYMFILE_VERBOSE.
Referenced by core_target_open().
|
static |
Definition at line 1493 of file corelow.c.
References core_target::core_gdbarch(), get_current_core_target(), and core_target::info_proc_mappings().
|
static |
Definition at line 386 of file corelow.c.
References gdb_printf().
Referenced by core_file_command(), and core_target::detach().
|
static |
Definition at line 456 of file corelow.c.
References core_bfd, gdb_bfd_sections(), name, inf::pid, and target_pid_to_str().
Referenced by core_target_open().
|
static |
Definition at line 64 of file corelow.c.
Referenced by core_target::info().