diff options
author | 2018-04-16 21:09:48 -0600 | |
---|---|---|
committer | 2018-05-04 15:58:05 -0600 | |
commit | e2fc72e2c594968084b936bc5dc4702a2c0694f8 (patch) | |
tree | 70307653efb3b532fa403d7d8d783e2d7ed0e67e /gdb/dwarf2expr.h | |
parent | aarch64: PR 19806: watchpoints: false negatives + PR 20207 contiguous ones (diff) | |
download | binutils-gdb-e2fc72e2c594968084b936bc5dc4702a2c0694f8.tar.gz binutils-gdb-e2fc72e2c594968084b936bc5dc4702a2c0694f8.tar.bz2 binutils-gdb-e2fc72e2c594968084b936bc5dc4702a2c0694f8.zip |
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".
Diffstat (limited to 'gdb/dwarf2expr.h')
0 files changed, 0 insertions, 0 deletions