Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <cagney@gnu.org>
To: gdb-patches@sources.redhat.com
Subject: [commit] Deprecate USE_REGISTER_NOT_ARG
Date: Sat, 15 Nov 2003 21:55:00 -0000	[thread overview]
Message-ID: <3FB6A0A8.10401@gnu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 137 bytes --]

Deprecating, it should, for instance, be possible to extend 
_stabs_argument_has_addr rather than add a new architecture method.

Andrew

[-- Attachment #2: diffs --]
[-- Type: text/plain, Size: 1444 bytes --]

2003-11-15  Andrew Cagney  <cagney@redhat.com>

	* 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

                 reply	other threads:[~2003-11-15 21:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3FB6A0A8.10401@gnu.org \
    --to=cagney@gnu.org \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox