From 3f01d0d0427544726a7c6a0fe93ad02e31061a9d Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Wed, 16 Jan 2013 14:44:03 +0000 Subject: [PATCH] gdb/ * infcmd.c (step_once): Don't check '!single_inst' as it was checked before. --- gdb/ChangeLog | 5 +++++ gdb/infcmd.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7fd2794e23..e7fc5c8a09 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2013-01-16 Yao Qi + + * infcmd.c (step_once): Don't check '!single_inst' as it was + checked before. + 2013-01-15 Jan Kratochvil * dwarf2read.c (psymtab_include_file_name): Extend the function comment. diff --git a/gdb/infcmd.c b/gdb/infcmd.c index 085903dcb0..fb34ae4131 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; -- 2.34.1