gdb/doc:
authorYao Qi <yao@codesourcery.com>
Wed, 6 Feb 2013 14:45:20 +0000 (14:45 +0000)
committerYao Qi <yao@codesourcery.com>
Wed, 6 Feb 2013 14:45:20 +0000 (14:45 +0000)
commit134a20666733a1db093d7da3554a8b74bb03bfc2
tree32d9bced44175dd904bfceb55f6060e54d54363b
parent8952bc699feff37d71177256c81eb153f642ceec
gdb/doc:

2013-02-06  Yao Qi  <yao@codesourcery.com>

* gdb.texinfo (GDB/MI Async Records): Document new MI
notification "=tsv-modified".  Update the document of MI
notification "=tsv-created".
* observer.texi (GDB Observers): New observer tsv_modified.
Update observer tsv_created and tsv_deleted.

gdb:

2013-02-06  Yao Qi  <yao@codesourcery.com>

* mi/mi-interp.c: Include "tracepoint.h".
(mi_tsv_modified): Declare.
(mi_tsv_created, mi_tsv_deleted): Update declaration.
(mi_interpreter_init): Call observer_attach_tsv_modified.
(mi_tsv_modified): New.
(mi_tsv_created, mi_tsv_deleted): Update.
* tracepoint.c (trace_variable_command): Call
observer_notify_tsv_modified if the initial value of tsv is
changed.
(delete_trace_state_variable): Call
observer_notify_tsv_deleted earlier.
(trace_variable_command): Caller update.
(create_tsv_from_upload): Likewise.
* observer.sh: Declare "struct trace_state_variable".

* NEWS: Mention the new MI notification "=tsv-modified".

gdb/testsuite:

2013-02-06  Yao Qi  <yao@codesourcery.com>

* gdb.trace/mi-tsv-changed.exp (test_create_delete_tsv): Rename
to ...
(test_create_delete_modify_tsv): ... here.  New test on modifying
the initial value of a tsv.
gdb/ChangeLog
gdb/NEWS
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/doc/observer.texi
gdb/mi/mi-interp.c
gdb/observer.sh
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.trace/mi-tsv-changed.exp
gdb/tracepoint.c