Diego Novillo <[email protected]> writes:
> +# Skip all inline functions in tree.h.
> +# These are used in accessor macros.
> +# Note that this is added at the end because older gdb versions
> +# do not understand the 'skip' command.
> +skip "tree.h"
(gdb) skip "tree.h"
No function found named "tree.h".
Committed as obvious.
Andreas.
* gdbinit.in: Fix syntax of skip command.
diff --git a/gcc/gdbinit.in b/gcc/gdbinit.in
index 79ffc09..0ddb91b 100644
--- a/gcc/gdbinit.in
+++ b/gcc/gdbinit.in
@@ -1,5 +1,5 @@
# Copyright (C) 2001, 2002, 2003, 2004, 2006,
-# 2008, 2010 Free Software Foundation, Inc.
+# 2008, 2010, 2012 Free Software Foundation, Inc.
#
# This file is part of GCC.
#
@@ -208,4 +208,4 @@ b abort
# These are used in accessor macros.
# Note that this is added at the end because older gdb versions
# do not understand the 'skip' command.
-skip "tree.h"
+skip file tree.h
--
1.7.12
--
Andreas Schwab, [email protected]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."