This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 1/2] MI notification on tsv created and deleted.
>>>>> "Yao" == Yao Qi <yao@codesourcery.com> writes:
Yao> * mi/mi-interp.c: Declare mi_tsv_created and mi_tsv_deleted.
Yao> (mi_interpreter_init): Call observer_attach_tsv_created and
Yao> observer_attach_tsv_deleted.
Yao> (mi_tsv_created, mi_tsv_deleted): New.
Yao> * tracepoint.c (delete_trace_state_variable): Call
Yao> observer_notify_tsv_deleted.
Yao> (trace_variable_command): Call observer_notify_tsv_created.
Yao> (delete_trace_variable_command): Call
Yao> observer_notify_tsv_deleted.
Yao> (create_tsv_from_upload): Call observer_notify_tsv_created.
Yao> * NEWS: Mention it.
Yao> gdb/testsuite:
Yao> gdb.trace/mi-tsv-changed.exp: New.
Looks good to me.
Tom