mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-17 21:26:13 -07:00
monitor: Move remaining HMP commands from misc.c to hmp-cmds.c
This requires giving them external linkage. Rename do_help_cmd() to hmp_help(), and do_print() to hmp_print(). Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20230124121946.1139465-30-armbru@redhat.com>
This commit is contained in:
parent
e22455664b
commit
cbf819979b
4 changed files with 233 additions and 221 deletions
|
|
@ -11,7 +11,7 @@ HXCOMM HXCOMM can be used for comments, discarded from both rST and C.
|
|||
.args_type = "name:S?",
|
||||
.params = "[cmd]",
|
||||
.help = "show the help",
|
||||
.cmd = do_help_cmd,
|
||||
.cmd = hmp_help,
|
||||
.flags = "p",
|
||||
},
|
||||
|
||||
|
|
@ -563,7 +563,7 @@ ERST
|
|||
.args_type = "fmt:/,val:l",
|
||||
.params = "/fmt expr",
|
||||
.help = "print expression value (use $reg for CPU register access)",
|
||||
.cmd = do_print,
|
||||
.cmd = hmp_print,
|
||||
},
|
||||
|
||||
SRST
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue