Update year range in copyright notice of all files owned by the GDB project.
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.threads / attach-into-signal.exp
index c74fafa4842a343f8d02f1da5b619e577109738c..94369faa37c66b886336ee4ef848062de197a96d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 2008-2012 Free Software Foundation, Inc.
+# Copyright 2008-2015 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
@@ -66,9 +66,9 @@ proc corefunc { threadtype executable } {
                    set stoppedtry 10
                    break
                }
-               gets $fileid line1;
-               gets $fileid line2;
-               close $fileid;
+               gets $fileid line1
+               gets $fileid line2
+               close $fileid
 
                if {![string match "*(stopped)*" $line2]} {
                    # No PASS message as we may be looping in multiple
@@ -102,15 +102,6 @@ proc corefunc { threadtype executable } {
                        # that by peeking at the thread's siginfo.
                        # SIGALRM is 14, SIGSTOP is 19.
 
-                       # With remote targets, we need to pull the
-                       # thread list explicitly before GDB even knows
-                       # about thread 2.
-                       set test2 "pull thread list"
-                       gdb_test_multiple "info threads" $test2 {
-                           -re "\r\n$gdb_prompt $" {
-                           }
-                       }
-
                        set test2 "thread apply 2 print \$_siginfo.si_signo"
                        gdb_test_multiple $test2 $test2 {
                            -re " = 14\r\n$gdb_prompt $" {
This page took 0.026749 seconds and 4 git commands to generate.