satyr 0.43
Loading...
Searching...
No Matches
sr_gdb_frame Struct Reference

A function call of a GDB-produced stack trace. More...

#include <frame.h>

Data Fields

enum sr_report_type type
 
char * function_name
 
char * function_type
 
uint32_t number
 
char * source_file
 
uint32_t source_line
 
bool signal_handler_called
 
sr_gdb_frame_address_t address
 
char * library_name
 
struct sr_gdb_framenext
 

Detailed Description

A function call of a GDB-produced stack trace.

A frame representing a function call or a signal handler on a call stack of a thread.

Definition at line 47 of file gdb/frame.h.

Field Documentation

◆ address

sr_gdb_frame_address_t sr_gdb_frame::address

The function address in the computer memory, or -1 when the address is unknown. Address is unknown when the frame represents inlined function.

Definition at line 92 of file gdb/frame.h.

◆ function_name

char* sr_gdb_frame::function_name

A function name or NULL. If it's NULL, signal_handler_called is true.

Definition at line 55 of file gdb/frame.h.

◆ function_type

char* sr_gdb_frame::function_type

A function type, or NULL if it isn't present.

Definition at line 60 of file gdb/frame.h.

◆ library_name

char* sr_gdb_frame::library_name

A library name or NULL.

Definition at line 97 of file gdb/frame.h.

◆ next

struct sr_gdb_frame* sr_gdb_frame::next

A sibling frame residing below this one, or NULL if this is the last frame in the parent thread.

Definition at line 103 of file gdb/frame.h.

◆ number

uint32_t sr_gdb_frame::number

A frame number in a thread. It does not necessarily show the actual position in the thread, as this number is set by the parser and never updated.

Definition at line 67 of file gdb/frame.h.

◆ signal_handler_called

bool sr_gdb_frame::signal_handler_called

Signal handler was called on this frame.

Definition at line 85 of file gdb/frame.h.

◆ source_file

char* sr_gdb_frame::source_file

The name of the source file containing the function definition, or the name of the binary file (.so) with the binary code of the function, or NULL.

Definition at line 74 of file gdb/frame.h.

◆ source_line

uint32_t sr_gdb_frame::source_line

A line number in the source file, determining the position of the function definition, or -1 when unknown.

Definition at line 80 of file gdb/frame.h.

◆ type

enum sr_report_type sr_gdb_frame::type

Definition at line 49 of file gdb/frame.h.


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