From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27548 invoked by alias); 24 Apr 2002 00:18:37 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 27541 invoked from network); 24 Apr 2002 00:18:36 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 24 Apr 2002 00:18:36 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id F19BF3CC5; Tue, 23 Apr 2002 20:18:35 -0400 (EDT) Message-ID: <3CC5F9DB.70203@cygnus.com> Date: Tue, 23 Apr 2002 17:18:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:0.9.9) Gecko/20020328 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "David S. Miller" Cc: gdb@sources.redhat.com Subject: Re: REGISTER_IN_WINDOW_P References: <20020422.025251.130248012.davem@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-04/txt/msg00408.txt.bz2 > 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