Copyright year update in most files of the GDB Project.
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.threads / execl.exp
index 9cafeda4ac4f7f2ad1fb00ff5555c77a96bcd77f..4a8fb4d9401fa56eb31164fc811a716a36c0b58a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc.
+# Copyright (C) 2008-2012 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -15,6 +15,9 @@
 
 # Test handling of threads across an execl.
 
+if { [is_remote target] } then {
+    continue
+}
 
 # Original image, loads a thread library.
 set testfile "execl"
@@ -57,11 +60,11 @@ gdb_test "info threads" ".*" "info threads after exec"
 
 set test "info threads after exec"
 gdb_test_multiple "info threads" "$test" {
-    -re "2 Thread .*$gdb_prompt $" {
+    -re "2 *Thread .*$gdb_prompt $" {
        # Old threads left behind.
        fail "$test"
     }
-    -re "4 Thread .*$gdb_prompt $" {
+    -re "4 *Thread .*$gdb_prompt $" {
        # New threads registered.
        fail "$test"
     }
@@ -71,5 +74,4 @@ gdb_test_multiple "info threads" "$test" {
     }
 }
 
-gdb_test "continue" ".*Program exited normally\\." \
-    "continue to end"
+gdb_continue_to_end
This page took 0.028915 seconds and 4 git commands to generate.