binutils-gdb/gdb/compile
Tom Tromey bac51ab78d Avoid manual memory management of argv arrays in gdb/compile
This changes gdb/compile to use gdb_argv directly, rather than
manually managing the arrays itself.  A few new helpers are added to
gdb_argv.

gdb/ChangeLog
2020-09-23  Tom Tromey  <tom@tromey.com>

	* utils.h (class gdb_argv): Add move operators.
	<append>: New methods.
	* compile/compile.c (build_argc_argv): Remove.
	(compile_args_argc): Remove.
	(compile_args_argv): Change type.
	(set_compile_args): Simplify.
	(append_args): Remove.
	(filter_args): Remove argcp parameter.
	(get_args): Return gdb_argv.  Simplify.
	(compile_to_object): Update.
2020-09-23 09:32:57 -06:00
..
compile-c-support.c gdb: remove TYPE_UNSIGNED 2020-09-14 11:07:57 -04:00
compile-c-symbols.c gdb: remove TYPE_GNU_IFUNC 2020-09-14 11:08:06 -04:00
compile-c-types.c Remove some manual memory management from compile interface 2020-09-23 09:32:54 -06:00
compile-c.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
compile-cplus-symbols.c Rewrite enum_flags, add unit tests, fix problems 2020-09-14 22:21:07 +01:00
compile-cplus-types.c Remove some manual memory management from compile interface 2020-09-23 09:32:54 -06:00
compile-cplus.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
compile-internal.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
compile-loc2c.c Remove dwarf2_per_cu_data::text_offset 2020-05-27 11:15:57 -04:00
compile-object-load.c Simplify compile_module cleanup 2020-09-23 09:32:56 -06:00
compile-object-load.h Simplify compile_module cleanup 2020-09-23 09:32:56 -06:00
compile-object-run.c Simplify compile_module cleanup 2020-09-23 09:32:56 -06:00
compile-object-run.h Introduce and use compile_module_up 2020-09-23 09:32:55 -06:00
compile.c Avoid manual memory management of argv arrays in gdb/compile 2020-09-23 09:32:57 -06:00
compile.h Remove dwarf2_per_cu_data::text_offset 2020-05-27 11:15:57 -04:00
gcc-c-plugin.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gcc-cp-plugin.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00