mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-12 17:48:33 +00:00
fix r_debug_reg_get to use PC instead of pc in dbg
This commit is contained in:
parent
644c0c4930
commit
9a77bdc7d5
@ -63,7 +63,7 @@ int linux_step (RDebug *dbg) {
|
||||
ut64 addr = 0; /* should be eip */
|
||||
//ut32 data = 0;
|
||||
//printf("NATIVE STEP over PID=%d\n", pid);
|
||||
addr = r_debug_reg_get (dbg, "pc");
|
||||
addr = r_debug_reg_get (dbg, "PC");
|
||||
ret = ptrace (PTRACE_SINGLESTEP, dbg->pid,
|
||||
(void*)(size_t)addr, 0);
|
||||
linux_handle_signals (dbg);
|
||||
|
Loading…
x
Reference in New Issue
Block a user