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 1/6] Remove global variable tracepoint_list and stepping_list.


On 06/13/2013 02:28 AM, Yao Qi wrote:
> This patch is a refactor patch.  Simply, it removes two global
> variables tracepoint_list and stepping_list.
> 
> gdb:
> 
> 2013-06-13  Pedro Alves  <pedro@codesourcery.com>
> 	    Yao Qi  <yao@codesourcery.com>
> 
> 	* tracepoint.c (tracepoint_list, stepping_list): Remove.
> 	(clear_collection_list): Free fields 'aexpre_list' and 'list' in
> 	collection_list.
> 	(do_clear_collection_list, init_collection_list): New.
> 	(encode_actions): Add local variables 'tracepoint_list' and
> 	'stepping_list'.  Call init_collection_list and make cleanup which
> 	calls do_clear_collection_list.  Don't call clear_collection_list.
> 	(_initialize_tracepoint): Delete references to 'tracepoint_list'
> 	and 'stepping_list'.

OK, thanks.

-- 
Pedro Alves


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