From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14409 invoked by alias); 18 Oct 2013 21:24:03 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 14392 invoked by uid 89); 18 Oct 2013 21:24:02 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.6 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 18 Oct 2013 21:24:02 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r9IKniLj015923 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 18 Oct 2013 16:49:44 -0400 Received: from barimba.redhat.com (ovpn-113-54.phx2.redhat.com [10.3.113.54]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r9IKnbiu002849; Fri, 18 Oct 2013 16:49:44 -0400 From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [PATCH v2 13/17] make gdb.asm parallel-safe Date: Fri, 18 Oct 2013 21:24:00 -0000 Message-Id: <1382129374-18344-14-git-send-email-tromey@redhat.com> In-Reply-To: <1382129374-18344-1-git-send-email-tromey@redhat.com> References: <1382129374-18344-1-git-send-email-tromey@redhat.com> X-SW-Source: 2013-10/txt/msg00597.txt.bz2 This fixes gdb.asm to be parallel-safe. * gdb.asm/asm-source.exp: Use standard_output_file. --- gdb/testsuite/gdb.asm/asm-source.exp | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/gdb/testsuite/gdb.asm/asm-source.exp b/gdb/testsuite/gdb.asm/asm-source.exp index 5168452..511bd21 100644 --- a/gdb/testsuite/gdb.asm/asm-source.exp +++ b/gdb/testsuite/gdb.asm/asm-source.exp @@ -200,10 +200,13 @@ if [board_info $dest exists multilib_flags] { standard_testfile asmsrc1.s asmsrc2.s -remote_exec build "rm -f ${subdir}/arch.inc" -remote_download host ${srcdir}/${subdir}/${asm-arch}.inc ${subdir}/arch.inc -remote_exec build "rm -f ${subdir}/note.inc" -remote_download host ${srcdir}/${subdir}/${asm-note}.inc ${subdir}/note.inc +set arch_inc [standard_output_file arch.inc] +set note_inc [standard_output_file note.inc] + +remote_exec build "rm -f $arch_inc" +remote_download host ${srcdir}/${subdir}/${asm-arch}.inc $arch_inc +remote_exec build "rm -f $note_inc" +remote_download host ${srcdir}/${subdir}/${asm-note}.inc $note_inc if { [string equal ${asm-flags} ""] } { set asm-flags "-I${srcdir}/${subdir} $obj_include" @@ -467,5 +470,5 @@ test_dis "disassem &staticvar, &staticvar+1" "staticvar" gdb_test "disassem foostatic" ".*<\\+0>:.*End of assembler dump." \ "look at static function" -remote_exec build "rm -f ${subdir}/arch.inc" -remote_exec build "rm -f ${subdir}/note.inc" +remote_exec build "rm -f $arch_inc" +remote_exec build "rm -f $note_inc" -- 1.8.1.4