This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: REGISTER_IN_WINDOW_P
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: "David S. Miller" <davem at redhat dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Tue, 23 Apr 2002 20:18:35 -0400
- Subject: Re: REGISTER_IN_WINDOW_P
- References: <20020422.025251.130248012.davem@redhat.com>
> 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