This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: REGISTER_IN_WINDOW_P


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]