From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23083 invoked by alias); 19 Jun 2015 14:37:46 -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 21861 invoked by uid 89); 19 Jun 2015 14:37:45 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,HK_OBFDOM,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-oi0-f46.google.com Received: from mail-oi0-f46.google.com (HELO mail-oi0-f46.google.com) (209.85.218.46) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 19 Jun 2015 14:37:44 +0000 Received: by oiyy130 with SMTP id y130so64161837oiy.0 for ; Fri, 19 Jun 2015 07:37:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=HLFZzJlXGAkEXOujgKAbbxTn/T0azAA+YxaX5mzULao=; b=emq3DgwTkBZtX3aslb7rpbLcW96keyP7+NuI6fvgm1WD1H9gjExcCKRVkbxNdDNcMt d7W3z4S8wAmdhsjaCrFXGA+JIMAJazHutMrT+qyPI0WcfONzdizTQOAJnRLiqxgVreo8 kUgVOjytpR9MmFOW6IBUFRI8jlQRKTT/WW12xUnSaF1WDW1WVSieyLvm2e3qdgffTJya boonqjq3qlI6WYYYQmeF6rnUgR55UDnz1HHhapYwcmjrHG451Yaj6yGGqdA4kT9EaSU4 /kGp99dpyqJglnR/Of7w1WQywj2++kv3p+cmERe2L2GzNedQZsJT3ISd8shqK8jfPYwu LzmQ== X-Gm-Message-State: ALoCoQn1/HRnUZYFooxWxoBJDhg296xIiJLF0B7w2yWr0CDF0/+2QQirL/rWhb6koDXyr6y81z5R MIME-Version: 1.0 X-Received: by 10.182.40.165 with SMTP id y5mr13978250obk.21.1434724662279; Fri, 19 Jun 2015 07:37:42 -0700 (PDT) Received: by 10.182.89.99 with HTTP; Fri, 19 Jun 2015 07:37:42 -0700 (PDT) In-Reply-To: <20cf303dda3c40d2610518cfe377@google.com> References: <20cf303dda3c40d2610518cfe377@google.com> Date: Fri, 19 Jun 2015 14:37:00 -0000 Message-ID: Subject: Re: [CGEN PATCH] Rename TRACE_{EXTRACT,RESULT} to CGEN_TRACE_{EXTRACT,RESULT} From: Doug Evans To: cgen@sourceware.org, gdb-patches Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-06/txt/msg00404.txt.bz2 On Thu, Jun 18, 2015 at 2:33 PM, Doug Evans wrote: > [sorry for the repost, typo in email address] > > Hi. > > This patch updates the generator so that the next time > the files are generated we don't lose the TRACE_{EXTRACT,RESULT} > renaming change. > > ref: > https://sourceware.org/ml/gdb-patches/2015-06/msg00280.html > > Tested with: > > 1) put guile 1.8.8 in $PATH > > 2) apply this patch: > > https://sourceware.org/ml/gdb-patches/2015-06/msg00395.html > > 3) > > bash$ $src/configure --prefix=$(pwd)/rel \ > --enable-cgen-maint \ > --enable-targets=all \ > --enable-sim > bash$ make all-sim Darn, I wanted these steps to be complete. Missed a step, so let me try again. 1) put guile 1.8.8 in $PATH [no special configure options are needed, just --prefix] 2) check out cgen bash$ cd /place/to/put/cgen bash$ cvs -d :pserver:anoncvs@sourceware.org:/cvs/src co cgen 2b) make sure the build can find it bash$ ln -s $(pwd)/src/cgen $git/cgen There's a TODO to be able to specify the path to cgen when configuring binutils,gdb. I've always just done this hack when I need it. 3) apply this patch https://sourceware.org/ml/gdb-patches/2015-06/msg00395.html 4) Build all the sims. Generated files that need regenerating will be, including the opcodes files. bash$ cd $build bash$ $git/configure --prefix=$(pwd)/rel \ --enable-cgen-maint \ --enable-targets=all \ --enable-sim bash$ make all-sim If/when some form of (3) gets applied, and the TODO is done, the steps should be simple enough. Heads up, if you try this today there are two other outstanding patches to cgen that affect the generated files.