aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
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')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/infcmd.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7fd2794..e7fc5c8 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2013-01-16 Yao Qi <yao@codesourcery.com>
+
+ * infcmd.c (step_once): Don't check '!single_inst' as it was
+ checked before.
+
2013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
* dwarf2read.c (psymtab_include_file_name): Extend the function comment.
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;