binutils-gdb/gdb/cli
Tom Tromey e2fc72e2c5 Allocate cmd_list_element with new
This adds a constructor and destructor to cmd_list_element and changes
it to be allocated with new.  This will be useful in a subsequent
patch.

ChangeLog
2018-05-04  Tom Tromey  <tom@tromey.com>

	* cli/cli-decode.h (cmd_list_element): New constructor.
	(~cmd_list_element): New destructor.
	(struct cmd_list_element): Add initializers.
	* cli/cli-decode.c (do_add_cmd): Use "new".
	(delete_cmd): Use "delete".
2018-05-04 15:58:05 -06:00
..
cli-cmds.c Change openp et al to use a unique_xmalloc_ptr 2018-02-14 08:09:53 -07:00
cli-cmds.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
cli-decode.c Allocate cmd_list_element with new 2018-05-04 15:58:05 -06:00
cli-decode.h Allocate cmd_list_element with new 2018-05-04 15:58:05 -06:00
cli-dump.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
cli-interp.c Convert observers to C++ 2018-03-19 09:37:49 -06:00
cli-interp.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
cli-logging.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
cli-script.c Add gdb::string_view 2018-04-09 14:20:46 -04:00
cli-script.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
cli-setshow.c Convert observers to C++ 2018-03-19 09:37:49 -06:00
cli-setshow.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
cli-utils.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
cli-utils.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00