From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca (simark.ca [158.69.221.121]) by sourceware.org (Postfix) with ESMTPS id 6138A3942010 for ; Wed, 18 Mar 2020 12:48:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 6138A3942010 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=simark.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=simark@simark.ca Received: from [172.16.0.95] (192-222-181-218.qc.cable.ebox.net [192.222.181.218]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPSA id 57E781E5F9; Wed, 18 Mar 2020 08:48:48 -0400 (EDT) Subject: Re: [PATCH 0/7] refactor and enhance jit testing To: "Strasuns, Mihails" , "gdb-patches@sourceware.org" References: <20200218124339.11270-1-mihails.strasuns@intel.com> From: Simon Marchi Message-ID: Date: Wed, 18 Mar 2020 08:48:44 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: tl Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-10.0 required=5.0 tests=GIT_PATCH_2, GIT_PATCH_3, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Mar 2020 12:48:51 -0000 Pinging myself to keep this near the top and re-assure you I haven't forgot :) On 2020-02-26 8:56 a.m., Strasuns, Mihails wrote: > Kind ping regarding last 3 patches ;) > > Best regards, > Mihails > > -----Original Message----- > From: gdb-patches-owner@sourceware.org On Behalf Of Mihails Strasuns > Sent: Tuesday, February 18, 2020 1:44 PM > To: gdb-patches@sourceware.org > Subject: [PATCH 0/7] refactor and enhance jit testing > > Replaces https://gnutoolchain-gerrit.osci.io/r/c/binutils-gdb/+/757 with a different approach proposed by Simon. > > After these patches it becomes possible to add new jit-elf tests which rely on DWARF debug info present. There is a lot of refactoring being done - I tried to split it into smallest individually compiling steps that still make sense. > > 3ad6f47703 [gdb/testsuite] add jit-elf-util.h and run jit function > 99bee9a000 [gdb/testsuite] use -Ttext-segment for jit-elf tests > af8f23b301 [gdb/testsuite] add lib/jit-elf-helpers.exp > a0b17bef28 [gdb/testsuite] use args as lib list for jit-elf tests > 513be63401 [gdb/testsuite] share jit-protocol.h by all jit tests > 757c4f7100 [gdb/testsuite] structured rename of jit test files d37a2fb49b [gdb/testsuite] allow more registers in reader test > > gdb/testsuite/gdb.base/jit-attach-pie.c | 24 +-- > gdb/testsuite/gdb.base/{jit-dlmain.c => jit-elf-dlmain.c} | 0 > gdb/testsuite/gdb.base/jit-elf-main.c | 143 ++++++++++++++++++ > gdb/testsuite/gdb.base/jit-elf-so.exp | 114 +++++++++++++++ > gdb/testsuite/gdb.base/{jit-solib.c => jit-elf-solib.c} | 0 > gdb/testsuite/gdb.base/jit-elf-util.h | 145 ++++++++++++++++++ > gdb/testsuite/gdb.base/{jit.exp => jit-elf.exp} | 80 +++------- > gdb/testsuite/gdb.base/jit-main.c | 236 ------------------------------ > gdb/testsuite/gdb.base/jit-protocol.h | 8 +- > gdb/testsuite/gdb.base/{jit-exec.c => jit-reader-exec.c} | 2 +- > gdb/testsuite/gdb.base/{jit-exec.exp => jit-reader-exec.exp} | 4 +- > gdb/testsuite/gdb.base/{jit-execd.c => jit-reader-execd.c} | 0 > gdb/testsuite/gdb.base/{jithost.c => jit-reader-host.c} | 5 +- > gdb/testsuite/gdb.base/{jithost.h => jit-reader-host.h} | 0 > gdb/testsuite/gdb.base/{jit-simple-dl.c => jit-reader-simple-dl.c} | 0 > gdb/testsuite/gdb.base/jit-reader-simple-jit.c | 27 ++++ > gdb/testsuite/gdb.base/{jit-simple.c => jit-reader-simple.c} | 2 +- > gdb/testsuite/gdb.base/{jit-simple.exp => jit-reader-simple.exp} | 0 > gdb/testsuite/gdb.base/{jitreader.c => jit-reader.c} | 2 +- > gdb/testsuite/gdb.base/jit-reader.exp | 6 +- > gdb/testsuite/gdb.base/jit-simple-jit.c | 50 ------- > gdb/testsuite/gdb.base/jit-so.exp | 125 ---------------- > gdb/testsuite/lib/jit-elf-helpers.exp | 92 ++++++++++++ > 23 files changed, 559 insertions(+), 506 deletions(-) > > > Intel Deutschland GmbH > Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany > Tel: +49 89 99 8853-0, www.intel.de > Managing Directors: Christin Eisenschmid, Gary Kershaw Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich Commercial Register: Amtsgericht Muenchen HRB 186928 > > Intel Deutschland GmbH > Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany > Tel: +49 89 99 8853-0, www.intel.de > Managing Directors: Christin Eisenschmid, Gary Kershaw > Chairperson of the Supervisory Board: Nicole Lau > Registered Office: Munich > Commercial Register: Amtsgericht Muenchen HRB 186928 >