fix 'i' format handling in memory dump
It was broken by 09b9418c6d
. (!env && !is_physical) != (!is_physical)
when env is true.
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
05447803d0
commit
c64484a543
@ -1297,8 +1297,6 @@ static void memory_dump(Monitor *mon, int count, int format, int wsize,
|
|||||||
int flags;
|
int flags;
|
||||||
flags = 0;
|
flags = 0;
|
||||||
env = mon_get_cpu();
|
env = mon_get_cpu();
|
||||||
if (!is_physical)
|
|
||||||
return;
|
|
||||||
#ifdef TARGET_I386
|
#ifdef TARGET_I386
|
||||||
if (wsize == 2) {
|
if (wsize == 2) {
|
||||||
flags = 1;
|
flags = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user