From patchwork Fri Aug 5 14:00:14 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Weigand X-Patchwork-Id: 3288 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 789F823F46 for ; Fri, 5 Aug 2011 14:00:20 +0000 (UTC) Received: from mail-qw0-f52.google.com (mail-qw0-f52.google.com [209.85.216.52]) by fiordland.canonical.com (Postfix) with ESMTP id 47B24A18543 for ; Fri, 5 Aug 2011 14:00:20 +0000 (UTC) Received: by qwb8 with SMTP id 8so1806419qwb.11 for ; Fri, 05 Aug 2011 07:00:19 -0700 (PDT) Received: by 10.229.183.84 with SMTP id cf20mr1739920qcb.121.1312552818132; Fri, 05 Aug 2011 07:00:18 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.229.6.73 with SMTP id 9cs49509qcy; Fri, 5 Aug 2011 07:00:17 -0700 (PDT) Received: by 10.227.11.135 with SMTP id t7mr1902485wbt.49.1312552817152; Fri, 05 Aug 2011 07:00:17 -0700 (PDT) Received: from mtagate2.uk.ibm.com (mtagate2.uk.ibm.com [194.196.100.162]) by mx.google.com with ESMTPS id fd10si6268849wbb.75.2011.08.05.07.00.16 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 05 Aug 2011 07:00:17 -0700 (PDT) Received-SPF: pass (google.com: domain of uweigand@de.ibm.com designates 194.196.100.162 as permitted sender) client-ip=194.196.100.162; Authentication-Results: mx.google.com; spf=pass (google.com: domain of uweigand@de.ibm.com designates 194.196.100.162 as permitted sender) smtp.mail=uweigand@de.ibm.com Received: from d06nrmr1307.portsmouth.uk.ibm.com (d06nrmr1307.portsmouth.uk.ibm.com [9.149.38.129]) by mtagate2.uk.ibm.com (8.13.1/8.13.1) with ESMTP id p75E0GfD016876 for ; Fri, 5 Aug 2011 14:00:16 GMT Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by d06nrmr1307.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p75E0Fu62461784 for ; Fri, 5 Aug 2011 15:00:16 +0100 Received: from d06av02.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p75E0FY6031087 for ; Fri, 5 Aug 2011 08:00:15 -0600 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with SMTP id p75E0E7C031034 for ; Fri, 5 Aug 2011 08:00:14 -0600 Message-Id: <201108051400.p75E0E7C031034@d06av02.portsmouth.uk.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Fri, 05 Aug 2011 16:00:14 +0200 Subject: [commit] Fix gdb.threads/thread-find.exp for remote targets (fwd) To: patches@linaro.org Date: Fri, 5 Aug 2011 16:00:14 +0200 (CEST) From: "Ulrich Weigand" X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 http://sourceware.org/ml/gdb-patches/2011-08/msg00070.html ChangeLog: * gdb.threads/thread-find.exp: Support remote targets. Index: gdb/testsuite/gdb.threads/thread-find.exp =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.threads/thread-find.exp,v retrieving revision 1.4 diff -u -p -r1.4 thread-find.exp --- gdb/testsuite/gdb.threads/thread-find.exp 22 Feb 2011 18:51:27 -0000 1.4 +++ gdb/testsuite/gdb.threads/thread-find.exp 4 Aug 2011 12:48:11 -0000 @@ -38,6 +38,10 @@ runto_main gdb_breakpoint [gdb_get_line_number "linuxthreads.exp: info threads 2"] gdb_continue_to_breakpoint "main thread's sleep" +# Make sure thread list is up-to-date (in case remote targets have not yet +# reported thread creation events) +gdb_test "info threads" + # Create thread names. gdb_test "thread apply 1 thread name threadname_1" \ "Thread 1 .*" \