summaryrefslogtreecommitdiffstats
path: root/src/Backtrace/backtrace.h
diff options
context:
space:
mode:
authorKarel Klic <kklic@redhat.com>2009-11-20 17:54:17 +0100
committerKarel Klic <kklic@redhat.com>2009-11-20 17:54:17 +0100
commitb8da7620a417ef835869da692db140b75e8b7a93 (patch)
tree9afa3edca4663fde9118550ca839b7021f4b0eb0 /src/Backtrace/backtrace.h
parent10ca6da1cc2d89ba5c45179d452720d916bc4698 (diff)
downloadabrt-b8da7620a417ef835869da692db140b75e8b7a93.tar.gz
abrt-b8da7620a417ef835869da692db140b75e8b7a93.tar.xz
abrt-b8da7620a417ef835869da692db140b75e8b7a93.zip
Backtrace parser improvements
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;
};