v4: Better name for cmdline index pointer [1/4] Change comment for monitor_parse_command as suggested in review [1/4] Fix potential compilation failure in debug print [1/4] New - Fix failure path for argument type "S" [3/4] New - Remove debug prints [4/4]
v3: Track the current location directly in the command line [1/2] Fix potential qdict leak [1/2] Document char **endp [1/2] Rebase on top of changes and add reviewed-by [2/2] v2: Split up the command name and arguments parsing into separate functions. [1/2] Skip checking for failures with commands that use the .cmd_new interface or the async interface since they are scheduled for removal [2/2] Bandan Das (4): monitor: cleanup parsing of cmd name and cmd arguments When a command fails due to incorrect syntax or input, suggest using the "help" command to get more information about the command. This is only applicable for HMP. monitor: Fix failure path for "S" argument monitor: remove debug prints monitor.c | 121 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 61 insertions(+), 60 deletions(-) -- 2.1.0