cosmetic bug in qemu "monitor", broken help description of "info capture" ?
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi, I'm not sure if this is known or not, being too lazy to check the alias (sorry about that). I've just installed qemu 0.8.2 and kqemu on opensolaris and played a little bit with "monitor" ctrl-alt-2. I've tried to display all "info" commands available, so I entered "info" command without arguments and qemu listed almost all of possible info commands, however then it crashed. I investigated the core file and suspect there is a typo in monitor.c. When monitor tries to print info about the "info capture" command, it segfaults, since "info capture" description is incomplete (only 4 from 5 fields are defined, leaving last one NULL) :
---- monitor.c.orig Mon Nov 27 00:31:38 2006
+++ monitor.c Mon Nov 27 00:32:29 2006
@@ -1237,7 +1237,7 @@
{ "profile", "", do_info_profile,
"", "show profiling information", },
{ "capture", "", do_info_capture,
- "show capture information" },
+ "", "show capture information" },
{ NULL, NULL, },};
Regards,
Vita