[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [5381] fix default size handling in monitor
From: |
Aurelien Jarno |
Subject: |
[Qemu-devel] [5381] fix default size handling in monitor |
Date: |
Wed, 01 Oct 2008 21:45:52 +0000 |
Revision: 5381
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5381
Author: aurel32
Date: 2008-10-01 21:45:51 +0000 (Wed, 01 Oct 2008)
Log Message:
-----------
fix default size handling in monitor
If /i format is used once (with x/xp/p command) default_fmt_size is set
to -1 and subsequent commands of the form /x outputs nothing. Included
patched fixes this by setting default_fmt_size only if the command is
not of format /i.
Signed-off-by: Gleb Natapov <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>
Modified Paths:
--------------
trunk/monitor.c
Modified: trunk/monitor.c
===================================================================
--- trunk/monitor.c 2008-10-01 21:45:37 UTC (rev 5380)
+++ trunk/monitor.c 2008-10-01 21:45:51 UTC (rev 5381)
@@ -2330,8 +2330,8 @@
/* for 'i', not specifying a size gives -1 as size */
if (size < 0)
size = default_fmt_size;
+ default_fmt_size = size;
}
- default_fmt_size = size;
default_fmt_format = format;
} else {
count = 1;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [5381] fix default size handling in monitor,
Aurelien Jarno <=