REGISTER_IN_WINDOW_P

Andrew Cagney ac131313@cygnus.com
Tue Apr 23 17:18:00 GMT 2002


> It is only referenced or set by the i960 target specific code, would
> it be ok to remove references to it from the GDB internals
> documentation?

Hmm,

$ frep REGISTER_IN_WINDOW_P
config/i960/tm-i960.h:#define REGISTER_IN_WINDOW_P(regnum) 
((regnum) <= R15_REGNUM)
doc/gdbint.texinfo:@item REGISTER_IN_WINDOW_P (@var{regnum})
doc/gdbint.texinfo:@findex REGISTER_IN_WINDOW_P
i960-tdep.c:  if (REGISTER_IN_WINDOW_P (regnum))

you might as well, at the same time, replace the macro by a static function.

Andrew



More information about the Gdb mailing list