chiark / gitweb /
base/regdump.h: Pass cooked register index to `REGDEF_GPX86_COMMON'.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 29 Oct 2019 18:38:27 +0000 (18:38 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 9 May 2020 19:57:33 +0000 (20:57 +0100)
commite275090f9f712a8d9dda4e309ce38bb520778016
tree7a7d0a037250d3b2cd35b2b3b82f5141dec85e95
parent2e572d839ee0e730bebccab3b5dc3ba3a40a37ee
base/regdump.h: Pass cooked register index to `REGDEF_GPX86_COMMON'.

I want to define `BP' and `SP' as macros, but they'll expand in the
calls to `REGDEF_GPX86_COMMON', which will break things.  They don't
expand directly in the body of `REGDEF_GPX86_XP' because `##' inhibits
this.  Alas, this means we have to do this token-gluing in the interface
macros rather than the common core.
base/regdump.h