diff options
author | Dawn Perchik <dawn@cygnus> | 1997-09-08 00:38:19 +0000 |
---|---|---|
committer | Dawn Perchik <dawn@cygnus> | 1997-09-08 00:38:19 +0000 |
commit | d719efc6d5435a174fc9dfafff1c6f8d2d7e7c04 (patch) | |
tree | 8076bd277ac84a1efdb026686d59c01de6ac4310 /gdb/buildsym.c | |
parent | 60b570d17a8fa5e72665ca8f3a9c98462c66f915 (diff) | |
download | gdb-d719efc6d5435a174fc9dfafff1c6f8d2d7e7c04.zip gdb-d719efc6d5435a174fc9dfafff1c6f8d2d7e7c04.tar.gz gdb-d719efc6d5435a174fc9dfafff1c6f8d2d7e7c04.tar.bz2 |
* dbxread.c, buildsym.c, symtab.c, stabsread.c: Add support for
reading stabs extensions for live range information.
* stabsread.h, partial-stab.h: Add prototypes for new functions.
* symtab.h: Add structure for storing live range information.
Diffstat (limited to 'gdb/buildsym.c')
-rw-r--r-- | gdb/buildsym.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/buildsym.c b/gdb/buildsym.c index 6c94407..806d700 100644 --- a/gdb/buildsym.c +++ b/gdb/buildsym.c @@ -95,6 +95,11 @@ add_symbol_to_list (symbol, listhead) struct pending **listhead; { register struct pending *link; + + /* If this is a reference to/live alias for another symbol, don't add it. + We don't want to be able to look up the live references directly. */ + if (symbol->ginfo.name && symbol->ginfo.name[0] == '#') + return; /* We keep PENDINGSIZE symbols in each link of the list. If we don't have a link with room in it, add a new link. */ |