aboutsummaryrefslogtreecommitdiff
path: root/gdb/stabsread.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-11-15 21:49:30 +0000
committerAndrew Cagney <cagney@redhat.com>2003-11-15 21:49:30 +0000
commit5e044b1e88d064eca5f38449055c2f8bed1c1810 (patch)
tree8cefb327a27c0f2a4fff30a96f93e39e3d593d12 /gdb/stabsread.c
parent3a16a68c4f0cdabb4c9a77ffd7b70f2c78d54e98 (diff)
downloadgdb-5e044b1e88d064eca5f38449055c2f8bed1c1810.zip
gdb-5e044b1e88d064eca5f38449055c2f8bed1c1810.tar.gz
gdb-5e044b1e88d064eca5f38449055c2f8bed1c1810.tar.bz2
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.
Diffstat (limited to 'gdb/stabsread.c')
-rw-r--r--gdb/stabsread.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/stabsread.c b/gdb/stabsread.c
index 8f218e5..14b4b45 100644
--- a/gdb/stabsread.c
+++ b/gdb/stabsread.c
@@ -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