diff options
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r-- | gdb/infrun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index 7b05504..ae530b7 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -539,7 +539,7 @@ a command like `return' or `jump' to continue execution.")); if (SOFTWARE_SINGLE_STEP_P () && step) { /* Do it the hard way, w/temp breakpoints */ - if (SOFTWARE_SINGLE_STEP (current_regcache)) + if (SOFTWARE_SINGLE_STEP (get_current_frame ())) { /* ...and don't ask hardware to do it. */ step = 0; |