2003-11-15 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Sat, 15 Nov 2003 21:49:30 +0000 (21:49 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sat, 15 Nov 2003 21:49:30 +0000 (21:49 +0000)
* config/sparc/tm-sparc.h (DEPRECATE_USE_REGISTER_NOT_ARG): Rename
USE_REGISTER_NOT_ARG.
* stabsread.c (define_symbol): Update.

gdb/ChangeLog
gdb/config/sparc/tm-sparc.h
gdb/stabsread.c

index 984dbaf4de742daab69e18fdc1d81419aad90dd8..abe31523cd952158e5c8e2837102806bc83db620 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 2003-11-15  Andrew Cagney  <cagney@redhat.com>
 
        * bcache.h (deprecated_bcache): Declare.
index e8deebc44ad2e8bfbfa8231314f3b242c2988e82..af8feccdc2ffca17216a7516bb891c1448699deb 100644 (file)
@@ -143,7 +143,7 @@ extern CORE_ADDR sparc_pc_adjust (CORE_ADDR);
    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
index 8f218e527e4edc0e5e501e437fb384181bfb4ab0..14b4b45eeb0da0d50da31e0260a2efb06c242f9e 100644 (file)
@@ -1118,7 +1118,9 @@ define_symbol (CORE_ADDR valu, char *string, int desc, int type,
 
          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