2010-03-25 Stan Shebs <stan@codesourcery.com>
authorStan Shebs <shebs@codesourcery.com>
Fri, 26 Mar 2010 01:46:29 +0000 (01:46 +0000)
committerStan Shebs <shebs@codesourcery.com>
Fri, 26 Mar 2010 01:46:29 +0000 (01:46 +0000)
commit6c28cbf2b6beb56c99ec084b9bc5adc8d4813894
tree1a4837c78b049a3c055de85cba991b2030200ee1
parenta45fc99392bdce4c67b43b1a0a05c77e7112afab
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.
gdb/ChangeLog
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.trace/tfile.c
gdb/testsuite/gdb.trace/tfile.exp
gdb/tracepoint.c
gdb/tracepoint.h