From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 80405 invoked by alias); 23 May 2018 12:43:35 -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 80347 invoked by uid 89); 23 May 2018 12:43:34 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=investing, afford, H*r:0700 X-HELO: 9pmail.ess.barracuda.com Received: from 9pmail.ess.barracuda.com (HELO 9pmail.ess.barracuda.com) (64.235.150.224) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 23 May 2018 12:43:33 +0000 Received: from mipsdag02.mipstec.com (mail2.mips.com [12.201.5.32]) by mx4.ess.sfj.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA256 bits=128 verify=NO); Wed, 23 May 2018 12:42:32 +0000 Received: from [10.20.78.177] (10.20.78.177) by mipsdag02.mipstec.com (10.20.40.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1415.2; Wed, 23 May 2018 05:42:33 -0700 Date: Wed, 23 May 2018 14:17:00 -0000 From: "Maciej W. Rozycki" To: Pedro Alves CC: , Djordje Todorovic Subject: Re: [PATCH] testsuite: Extend TLS core file testing with an OS-generated dump In-Reply-To: <5b76142d-479d-3c34-9294-9f4510d0fc04@redhat.com> Message-ID: References: <5b76142d-479d-3c34-9294-9f4510d0fc04@redhat.com> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-ClientProxiedBy: mipsdag02.mipstec.com (10.20.40.47) To mipsdag02.mipstec.com (10.20.40.47) X-BESS-ID: 1527079351-298555-1261-86812-1 X-BESS-VER: 2018.6-r1805181819 X-BESS-Apparent-Source-IP: 12.201.5.32 X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.193285 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.00 BSF_BESS_OUTBOUND META: BESS Outbound X-BESS-Outbound-Spam-Status: SCORE=0.00 using account:ESS59374 scores of KILL_LEVEL=7.0 tests=BSF_BESS_OUTBOUND X-BESS-BRTS-Status:1 X-SW-Source: 2018-05/txt/msg00624.txt.bz2 On Wed, 23 May 2018, Pedro Alves wrote: > > to gdbserver testing. The latter is because we'd have to handle core > > file copying from the remote system and then cleaning up with a possibly > > variable name of the core file created. This code has been based on > > gdb.base/auxv.exp, which does not do it either. > > Hmm, that sounds like an outdated testcase to copy. See > gdb.threads/corethreads.exp, for example, and the use of the core_find > procedure. Can we use that procedure here too? Possibly. The test case is skipped with all my testing, native or native-gdbserver, due to the use of `![isnative]' (I have $build != $host; the native compiler I have on the host machine is too old to build GDB these days), so I didn't even notice it there. > I also don't see why (gdbserver && !is_remote) testing can't work, such as > with --target=native-gdbserver and --target=native-extended-gdbserver boards. > It works for gdb.threads/corethreads.exp, for example. Acknowledged. Given the current situation I cannot afford investing any further work into this change, so let's ditch it (and a change to gdb.base/auxv.exp to use `use_gdb_stub' I planned to submit next). If I find some time after all, then I can revisit the decision later on. Maciej