From: Yao Qi Date: Wed, 16 Jan 2013 14:44:03 +0000 (+0000) Subject: gdb/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3f01d0d0427544726a7c6a0fe93ad02e31061a9d;p=binutils-gdb.git gdb/ * infcmd.c (step_once): Don't check '!single_inst' as it was checked before. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7fd2794e23e..e7fc5c8a09b 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 085903dcb01..fb34ae41310 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;