From 08216dfb85350e19d72571f3d0dbdcc377ab9500 Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Fri, 29 Aug 2014 20:20:17 +0000 Subject: [PATCH] gdbinit.in: Skip various inline functions in rtl.h when stepping gcc/ 2014-08-29 David Malcolm * gdbinit.in: Skip various inline functions in rtl.h when stepping. From-SVN: r214741 --- gcc/ChangeLog | 5 +++++ gcc/gdbinit.in | 20 ++++++++++++++++++++ 2 files changed, 25 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8d879af5238..f5500c9299f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-08-29 David Malcolm + + * gdbinit.in: Skip various inline functions in rtl.h when + stepping. + 2014-08-29 Richard Sandiford PR bootstrap/62301 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 -- 2.30.2