Rename "mem" related commmands
authorSimon Marchi <simon.marchi@ericsson.com>
Wed, 31 May 2017 15:09:07 +0000 (17:09 +0200)
committerSimon Marchi <simon.marchi@ericsson.com>
Wed, 31 May 2017 15:09:07 +0000 (17:09 +0200)
commitae3b3f34ed96f121af37018b8ff3a78810881ad8
treeba1624dc0e715e755ab6c98cf876affc32436351
parentab12fca3906c9c76ec25a9de52f5142f5736413f
Rename "mem" related commmands

Rename "mem" related commands, so that their naming is consistent with
the <command-name>_command pattern of naming functions that implement
commands.

gdb/ChangeLog:

* memattr.c (mem_info_command): Rename to ...
(info_mem_command): ... this.
(mem_enable_command): Rename to ...
(enable_mem_command): ... this.
(mem_disable_command): Rename to ...
(disable_mem_command): ... this.
(mem_delete_command): Rename to ...
(delete_mem_command): ... this.
(_initialize_mem): Adjust function names.
gdb/ChangeLog
gdb/memattr.c