summaryrefslogtreecommitdiff
path: root/gdb/observer.sh
diff options
context:
space:
mode:
authorqiyao <qiyao>2013-02-06 14:45:09 +0000
committerqiyao <qiyao>2013-02-06 14:45:09 +0000
commit7c4fb02d41f78af09698df67e52e8c5b63585104 (patch)
tree59983cc399266d8dc0445ad54721fdd3f794f220 /gdb/observer.sh
parent00e1c4298d2b6fe040a9a970e98349602b12ddbf (diff)
downloadgdb-7c4fb02d41f78af09698df67e52e8c5b63585104.tar.gz
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.
Diffstat (limited to 'gdb/observer.sh')
-rwxr-xr-xgdb/observer.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/observer.sh b/gdb/observer.sh
index 3ff28a8eab1..7b9e70cb26b 100755
--- a/gdb/observer.sh
+++ b/gdb/observer.sh
@@ -64,6 +64,7 @@ struct so_list;
struct objfile;
struct thread_info;
struct inferior;
+struct trace_state_variable;
EOF
;;
esac