aboutsummaryrefslogtreecommitdiff
path: root/gdb/stabsread.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-04-19 17:39:24 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-04-19 17:39:24 +0000
commit058eb7667b8ca3526ad6ab8f3fdc86a34d88412e (patch)
treec12a20ba8bac6adc9e729bcb9d466058d7f93a87 /gdb/stabsread.c
parentb82ea042b413eca7c2bbfc603567c55b17f3fb38 (diff)
downloadgdb-058eb7667b8ca3526ad6ab8f3fdc86a34d88412e.zip
gdb-058eb7667b8ca3526ad6ab8f3fdc86a34d88412e.tar.gz
gdb-058eb7667b8ca3526ad6ab8f3fdc86a34d88412e.tar.bz2
* xcoffread.c: Nuke NO_DEFINE_SYMBOL code. There is no going back.
* stabsread.c (define_symbol): 'R' is synonym for 'P', not 'r'. xcoffread.c (process_xcoff_symbol, case C_RPSYM): Don't muck with SYMBOL_CLASS.
Diffstat (limited to 'gdb/stabsread.c')
-rw-r--r--gdb/stabsread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/stabsread.c b/gdb/stabsread.c
index 0061d20..0357259 100644
--- a/gdb/stabsread.c
+++ b/gdb/stabsread.c
@@ -833,6 +833,7 @@ define_symbol (valu, string, desc, type, objfile)
#endif /* no BELIEVE_PCC_PROMOTION_TYPE. */
+ case 'R':
case 'P':
/* acc seems to use P to delare the prototypes of functions that
are referenced by this file. gdb is not prepared to deal
@@ -852,7 +853,6 @@ define_symbol (valu, string, desc, type, objfile)
add_symbol_to_list (sym, &local_symbols);
break;
- case 'R':
case 'r':
/* Register variable (either global or local). */
SYMBOL_CLASS (sym) = LOC_REGISTER;