[RFA/RFC] Fix build failure on mips-irix (mips-tdep.c)

Andrew Cagney ac131313@redhat.com
Mon Jul 7 14:06:00 GMT 2003


> Andrew,
> 
> GDB currently does not build on our IRIX machine (IRIX 6.5). It's
> because it does not find the MIPS_REGISTER_TYPE macro. I think it is
> just an oversight of one of your previous patches
> 
>     http://sources.redhat.com/ml/gdb-patches/2003-06/msg00676.html
> 
> The following is an attempt at fixing this problem, but I'm not sure it
> is really the right way of doing it. Could you tell me what you think?
> 
> 2003-07-04  Joel Brobecker  <brobecker@gnat.com>
> 
>         * mips-tdep.c (mips_register_raw_size): Fix compilation failure.
>         (mips_register_byte): Likewise.
> 
> Also, I get an unusually high number of FAILs (close to 2000). Some of
> them are probably caused by the fact that we don't have a C++ compiler
> installed on our machine, but that does not explain the bulk of these
> regressions. I am hoping this high number of fails is because my patch
> is actually wrong... :-/ Otherwise, I'll dig in the log files, and try
> to analyze the regressions.

Yes (both trunk and 6.0).

Can you also update the comment in gdb/config/tm-irix6.h where it 
#undefs MIPS_REGISTER_TYPE.  Something to indicate that this causes it 
to use the real C code found in mips_register_type().

Andrew




More information about the Gdb-patches mailing list