fix 'i' format handling in memory dump
PATCH 1/1 fix 'i' format handling in memory dump
It was broken by 09b9418c6d0. (!env && !is_physical) != (!is_physical) when env is true.
Signed-off-by Gleb Natapov <[email protected]>
monitor.c +0 -2
@@ -1297,8 +1297,6 @@ static void memory_dump(Monitor *mon, int count, int format, int wsize,int flags; flags =0 ; env =mon_get_cpu (); -if (!is_physical) -return ;#ifdef TARGET_I386 if (wsize ==2 ) { flags =1 ;
--
Gleb.
Quoted 9 lines · Gleb Natapov
It was broken by
09b9418c6d0. (!env && !is_physical) != (!is_physical) when env is true.Signed-off-by Gleb Natapov <[email protected]>monitor.c +0
-0
monitor.c static void memory_dump(Monitor *mon, int count, int format, int wsize, · line 1302
Quoted 8 lines
monitor.c +0
-2@@ -1297,8 +1297,6 @@ static void memory_dump(Monitor *mon, int count, int format, int wsize,int flags; flags =0 ; env =mon_get_cpu (); -if (!is_physical) -return ;#ifdef TARGET_I386 if (wsize ==2 ) { flags =1 ;
*Ouch*
I checked the offending commit for more such errors, but couldn't find any.