[PATCH 1/6] Remove global variable tracepoint_list and stepping_list.
Pedro Alves
palves@redhat.com
Tue Jun 25 15:28:00 GMT 2013
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
More information about the Gdb-patches
mailing list