From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2126) id 037473858D28; Fri, 27 Jan 2023 01:29:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 037473858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1674782976; bh=ETSpvNdesN6D9mQdT6oWTLvX4dEgFJvAAuV/mlMiAkY=; h=From:To:Subject:Date:From; b=DN3p41Y0wTk7+/3shSKq5X44VKCF1KiELxITerRmXwx4XOJMV7oo7XXbCqEBGCSro lEN+L0wCDZMZNFxqlvBJfX+TmtWJTCXSCBKuFPUPxGxnsEszdR9lnkTnvdFD++TaYZ Trxb9EBBchbhDTBMDqp+KmGLP1O/1oIfxm6GUGHg= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Tom Tromey To: gdb-cvs@sourceware.org Subject: [binutils-gdb] Use clean_restart in gdb.linespec X-Act-Checkin: binutils-gdb X-Git-Author: Tom Tromey X-Git-Refname: refs/heads/master X-Git-Oldrev: 836b6c10cd4b48c2729f91685a795050eae39f4f X-Git-Newrev: 4eed72400bd6e71ab0c6bbd1dd8035171d60390d Message-Id: <20230127012936.037473858D28@sourceware.org> Date: Fri, 27 Jan 2023 01:29:36 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D4eed72400bd6= e71ab0c6bbd1dd8035171d60390d commit 4eed72400bd6e71ab0c6bbd1dd8035171d60390d Author: Tom Tromey Date: Wed Jan 25 10:13:40 2023 -0700 Use clean_restart in gdb.linespec =20 Change gdb.linespec to use clean_restart more consistently. Diff: --- gdb/testsuite/gdb.linespec/explicit.exp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gdb/testsuite/gdb.linespec/explicit.exp b/gdb/testsuite/gdb.li= nespec/explicit.exp index 637470e6763..b08d65953d2 100644 --- a/gdb/testsuite/gdb.linespec/explicit.exp +++ b/gdb/testsuite/gdb.linespec/explicit.exp @@ -594,9 +594,7 @@ namespace eval $testfile { } =20 # Test interaction of condition command and explicit linespec conditon= s. - gdb_exit - gdb_start - gdb_load [standard_output_file $exefile] + clean_restart [standard_output_file $exefile] =20 set tst "condition_command overrides explicit linespec condition" if {![runto_main]} {