This is the mail archive of the
cgen@sourceware.org
mailing list for the CGEN project.
incompatible change to operand printers that use CGEN_PRINT_NORMAL
- From: Doug Evans <dje at sebabeach dot org>
- To: cgen at sourceware dot org
- Date: Sat, 19 Dec 2009 10:02:13 -0800 (PST)
- Subject: incompatible change to operand printers that use CGEN_PRINT_NORMAL
Hi.
Just a note to give a heads up on an incompatible change
I'm thinking of making.
I'd like to move more code that is common between ports
into architecture-independent files.
This has always been planned, now I have some time to do it.
One of these is the operand printers.
The catch is that cgen-dis.in:print_normal has this:
#ifdef CGEN_PRINT_NORMAL
CGEN_PRINT_NORMAL (cd, info, value, attrs, pc, length);
#endif
I need to remove support for this.
The ports that use it (m32r, xc16x) can be changed
to use a special print handler instead.
I have the m32r port done, and am working on xc16x.
Comments?