Fix #7841 - allow scroll in pCD

This commit is contained in:
pancake 2017-06-30 11:38:46 +02:00
parent 311dfdeed3
commit 9b98a8a5e4

View File

@ -217,11 +217,8 @@ static void cmd_pCD(RCore *core, const char *input) {
break;
case 1:
(void) r_cons_canvas_gotoxy (c, 28, 0);
if (core->assembler->bits == 64) {
cmd = r_str_newf ("pxq 128@r:SP;pd@r:PC");
} else {
cmd = r_str_newf ("pxw 128@r:SP;pd@r:PC");
}
// cmd = r_str_newf ("pxw 128@r:SP;pd@r:PC");
cmd = r_str_newf ("pxq 128@r:SP;pd@ 0x%"PFMT64x, osek);
break;
}
char *dis = r_core_cmd_str (core, cmd);