summaryrefslogtreecommitdiff
path: root/gdb/stabsread.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-02-01 20:51:06 +0000
committerAndrew Cagney <cagney@redhat.com>2003-02-01 20:51:06 +0000
commit2f329edb948f7c0d09e69177a9e8e077eb5e0491 (patch)
treefc640fe0596078e6a974f7c51f4e936cc481b8f6 /gdb/stabsread.c
parent46b1e5dcaf1d1a956e1a28b3930d0a47a318707c (diff)
downloadgdb-2f329edb948f7c0d09e69177a9e8e077eb5e0491.tar.gz
2003-02-01 Andrew Cagney <ac131313@redhat.com>
* main.c (captured_main): Delete #ifdef ADDITIONAL_OPTIONS, ADDITIONAL_OPTION_CASES, and ADDITIONAL_OPTION_HANDLER code. (print_gdb_help): Delete #ifdef ADDITIONAL_OPTION_HELP code. * stabsread.c (DBX_PARM_SYMBOL_CLASS): Delete macro. (define_symbol): Update. * symfile.c (generic_load): Remove references to nindy. * symtab.c: Remove references to nindy. Index: doc/ChangeLog 2003-02-01 Andrew Cagney <ac131313@redhat.com> * gdbint.texinfo (Target Architecture Definition): Delete description of ADDITIONAL_OPTIONS, ADDITIONAL_OPTION_CASES, ADDITIONAL_OPTION_HANDLER, and ADDITIONAL_OPTION_HELP, and BEFORE_MAIN_LOOP_HOOK, and DBX_PARM_SYMBOL_CLASS along with references to nindy and i960. * gdb.texinfo (i960): Delete all references to i960 and nindy.
Diffstat (limited to 'gdb/stabsread.c')
-rw-r--r--gdb/stabsread.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/gdb/stabsread.c b/gdb/stabsread.c
index cd338d5aec8..c05e32b5ea2 100644
--- a/gdb/stabsread.c
+++ b/gdb/stabsread.c
@@ -1646,13 +1646,7 @@ define_symbol (CORE_ADDR valu, char *string, int desc, int type,
else
SYMBOL_TYPE (sym) = read_type (&p, objfile);
- /* Normally this is a parameter, a LOC_ARG. On the i960, it
- can also be a LOC_LOCAL_ARG depending on symbol type. */
-#ifndef DBX_PARM_SYMBOL_CLASS
-#define DBX_PARM_SYMBOL_CLASS(type) LOC_ARG
-#endif
-
- SYMBOL_CLASS (sym) = DBX_PARM_SYMBOL_CLASS (type);
+ SYMBOL_CLASS (sym) = LOC_ARG;
SYMBOL_VALUE (sym) = valu;
SYMBOL_NAMESPACE (sym) = VAR_NAMESPACE;
add_symbol_to_list (sym, &local_symbols);