Changeset View
Changeset View
Standalone View
Standalone View
src/parser/backtraceline.h
Show All 29 Lines | 27 | enum LineType { | |||
---|---|---|---|---|---|
30 | Crap, //line is gdb's crap (like "(no debugging symbols found)", | 30 | Crap, //line is gdb's crap (like "(no debugging symbols found)", | ||
31 | //"[New Thread 0x4275c950 (LWP 11931)]", etc...) | 31 | //"[New Thread 0x4275c950 (LWP 11931)]", etc...) | ||
32 | KCrash, //line is "[KCrash Handler]" | 32 | KCrash, //line is "[KCrash Handler]" | ||
33 | ThreadIndicator, //line indicates the current thread, | 33 | ThreadIndicator, //line indicates the current thread, | ||
34 | //ex. "[Current thread is 0 (process 11313)]" | 34 | //ex. "[Current thread is 0 (process 11313)]" | ||
35 | ThreadStart, //line indicates the start of a thread's stack. | 35 | ThreadStart, //line indicates the start of a thread's stack. | ||
36 | SignalHandlerStart, //line indicates the signal handler start | 36 | SignalHandlerStart, //line indicates the signal handler start | ||
37 | //(contains "<signal handler called>") | 37 | //(contains "<signal handler called>") | ||
38 | StackFrame //line is a normal stack frame | 38 | StackFrame, //line is a normal stack frame | ||
39 | Info //< additional information on the bt | ||||
39 | }; | 40 | }; | ||
40 | 41 | | |||
41 | enum LineRating { | 42 | enum LineRating { | ||
42 | /* RATING -- EXAMPLE */ | 43 | /* RATING -- EXAMPLE */ | ||
43 | MissingEverything = 0, // #0 0x0000dead in ?? () | 44 | MissingEverything = 0, // #0 0x0000dead in ?? () | ||
44 | MissingFunction = 1, // #0 0x0000dead in ?? () from /usr/lib/libfoobar.so.4 | 45 | MissingFunction = 1, // #0 0x0000dead in ?? () from /usr/lib/libfoobar.so.4 | ||
45 | MissingLibrary = 2, // #0 0x0000dead in foobar() | 46 | MissingLibrary = 2, // #0 0x0000dead in foobar() | ||
46 | MissingSourceFile = 3, // #0 0x0000dead in FooBar::FooBar () from /usr/lib/libfoobar.so.4 | 47 | MissingSourceFile = 3, // #0 0x0000dead in FooBar::FooBar () from /usr/lib/libfoobar.so.4 | ||
▲ Show 20 Lines • Show All 50 Lines • Show Last 20 Lines |