summaryrefslogtreecommitdiffstats
path: root/src/Backtrace/backtrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Backtrace/backtrace.h')
-rw-r--r--src/Backtrace/backtrace.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Backtrace/backtrace.h b/src/Backtrace/backtrace.h
index f42cfcd8..0f99a191 100644
--- a/src/Backtrace/backtrace.h
+++ b/src/Backtrace/backtrace.h
@@ -23,12 +23,19 @@
struct frame
{
+ /* Function name, or NULL. */
char *function;
+ /* Arguments of the function call, or NULL. */
char *args;
+ /* Frame number. */
int number;
+ /* ?? */
char *binfile;
+ /* Name of the source file, or NULL. */
char *sourcefile;
+ /* True if this is the frame where the crash happened. */
bool crash;
+ /* Sibling frame, or NULL if this is the last frame in a thread. */
struct frame *next;
};
@@ -36,6 +43,7 @@ struct thread
{
int number;
struct frame *frames;
+ /* Sibling thread, or NULL if this is the last thread in a backtrace. */
struct thread *next;
};