+2015-05-28  Don Breazeal  <donb@codesourcery.com>
+
+       * gdb.base/foll-vfork.exp (main): Disable exec-dependent
+       tests for remote targets by checking is_target_gdbserver.
+
 2015-05-27  Doug Evans  <dje@google.com>
 
        * gdb.dwarf2/opaque-type-lookup-2.c: New file.
 
     check_vfork_catchpoints
 }
 
-# Follow parent and follow child vfork tests with a child that execs.
-with_test_prefix "exec" {
-    # These are tests of gdb's ability to follow the parent of a Unix
-    # vfork system call.  The child will subsequently call a variant
-    # of the Unix exec system call.
-    do_vfork_and_follow_parent_tests
-
-    # These are tests of gdb's ability to follow the child of a Unix
-    # vfork system call.  The child will subsequently call a variant
-    # of a Unix exec system call.
-    #
-    do_vfork_and_follow_child_tests_exec
+# There is no support for exec events in the RSP yet.
+if { ![gdb_is_target_remote] } {
+    # Follow parent and follow child vfork tests with a child that execs.
+    with_test_prefix "exec" {
+       # These are tests of gdb's ability to follow the parent of a Unix
+       # vfork system call.  The child will subsequently call a variant
+       # of the Unix exec system call.
+       do_vfork_and_follow_parent_tests
+
+       # These are tests of gdb's ability to follow the child of a Unix
+       # vfork system call.  The child will subsequently call a variant
+       # of a Unix exec system call.
+       #
+       do_vfork_and_follow_child_tests_exec
+    }
+} else {
+    unsupported "vfork with exec: exec events not supported for remote"
 }
 
 # Switch to test the case of the child exiting.  We can't use