Patchwork Merge C++ conversion into trunk (6/6 - gdb tree macro support)

login
register
mail settings
Submitter Andreas Schwab
Date Aug. 27, 2012, 4:35 p.m.
Message ID <m2lih0b8dz.fsf@igel.home>
Download mbox | patch
Permalink /patch/180250/
State New
Headers show

Comments

Andreas Schwab - Aug. 27, 2012, 4:35 p.m.
Diego Novillo <dnovillo@google.com> 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.

Patch

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