satyr 0.43
Loading...
Searching...
No Matches
Data Fields
sr_gdb_stacktrace Struct Reference

A stack trace produced by GDB. More...

#include <stacktrace.h>

Data Fields

enum sr_report_type type
 
struct sr_gdb_threadthreads
 
struct sr_gdb_framecrash
 
struct sr_gdb_sharedliblibs
 
uint32_t crash_tid
 

Detailed Description

A stack trace produced by GDB.

A stacktrace obtained at the time of a program crash, consisting of several threads which contains frames.

This structure represents a stacktrace as produced by the GNU Debugger.

Definition at line 50 of file gdb/stacktrace.h.

Field Documentation

◆ crash

struct sr_gdb_frame* sr_gdb_stacktrace::crash

The frame where the crash happened according to debugger. It might be that we can not tell to which thread this frame belongs, because some threads end with mutually indistinguishable frames.

Definition at line 62 of file gdb/stacktrace.h.

◆ crash_tid

uint32_t sr_gdb_stacktrace::crash_tid

TID of thread passed by Kernel to the core pattern helper as the TID of thread which triggered core dump.

This value may not be set at all and is not included in GDB-produced backtrace, so it must be assigned by our callers.

Its only purpose is to make the searching for the crashed thread as accurate as possible.

Definition at line 79 of file gdb/stacktrace.h.

◆ libs

struct sr_gdb_sharedlib* sr_gdb_stacktrace::libs

Shared libraries loaded at the moment of crash.

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

◆ threads

struct sr_gdb_thread* sr_gdb_stacktrace::threads

Definition at line 54 of file gdb/stacktrace.h.

◆ type

enum sr_report_type sr_gdb_stacktrace::type

Definition at line 52 of file gdb/stacktrace.h.


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