mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-11 15:04:23 +00:00
fix the dsf
to use step over, so that it functions properly
not a full fix for making a good `finish` equivalent, but better than nothing.
This commit is contained in:
parent
697efb1b51
commit
7b70402037
@ -330,10 +330,8 @@ static int step_until_eof(RCore *core) {
|
||||
ut64 off, now = r_debug_reg_get (core->dbg, "SP");
|
||||
r_cons_break (NULL, NULL);
|
||||
do {
|
||||
if (r_cons_singleton ()->breaked)
|
||||
break;
|
||||
if (!r_debug_step (core->dbg, 1))
|
||||
break;
|
||||
// XXX (HACK!)
|
||||
r_core_cmd0 (core, "dso");
|
||||
off = r_debug_reg_get (core->dbg, "SP");
|
||||
// check breakpoint here
|
||||
} while (off <= now);
|
||||
|
Loading…
Reference in New Issue
Block a user