2010-04-09 Stan Shebs <stan@codesourcery.com>

* tracepoint.c (trace_status_mi): Report frames created.

	* gdb.texinfo (gdb/mi Tracepoint Commands) <-trace-status>:
	Describe the `frames-created' field, tweak grammar.
This commit is contained in:
Stan Shebs 2010-04-09 20:46:40 +00:00
parent 2114d44c8d
commit 872906844b
4 changed files with 15 additions and 3 deletions

View File

@ -1,5 +1,7 @@
2010-04-09 Stan Shebs <stan@codesourcery.com>
* tracepoint.c (trace_status_mi): Report frames created.
* tracepoint.c (trace_dump_command): Include default-collect
expressions.

View File

@ -1,3 +1,8 @@
2010-04-09 Stan Shebs <stan@codesourcery.com>
* gdb.texinfo (gdb/mi Tracepoint Commands) <-trace-status>:
Describe the `frames-created' field, tweak grammar.
2010-04-09 Pedro Alves <pedro@codesourcery.com>
* gdb.texinfo (gdb/mi Tracepoint Commands) <-trace-status>:

View File

@ -26421,13 +26421,16 @@ present iff the @samp{stop-reason} field has the value of
@samp{passcount}.
@item frames
This field is an integer number of currently collected frames. This
field is optional.
@itemx frames-created
The @samp{frames} field is a count of the total number of trace frames
in the trace buffer, while @samp{frames-created} is the total created
during the run, including ones that were discarded, such as when a
circular trace buffer filled up. Both fields are optional.
@item buffer-size
@itemx buffer-free
These fields tell the current size of the tracing buffer and the
remaining space. These field is optional.
remaining space. These fields are optional.
@item circular
The value of the circular trace buffer flag. @code{1} means that the

View File

@ -1798,6 +1798,8 @@ trace_status_mi (int on_stop)
if (ts->traceframe_count != -1)
ui_out_field_int (uiout, "frames", ts->traceframe_count);
if (ts->traceframes_created != -1)
ui_out_field_int (uiout, "frames-created", ts->traceframes_created);
if (ts->buffer_size != -1)
ui_out_field_int (uiout, "buffer-size", ts->buffer_size);
if (ts->buffer_free != -1)