GDB (API)
|
#include "gdbtypes.h"
Classes | |
struct | target |
Public Member Functions | |
call_site (CORE_ADDR pc, dwarf2_per_cu_data *per_cu, dwarf2_per_objfile *per_objfile) | |
CORE_ADDR | pc () const |
void | iterate_over_addresses (struct gdbarch *call_site_gdbarch, frame_info_ptr caller_frame, call_site_target::iterate_ftype callback) const |
Static Public Member Functions | |
static int | eq (const call_site *a, const call_site *b) |
static hashval_t | hash (const call_site *a) |
static int | eq (const void *a, const void *b) |
static hashval_t | hash (const void *a) |
Public Attributes | |
struct call_site * | tail_call_next = nullptr |
unsigned | parameter_count = 0 |
dwarf2_per_cu_data *const | per_cu = nullptr |
dwarf2_per_objfile *const | per_objfile = nullptr |
struct call_site_parameter | parameter [] |
A place where a function gets called from, represented by DW_TAG_call_site. It can be looked up from symtab->call_site_htab.
Definition at line 1885 of file gdbtypes.h.
|
inline |
Definition at line 1887 of file gdbtypes.h.
Definition at line 1893 of file gdbtypes.h.
|
inlinestatic |
Definition at line 1905 of file gdbtypes.h.
|
inlinestatic |
Definition at line 1899 of file gdbtypes.h.
|
inlinestatic |
Definition at line 1911 of file gdbtypes.h.
|
inline |
Definition at line 1924 of file gdbtypes.h.
CORE_ADDR call_site::pc | ( | ) | const |
struct call_site_parameter call_site::parameter[] |
Describe DW_TAG_call_site's DW_TAG_formal_parameter.
Definition at line 1962 of file gdbtypes.h.
unsigned call_site::parameter_count = 0 |
Size of the PARAMETER array.
Definition at line 1944 of file gdbtypes.h.
dwarf2_per_cu_data* const call_site::per_cu = nullptr |
CU of the function where the call is located. It gets used for DWARF blocks execution in the parameter array below.
Definition at line 1949 of file gdbtypes.h.
dwarf2_per_objfile* const call_site::per_objfile = nullptr |
Definition at line 1953 of file gdbtypes.h.
struct call_site* call_site::tail_call_next = nullptr |
List successor with head in FUNC_TYPE.TAIL_CALL_LIST.
Definition at line 1935 of file gdbtypes.h.