From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23141 invoked by alias); 19 Jun 2015 14:37:46 -0000 Mailing-List: contact cgen-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cgen-owner@sourceware.org Received: (qmail 21860 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-ob0-f176.google.com Received: from mail-ob0-f176.google.com (HELO mail-ob0-f176.google.com) (209.85.214.176) 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 obctg8 with SMTP id tg8so75751404obc.3 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=c33NyZT8CrIuR3G29Ax2Ym8C3YdFYL/ZDI0Eio1rngF5QJOHMF544lhIX4RsMxiVZb gFqRRUiTwD2FKG72mC1kV8bz+pY/2cv0qSNKuzEP5DYbdV695Hsgp/N9ld42nr6ARwQc JSKFa3wUG+Ghe/FMQnp3ylCNkHpBfj7OdL/hFylvRuhHxNIx4AyBLbpLAX2e12FV3kCc A8ZrsoaRs3F0cb5jiwdNNKGBZ+He6M+KSSsXWQfIc6KJ4ndi6TLoSfOvr220nGlAFO/k U4a5yBqp5qlHyN7aA/jKodlBSF2q0DdOAPYd/vLEWtOOY/dkraLZIaAM4YPUjP2ZC0sH ZgFA== X-Gm-Message-State: ALoCoQn71xqVionpJzwb2rlcqLq0o3ihGzmODXnxyOJVhQxW0QY1Bg+7KphXj98SxJz84bKSORmw 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-SW-Source: 2015-q2/txt/msg00007.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.