* tracepoint.c (trace_status_mi): Report frames created.
	* gdb.texinfo (gdb/mi Tracepoint Commands) <-trace-status>:
	Describe the `frames-created' field, tweak grammar.
 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.
 
 
+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>:
 
 @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
 
 
   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)