This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] New MI notification "=tsv-modified"


On 02/06/2013 01:11 PM, Yao Qi wrote:

> 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".

> 
> 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.

Thanks.  These parts are OK.

-- 
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]