This is the mail archive of the cgen@sourceware.org mailing list for the CGEN project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]