mirror of
https://github.com/mii443/qemu.git
synced 2025-12-03 11:08:25 +00: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user