diff --git a/gcc/gdbinit.in b/gcc/gdbinit.in
index 858e490..6432113 100644
--- a/gcc/gdbinit.in
+++ b/gcc/gdbinit.in
@@ -186,10 +186,6 @@ end
  macro define __FILE__ "gdb"
  macro define __LINE__ 1

-# Skip all inline functions in tree.h.
-# These are used in accessor macros.
-skip "tree.h"
-
  # Gracefully handle aborts in functions used from gdb.
  set unwindonsignal on

@@ -207,3 +203,9 @@ set complaints 0
  # USE_SYSTEM_ABORT is defined, so gdb may complain and bail out.
  b exit
  b abort
+
+# 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"
