forked from Imagelibrary/binutils-gdb
* 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.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user