mips-tdep.c: Sign-extend pointers for n32

Joel Brobecker brobecker@adacore.com
Fri Dec 21 04:36:00 GMT 2007


> > I think there's still a problem here, though it is somewhat endemic to
> > the argument passing routines:
> > 
> >     TYPE_CODE_ENUM,             /* Enumeration type */
> >     TYPE_CODE_REF,              /* C++ Reference types */
> >     TYPE_CODE_CHAR,             /* *real* character type */
> >     TYPE_CODE_BOOL,
> > 
> > And possibly TYPE_CODE_MEMBERPTR too... that's a signed offset,
> > probably 32-bit in the n32 case.  Getting this right is a real
> > pain.
> 
>  Hmm, these are obviously C-style types and I would expect other languages 
> to have their own specific ones (Ada, anyone?).

Are you asking which TYPE_CODE enumerates are specific to Ada?
I don't think there are any. I had a quick look at the current list,
and nothing stood out.

-- 
Joel



More information about the Gdb-patches mailing list