diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-10-12 20:02:11 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-10-12 20:02:11 +0000 |
commit | 9438d64262d8f6faebebf9f32d0229a5d60e5b6b (patch) | |
tree | f80672980aa09c32ff6e6ee5625928de526d0f02 /gdb/stabsread.h | |
parent | 49d607d260f41a6c68f2ffbae019d4e0ff38b734 (diff) | |
download | gdb-9438d64262d8f6faebebf9f32d0229a5d60e5b6b.zip gdb-9438d64262d8f6faebebf9f32d0229a5d60e5b6b.tar.gz gdb-9438d64262d8f6faebebf9f32d0229a5d60e5b6b.tar.bz2 |
* stabsread.h, stabsread.c, dbxread.c (common_block*, copy_pending):
Move common block handling from dbxread.c to stabsread.c.
Use the name from the BCOMM instead of the ECOMM.
Allocate things on the symbol_obstack.
* xcoffread.c (process_xcoff_symbol): Process C_BCOMM, C_ECOMM,
and C_ECOML. On unrecognized storage classes, go ahead and call
define_symbol (after the complaint).
* dbxread.c (process_one_symbol): Don't relocate 'S' symbols by
the text offset.
Diffstat (limited to 'gdb/stabsread.h')
-rw-r--r-- | gdb/stabsread.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/gdb/stabsread.h b/gdb/stabsread.h index 67cefc2..3b890d8 100644 --- a/gdb/stabsread.h +++ b/gdb/stabsread.h @@ -44,6 +44,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ EXTERN struct symbol *global_sym_chain[HASHSIZE]; +extern void common_block_start PARAMS ((char *, struct objfile *)); +extern void common_block_end PARAMS ((struct objfile *)); + /* Kludge for xcoffread.c */ struct pending_stabs @@ -55,15 +58,6 @@ struct pending_stabs EXTERN struct pending_stabs *global_stabs; -/* List of symbols declared since the last BCOMM. This list is a tail - of local_symbols. When ECOMM is seen, the symbols on the list - are noted so their proper addresses can be filled in later, - using the common block base address gotten from the assembler - stabs. */ - -EXTERN struct pending *common_block; -EXTERN int common_block_i; - /* The type code that process_one_symbol saw on its previous invocation. Used to detect pairs of N_SO symbols. */ |