From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21059 invoked by alias); 15 Nov 2003 21:55:06 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 20994 invoked from network); 15 Nov 2003 21:54:59 -0000 Received: from unknown (HELO localhost.redhat.com) (205.151.10.112) by sources.redhat.com with SMTP; 15 Nov 2003 21:54:59 -0000 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 105F22B90 for ; Sat, 15 Nov 2003 16:54:49 -0500 (EST) Message-ID: <3FB6A0A8.10401@gnu.org> Date: Sat, 15 Nov 2003 21:55:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gdb-patches@sources.redhat.com Subject: [commit] Deprecate USE_REGISTER_NOT_ARG Content-Type: multipart/mixed; boundary="------------080104090405020104030201" X-SW-Source: 2003-11/txt/msg00329.txt.bz2 This is a multi-part message in MIME format. --------------080104090405020104030201 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 137 Deprecating, it should, for instance, be possible to extend _stabs_argument_has_addr rather than add a new architecture method. Andrew --------------080104090405020104030201 Content-Type: text/plain; name="diffs" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="diffs" Content-length: 1444 2003-11-15 Andrew Cagney * config/sparc/tm-sparc.h (DEPRECATE_USE_REGISTER_NOT_ARG): Rename USE_REGISTER_NOT_ARG. * stabsread.c (define_symbol): Update. Index: stabsread.c =================================================================== RCS file: /cvs/src/src/gdb/stabsread.c,v retrieving revision 1.67 diff -u -r1.67 stabsread.c --- stabsread.c 8 Nov 2003 00:13:02 -0000 1.67 +++ stabsread.c 15 Nov 2003 21:28:51 -0000 @@ -1118,7 +1118,9 @@ if (local_symbols && local_symbols->nsyms > 0 -#ifndef USE_REGISTER_NOT_ARG +#ifndef DEPRECATED_USE_REGISTER_NOT_ARG + /* DEPRECATED_USE_REGISTER_NOT_ARG is only defined by + the SPARC. */ && gdbarch_stabs_argument_has_addr (current_gdbarch, SYMBOL_TYPE (sym)) #endif Index: config/sparc/tm-sparc.h =================================================================== RCS file: /cvs/src/src/gdb/config/sparc/tm-sparc.h,v retrieving revision 1.63 diff -u -r1.63 tm-sparc.h --- config/sparc/tm-sparc.h 6 Nov 2003 03:29:49 -0000 1.63 +++ config/sparc/tm-sparc.h 15 Nov 2003 21:28:59 -0000 @@ -143,7 +143,7 @@ never saving it onto the stack. So we better not believe the "p" symbol descriptor stab. */ -#define USE_REGISTER_NOT_ARG +#define DEPRECATE_USE_REGISTER_NOT_ARG /* For acc, there's no need to correct LBRAC entries by guessing how they should work. In fact, this is harmful because the LBRAC --------------080104090405020104030201--