gdb/
authorYao Qi <yao@codesourcery.com>
Wed, 26 Jun 2013 05:25:28 +0000 (05:25 +0000)
committerYao Qi <yao@codesourcery.com>
Wed, 26 Jun 2013 05:25:28 +0000 (05:25 +0000)
commitcbfa3b61043a240d89f0529b870e2142bdca95d4
tree15a60ce789b0c9c6febe2ee6e5f329887d6a4ba7
parentbb235b694f079efdd7ebdb3b54482e18a82eb907
gdb/

2013-06-26  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'.
gdb/ChangeLog
gdb/tracepoint.c