gdb: change some alias functions parameters to const-reference
authorSimon Marchi <simon.marchi@polymtl.ca>
Wed, 1 Dec 2021 16:41:32 +0000 (11:41 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Fri, 3 Dec 2021 21:48:42 +0000 (16:48 -0500)
commiteccd14b3f5927107c3b6ce5993fa9b9c054b27c3
tree2a3173444879d10a48ab24031e67078ad56940e4
parentc471bdb19858ad0e7a0d5f5017fd5e1892525da8
gdb: change some alias functions parameters to const-reference

Now that we use intrusive list to link aliases, it becomes easier to
pass cmd_list_element arguments by const-reference rather than by
pointer to some functions, change a few.

Change-Id: Id0df648ed26e9447da0671fc2c858981cda31df8
gdb/cli/cli-decode.c