GDB (xrefs)
|
#include "defs.h"
#include "gcore-elf.h"
#include "elf-bfd.h"
#include "target.h"
#include "regcache.h"
#include "gdbarch.h"
#include "gdbthread.h"
#include "inferior.h"
#include "regset.h"
#include "gdbsupport/tdesc.h"
Go to the source code of this file.
Classes | |
struct | gcore_elf_collect_regset_section_cb_data |
Functions | |
static void | gcore_elf_collect_regset_section_cb (const char *sect_name, int supply_size, int collect_size, const struct regset *regset, const char *human_name, void *cb_data) |
static void | gcore_elf_collect_thread_registers (const struct regcache *regcache, ptid_t ptid, bfd *obfd, gdb::unique_xmalloc_ptr< char > *note_data, int *note_size, enum gdb_signal stop_signal) |
void | gcore_elf_build_thread_register_notes (struct gdbarch *gdbarch, struct thread_info *info, gdb_signal stop_signal, bfd *obfd, gdb::unique_xmalloc_ptr< char > *note_data, int *note_size) |
void | gcore_elf_make_tdesc_note (struct gdbarch *gdbarch, bfd *obfd, gdb::unique_xmalloc_ptr< char > *note_data, int *note_size) |
void gcore_elf_build_thread_register_notes | ( | struct gdbarch * | gdbarch, |
struct thread_info * | info, | ||
gdb_signal | stop_signal, | ||
bfd * | obfd, | ||
gdb::unique_xmalloc_ptr< char > * | note_data, | ||
int * | note_size ) |
Definition at line 127 of file gcore-elf.c.
References gcore_elf_collect_thread_registers(), get_thread_arch_regcache(), and target_fetch_registers().
Referenced by elf_none_make_corefile_notes(), fbsd_make_corefile_notes(), and linux_corefile_thread().
|
static |
Definition at line 64 of file gcore-elf.c.
References regset::collect_regset, regset::flags, and REGSET_VARIABLE_SIZE.
Referenced by gcore_elf_collect_thread_registers().
|
static |
Definition at line 111 of file gcore-elf.c.
References reg_buffer::arch(), gcore_elf_collect_regset_section_cb(), and gdbarch_iterate_over_regset_sections().
Referenced by gcore_elf_build_thread_register_notes().
void gcore_elf_make_tdesc_note | ( | struct gdbarch * | gdbarch, |
bfd * | obfd, | ||
gdb::unique_xmalloc_ptr< char > * | note_data, | ||
int * | note_size ) |
Definition at line 142 of file gcore-elf.c.
References gdbarch_target_desc(), nullptr, and tdesc_get_features_xml().
Referenced by elf_none_make_corefile_notes(), fbsd_make_corefile_notes(), and linux_make_corefile_notes().