Re: [RFC/RFA] Cleaner handling of character entities ?

Joel Brobecker
2006-05-05T20:54:36Z

> Alternatively, do we think we ought to be using TYPE_CODE_CHAR, and if
> so, should we try it?

I would be willing to give it a try, and possibly back the change out
if we end up finding some compelling reasons to do so.

> One possible problem: there are three times as many or so references to
> TYPE_CODE_INT in tdep files as there are to TYPE_CODE_CHAR so this
> might break argument passing for some targets for C. On those targets
> it would probably already be broken for Ada.

You are probably correct. This means I would have to review all uses
of TYPE_CODE_INT in tdep files. There are not that many as far as I
can tell. I think I can review some of them, but many architectures
are alien to me (arm, h8300, m32c, m88k, mn10300, s390).

--
Joel