binutils-gdb/gdb/mi
Simon Marchi d0d292a274 Use std::vector for traceframe_info::tvars
Straightforward change to get rid of a VEC.  We need to new/delete
traceframe_info instead of malloc/free it.  I found three places that
allocate a traceframe_info (ctf_traceframe_info, tfile_traceframe_info
and parse_traceframe_info) and only one that frees it
(free_traceframe_info).

gdb/ChangeLog:

	* tracepoint.h (struct traceframe_info) <tvars>: Change type to
	std::vector<int>.
	* tracepoint.c (free_traceframe_info): Deallocate with delete.
	(traceframe_info_start_tvar): Adjust to vector change.
	(parse_traceframe_info): Allocate with new.
	* ctf.c (ctf_traceframe_info): Allocate with new, adjust to
	vector change.
	* tracefile-tfile.c (build_traceframe_info): Adjust to vector
	change.
	tfile_traceframe_info): Allocate with new.
	* mi/mi-main.c (mi_cmd_trace_frame_collected): Adjust to vector
	change.
2017-10-14 08:42:23 -04:00
..
ChangeLog-1999-2003
mi-cmd-break.c Eliminate catch_exceptions/catch_exceptions_with_msg 2017-10-10 17:01:25 +01:00
mi-cmd-break.h Change setup_breakpoint_reporting to return a scoped_restore 2017-09-11 16:15:07 -06:00
mi-cmd-catch.c Eliminate catch_exceptions/catch_exceptions_with_msg 2017-10-10 17:01:25 +01:00
mi-cmd-disas.c Don't copy a string in mi_cmd_disassemble 2017-09-29 21:12:13 -06:00
mi-cmd-env.c Get rid of "gdb_dirbuf" and use "getcwd (NULL, 0)" 2017-09-22 13:28:16 -04:00
mi-cmd-file.c Use ui_out_emit_tuple in more places 2017-09-09 13:46:05 -06:00
mi-cmd-info.c Use a std::vector for ada_exceptions_list 2017-09-29 21:12:17 -06:00
mi-cmd-stack.c Use ui_out_emit_list 2017-04-22 09:47:01 -06:00
mi-cmd-target.c
mi-cmd-var.c Remove cleanups from mi-cmd-var.c 2017-09-29 21:12:12 -06:00
mi-cmds.c Remove unnecessary function prototypes. 2017-09-09 11:02:37 -07:00
mi-cmds.h
mi-common.c
mi-common.h
mi-console.c
mi-console.h
mi-getopt.c
mi-getopt.h
mi-interp.c Eliminate catch_exceptions/catch_exceptions_with_msg 2017-10-10 17:01:25 +01:00
mi-interp.h
mi-main.c Use std::vector for traceframe_info::tvars 2017-10-14 08:42:23 -04:00
mi-main.h
mi-out.c
mi-out.h
mi-parse.c Remove unused declaration 2017-09-29 21:12:13 -06:00
mi-parse.h Use DISABLE_COPY_AND_ASSIGN 2017-09-19 10:10:03 +01:00
mi-symbol-cmds.c Use ui_out_emit_list 2017-04-22 09:47:01 -06:00