aboutsummaryrefslogtreecommitdiff
path: root/sys/ddb/db_sym.c
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1997-06-30 23:54:50 +0000
committerBruce Evans <bde@FreeBSD.org>1997-06-30 23:54:50 +0000
commit94e24bf0f563054d7a4a8ed23a3a0e8c4d5059b9 (patch)
treeab0655d3dfc0ce3be134eb089119ed0d022d6c5a /sys/ddb/db_sym.c
parentb2b392c442aa6d01120ae73bdf2aa01c5a8b6205 (diff)
downloadsrc-94e24bf0f563054d7a4a8ed23a3a0e8c4d5059b9.tar.gz
src-94e24bf0f563054d7a4a8ed23a3a0e8c4d5059b9.zip
Some staticized variables were still declared to be extern.
Notes
Notes: svn path=/head/; revision=27122
Diffstat (limited to 'sys/ddb/db_sym.c')
-rw-r--r--sys/ddb/db_sym.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/sys/ddb/db_sym.c b/sys/ddb/db_sym.c
index 7a83f7c07509..0eed0cb82a39 100644
--- a/sys/ddb/db_sym.c
+++ b/sys/ddb/db_sym.c
@@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: db_sym.c,v 1.18 1997/02/22 09:28:29 peter Exp $
+ * $Id: db_sym.c,v 1.19 1997/06/30 23:49:16 bde Exp $
*/
/*
@@ -46,7 +46,7 @@
static db_symtab_t db_symtabs[MAXNOSYMTABS] = {{0,},};
static int db_nsymtab = 0;
-static db_symtab_t *db_last_symtab;
+static db_symtab_t *db_last_symtab; /* where last symbol was found */
static db_sym_t db_lookup __P(( char *symstr));
static char *db_qualify __P((db_sym_t sym, char *symtabname));
@@ -178,11 +178,15 @@ db_lookup(symstr)
}
/*
+ * If TRUE, check across symbol tables for multiple occurrences
+ * of a name. Might slow things down quite a bit.
+ */
+static volatile boolean_t db_qualify_ambiguous_names = FALSE;
+
+/*
* Does this symbol name appear in more than one symbol table?
* Used by db_symbol_values to decide whether to qualify a symbol.
*/
-static boolean_t db_qualify_ambiguous_names = FALSE;
-
static boolean_t
db_symbol_is_ambiguous(sym)
db_sym_t sym;