This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RFA: PATCH to tell gdb to skip over is-a.h inlines
- From: Jason Merrill <jason at redhat dot com>
- To: gcc-patches List <gcc-patches at gcc dot gnu dot org>, Jakub Jelinek <jakub at redhat dot com>
- Date: Mon, 25 Apr 2016 13:28:32 -0400
- Subject: RFA: PATCH to tell gdb to skip over is-a.h inlines
- Authentication-results: sourceware.org; auth=none
There doesn't seem to be any need to step through the is-a inline
functions. OK for trunk?
commit 1b74375b17e37ab7c5f96944148ff5a6bff3f8bc
Author: Jason Merrill <jason@redhat.com>
Date: Wed Apr 20 10:21:02 2016 -0400
* gdbinit.in: Skip is-a.h.
diff --git a/gcc/gdbinit.in b/gcc/gdbinit.in
index af7d51a..d221130 100644
--- a/gcc/gdbinit.in
+++ b/gcc/gdbinit.in
@@ -246,6 +246,9 @@ set check type off
# See https://sourceware.org/gdb/current/onlinedocs/gdb/Skipping-Over-Functions-and-Files.html
skip file tree.h
+# Also skip inline functions in is-a.h.
+skip file is-a.h
+
# Likewise, skip various inline functions in rtl.h.
skip rtx_expr_list::next
skip rtx_expr_list::element