Re: [CGEN PATCH] Rename TRACE_{EXTRACT,RESULT} to CGEN_TRACE_{EXTRACT,RESULT}
Doug Evans <[email protected]> Fri, 19 Jun 2015 09:37:42 -0500
| Newsgroups | gmane.comp.tools.cgen.devel,gmane.comp.gdb.patches |
|---|---|
| Message-ID | <CADPb22QnfcKHRNdHECeVUar526-gQ5t9GmhZULwPjW5mBKFvrg@mail.gmail.com> |
On Thu, Jun 18, 2015 at 2:33 PM, Doug Evans <[email protected]> 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:[email protected]:/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.