GDB (xrefs)
Public Attributes | List of all members
call_site Struct Reference

#include "gdbtypes.h"

Public Attributes

CORE_ADDR pc
 
struct call_sitetail_call_next
 
struct call_site_target target
 
unsigned parameter_count
 
struct dwarf2_per_cu_dataper_cu
 
struct call_site_parameter parameter [1]
 

Detailed Description

A place where a function gets called from, represented by DW_TAG_GNU_call_site. It can be looked up from symtab->call_site_htab.

Definition at line 1157 of file gdbtypes.h.

Member Data Documentation

struct call_site_parameter call_site::parameter[1]

Describe DW_TAG_GNU_call_site's DW_TAG_formal_parameter.

Definition at line 1185 of file gdbtypes.h.

Referenced by dwarf_expr_reg_to_entry_parameter(), and read_call_site_scope().

unsigned call_site::parameter_count

Size of the PARAMETER array.

Definition at line 1176 of file gdbtypes.h.

Referenced by dwarf_expr_reg_to_entry_parameter(), and read_call_site_scope().

CORE_ADDR call_site::pc

Address of the first instruction after this call. It must be the first field as we overload core_addr_hash and core_addr_eq for it.

Definition at line 1163 of file gdbtypes.h.

Referenced by call_site_find_chain_1(), call_site_to_target_addr(), pretend_pc(), read_call_site_scope(), and tailcall_dump().

struct dwarf2_per_cu_data* call_site::per_cu

CU of the function where the call is located. It gets used for DWARF blocks execution in the parameter array below.

Definition at line 1181 of file gdbtypes.h.

Referenced by dwarf_expr_reg_to_entry_parameter(), and read_call_site_scope().

struct call_site* call_site::tail_call_next

List successor with head in FUNC_TYPE.TAIL_CALL_LIST.

Definition at line 1167 of file gdbtypes.h.

Referenced by call_site_find_chain_1(), func_verify_no_selftailcall(), and read_call_site_scope().

struct call_site_target call_site::target

Describe DW_AT_GNU_call_site_target. Missing attribute uses FIELD_LOC_KIND_DWARF_BLOCK with FIELD_DWARF_BLOCK == NULL.

Definition at line 1172 of file gdbtypes.h.

Referenced by call_site_to_target_addr(), and read_call_site_scope().


The documentation for this struct was generated from the following file: