[RFA] Remove REALTIME_HI/LO macros from target headers

Daniel Jacobowitz drow@false.org
Tue Nov 28 15:29:00 GMT 2006


On Fri, Nov 24, 2006 at 10:13:22PM +0100, Ulrich Weigand wrote:
> However, since signals.c appears to be used only in native configurations,
> that doesn't actually matter.  On the other hand, this means we can get
> those defines out of the tm-*.h files and into the nm-*.h files.

Well, those two routines anyway - some of the others are used in common
code.

> The following files currently define the REALTIME macros:
>  - config/tm-linux.h and config/mips/tm-linux.h
>  - config/rs6000/tm-rs6000ly.h
>  - config/tm-nto.h
> 
> For Linux, the nm-linux.h file already defines those macros, so the
> definitions in the tm files appear to be fully redundant.

The nm-linux.h define is redundant too, isn't it?  And off by one?
Compare to the top of signals.c.  Or is the copy in signals.c off by
one?

Patch looks OK modulo that question.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list