summaryrefslogtreecommitdiff
path: root/gcc/gdbinit.in
diff options
context:
space:
mode:
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>2014-08-29 20:20:17 +0000
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>2014-08-29 20:20:17 +0000
commit3e76fcb4ff32c704ae78f76f8c597873f90b3a74 (patch)
tree652cad211f35033f1f93d647793a902a6a889160 /gcc/gdbinit.in
parentd240d5fde9d3e9a790b7f585e2ecaba7c071d3a5 (diff)
downloadgcc-3e76fcb4ff32c704ae78f76f8c597873f90b3a74.tar.gz
gdbinit.in: Skip various inline functions in rtl.h when stepping
gcc/ 2014-08-29 David Malcolm <dmalcolm@redhat.com> * gdbinit.in: Skip various inline functions in rtl.h when stepping. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214741 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gdbinit.in')
-rw-r--r--gcc/gdbinit.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/gcc/gdbinit.in b/gcc/gdbinit.in
index 25c530aa222..2324688689e 100644
--- a/gcc/gdbinit.in
+++ b/gcc/gdbinit.in
@@ -234,4 +234,24 @@ set check type off
# These are used in accessor macros.
# Note that this is added at the end because older gdb versions
# do not understand the 'skip' command.
+# See https://sourceware.org/gdb/current/onlinedocs/gdb/Skipping-Over-Functions-and-Files.html
skip file tree.h
+
+# Likewise, skip various inline functions in rtl.h.
+skip rtx_expr_list::next
+skip rtx_expr_list::element
+skip rtx_insn_list::next
+skip rtx_insn_list::insn
+skip rtx_sequence::len
+skip rtx_sequence::element
+skip rtx_sequence::insn
+skip INSN_UID
+skip PREV_INSN
+skip SET_PREV_INSN
+skip NEXT_INSN
+skip SET_NEXT_INSN
+skip BLOCK_FOR_INSN
+skip PATTERN
+skip INSN_LOCATION
+skip INSN_HAS_LOCATION
+skip JUMP_LABEL_AS_INSN