binutils-gdb/gdb/unittests
Simon Marchi 9985872497 gdb: rename cmd_list_element::cmd_pointer to target
cmd_pointer is another field whose name I found really not clear.  Yes,
it's a pointer to a command, the type tells me that.  But what's the
relationship of that command to the current command?  This field
contains, for an alias, the command that it aliases.  So I think that
the name "alias_target" would be more appropriate.

Also, rename "old" parameters to "target" in the functions that add
aliases.

gdb/ChangeLog:

	* cli/cli-decode.h (cmd_list_element) <cmd_pointer>: Rename
	to...
	<alias_target>: ... this.
	(add_alias_cmd): Rename old to target.
	(add_info_alias): Rename old_name to target_name.
	(add_com_alias): Likewise.

Change-Id: I8db36c6dd799fae155f7acd3805f6d62d98befa9
2021-05-17 14:01:14 -04:00
..
basic_string_view Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
optional gdb: make some variables static 2021-01-20 20:55:05 -05:00
array-view-selftests.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
child-path-selftests.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
cli-utils-selftests.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
command-def-selftests.c gdb: rename cmd_list_element::cmd_pointer to target 2021-05-17 14:01:14 -04:00
common-utils-selftests.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
copy_bitwise-selftests.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
enum-flags-selftests.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
environ-selftests.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
filtered_iterator-selftests.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
format_pieces-selftests.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
function-view-selftests.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
gdb_tilde_expand-selftests.c Improve gdb_tilde_expand logic. 2021-01-23 17:17:38 +00:00
gmp-utils-selftests.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
lookup_name_info-selftests.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
main-thread-selftests.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
memory-map-selftests.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
memrange-selftests.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mkdir-recursive-selftests.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
observable-selftests.c gdbsupport: allow to specify dependencies between observers 2021-04-27 11:22:32 -04:00
offset-type-selftests.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
optional-selftests.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
parse-connection-spec-selftests.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
ptid-selftests.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
rsp-low-selftests.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
scoped_fd-selftests.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
scoped_mmap-selftests.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
scoped_restore-selftests.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
search-memory-selftests.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
string_view-selftests.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
style-selftests.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
tracepoint-selftests.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
tui-selftests.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
unpack-selftests.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
utils-selftests.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
vec-utils-selftests.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
xml-utils-selftests.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00