-trace-start/-trace-end/-trace-status.
authorVladimir Prus <vladimir@codesourcery.com>
Tue, 23 Mar 2010 21:46:33 +0000 (21:46 +0000)
committerVladimir Prus <vladimir@codesourcery.com>
Tue, 23 Mar 2010 21:46:33 +0000 (21:46 +0000)
commitf224b49dcd9afdff4cc97bbb6d88dec3b4dfc433
treecb6ca8113e3ac980a53fc6da11dfa253b0d99a87
parent6534d786b1826ee9e9742b9ab13b4a614fa648d0
-trace-start/-trace-end/-trace-status.

* mi/mi-cmds.c (mi_cmds): Register -trace-start, -trace-status
and -trace-stop.
* mi/mi-cmds.h (mi_cmd_trace_start, mi_cmd_trace_status)
(mi_cmd_trace_stop): Declare.
* mi/mi-main.c (mi_cmd_trace_start, mi_cmd_trace_status)
(mi_cmd_trace_stop): New.
* tracepoint.c (start_tracing): New, extracted from...
(trace_start_command): ...this.
(trace_status_mi): New.
* tracepoint.h (struct trace_status): Document
stopping_tracepoint.
(start_tracing, stop_tracing, trace_status_mi): Declare.
gdb/ChangeLog
gdb/mi/mi-cmds.c
gdb/mi/mi-cmds.h
gdb/mi/mi-main.c
gdb/tracepoint.c
gdb/tracepoint.h