aboutsummaryrefslogtreecommitdiff
path: root/gdb/infcmd.c
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2013-01-16 14:44:03 +0000
committerYao Qi <yao@codesourcery.com>2013-01-16 14:44:03 +0000
commit3f01d0d0427544726a7c6a0fe93ad02e31061a9d (patch)
treebd140cc024cb2a9d467ee455dd16153aa9871f57 /gdb/infcmd.c
parent04e65a62c6136e9907d4db6d9cf0216832bdafa3 (diff)
downloadgdb-3f01d0d0427544726a7c6a0fe93ad02e31061a9d.zip
gdb-3f01d0d0427544726a7c6a0fe93ad02e31061a9d.tar.gz
gdb-3f01d0d0427544726a7c6a0fe93ad02e31061a9d.tar.bz2
gdb/
* infcmd.c (step_once): Don't check '!single_inst' as it was checked before.
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r--gdb/infcmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index 085903d..fb34ae4 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -1032,7 +1032,7 @@ step_once (int skip_subroutines, int single_inst, int count, int thread)
CORE_ADDR pc;
/* Step at an inlined function behaves like "down". */
- if (!skip_subroutines && !single_inst
+ if (!skip_subroutines
&& inline_skipped_frames (inferior_ptid))
{
ptid_t resume_ptid;