gdb/doc:
authorYao Qi <yao@codesourcery.com>
Tue, 18 Sep 2012 12:09:28 +0000 (12:09 +0000)
committerYao Qi <yao@codesourcery.com>
Tue, 18 Sep 2012 12:09:28 +0000 (12:09 +0000)
commitbb25a15c8fdacbdab231bba159894942cdfece2b
treea124eea8f88e821de7fefbb8c6beb1758f3dde6b
parent201b4506b3d34c274cdc5ec5ffb8f6e43fc982a9
gdb/doc:

* gdb.texinfo (GDB/MI Async Records): Document new MI
notifications '=tsv-created' and '=tsv-deleted'.
* observer.texi (GDB Observers): New observer tsv_created and
tsv_deleted.

gdb:

* mi/mi-interp.c: Declare mi_tsv_created and mi_tsv_deleted.
(mi_interpreter_init): Call observer_attach_tsv_created and
observer_attach_tsv_deleted.
(mi_tsv_created, mi_tsv_deleted): New.
* tracepoint.c (delete_trace_state_variable): Call
observer_notify_tsv_deleted.
(trace_variable_command): Call observer_notify_tsv_created.
(delete_trace_variable_command): Call
observer_notify_tsv_deleted.
(create_tsv_from_upload): Call observer_notify_tsv_created.
* NEWS: Mention it.

gdb/testsuite:

gdb.trace/mi-tsv-changed.exp: New.
gdb/ChangeLog
gdb/NEWS
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/doc/observer.texi
gdb/mi/mi-interp.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.trace/mi-tsv-changed.exp [new file with mode: 0644]
gdb/tracepoint.c