diff options
author | Stan Shebs <shebs@codesourcery.com> | 2010-03-26 01:46:29 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 2010-03-26 01:46:29 +0000 |
commit | 6c28cbf2b6beb56c99ec084b9bc5adc8d4813894 (patch) | |
tree | 1a4837c78b049a3c055de85cba991b2030200ee1 /gdb/doc/gdb.texinfo | |
parent | a45fc99392bdce4c67b43b1a0a05c77e7112afab (diff) | |
download | gdb-6c28cbf2b6beb56c99ec084b9bc5adc8d4813894.zip gdb-6c28cbf2b6beb56c99ec084b9bc5adc8d4813894.tar.gz gdb-6c28cbf2b6beb56c99ec084b9bc5adc8d4813894.tar.bz2 |
2010-03-25 Stan Shebs <stan@codesourcery.com>
* tracepoint.h (trace_stop_reason): Add tracepoint_error.
(struct trace_status): New field error_desc.
* tracepoint.c (stop_reason_names): Add terror.
(current_trace_status): Ensure non-NULL error description.
(trace_status_command): Add error report.
(trace_status_mi): Ditto.
(trace_save): Add special case for error description.
(parse_trace_status): Add case for errors.
* gdb.texinfo (Tracepoint Packets): Document trace error status.
* gdb.trace/tfile.c: Generate an additional trace file, improve
portability.
* gdb.trace/tfile.exp: Test trace file with an error stop, delete
files in a better way.
Diffstat (limited to 'gdb/doc/gdb.texinfo')
-rw-r--r-- | gdb/doc/gdb.texinfo | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 369556d..3c7d669 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -31362,6 +31362,15 @@ The trace stopped because @value{GDBN} disconnected from the target. @item tpasscount:@var{tpnum} The trace stopped because tracepoint @var{tpnum} exceeded its pass count. +@item terror:@var{text}:@var{tpnum} +The trace stopped because tracepoint @var{tpnum} had an error. The +string @var{text} is available to describe the nature of the error +(for instance, a divide by zero in the condition expression). +@var{text} may take either of two forms; it may be plain text, but +with the restriction that no colons or other special characters are +allowed, or it may be an @code{X} followed by hex digits encoding the +text string. + @item tunknown:0 The trace stopped for some other reason. |