Extend "skip" command to support -file, -gfile, -function, -rfunction.
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / skip.c
index 35682960c1068e50333f66f1c08cf0d6a0f540c8..b9db2a789868a9c330b0018db24018104ce2d4a5 100644 (file)
@@ -20,6 +20,7 @@
 int foo (void);
 int bar (void);
 int baz (int);
+void skip1_test_skip_file_and_function (void);
 
 int
 main ()
@@ -33,3 +34,22 @@ foo ()
 {
   return 0;
 }
+
+static void
+test_skip (void)
+{
+}
+
+static void
+end_test_skip_file_and_function (void)
+{
+  abort ();
+}
+
+void
+test_skip_file_and_function (void)
+{
+  test_skip ();
+  skip1_test_skip_file_and_function ();
+  end_test_skip_file_and_function ();
+}
This page took 0.028325 seconds and 4 git commands to generate.