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 | |
parent | a45fc99392bdce4c67b43b1a0a05c77e7112afab (diff) | |
download | binutils-6c28cbf2b6beb56c99ec084b9bc5adc8d4813894.zip binutils-6c28cbf2b6beb56c99ec084b9bc5adc8d4813894.tar.gz binutils-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')
-rw-r--r-- | gdb/doc/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 9 |
2 files changed, 13 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index d99937a..dfb8a8d 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,7 @@ +2010-03-24 Stan Shebs <stan@codesourcery.com> + + * gdb.texinfo (Tracepoint Packets): Document trace error status. + 2010-03-24 Tom Tromey <tromey@redhat.com> PR breakpoints/9352: 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. |