gdbinit.in: Skip various inline functions in rtl.h when stepping
authorDavid Malcolm <dmalcolm@redhat.com>
Fri, 29 Aug 2014 20:20:17 +0000 (20:20 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Fri, 29 Aug 2014 20:20:17 +0000 (20:20 +0000)
gcc/
2014-08-29  David Malcolm  <dmalcolm@redhat.com>

* gdbinit.in: Skip various inline functions in rtl.h when
stepping.

From-SVN: r214741

gcc/ChangeLog
gcc/gdbinit.in

index 8d879af52381b6d349e1604131a91ac75a1938bc..f5500c9299fec269f827548abaa39bf883062f62 100644 (file)
@@ -1,3 +1,8 @@
+2014-08-29  David Malcolm  <dmalcolm@redhat.com>
+
+       * gdbinit.in: Skip various inline functions in rtl.h when
+       stepping.
+
 2014-08-29  Richard Sandiford  <richard.sandiford@arm.com>
 
        PR bootstrap/62301
index 25c530aa222e3743118f453b265ae7ce6fcbbdc0..2324688689eb75e6aaaa164a81490d6b217f6850 100644 (file)
@@ -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