Some staticized variables were still declared to be extern.
This commit is contained in:
parent
a6d6f19d74
commit
2241ae36d6
@ -23,7 +23,7 @@
|
|||||||
* any improvements or extensions that they make and grant Carnegie the
|
* any improvements or extensions that they make and grant Carnegie the
|
||||||
* rights to redistribute these changes.
|
* 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 db_symtab_t db_symtabs[MAXNOSYMTABS] = {{0,},};
|
||||||
static int db_nsymtab = 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 db_sym_t db_lookup __P(( char *symstr));
|
||||||
static char *db_qualify __P((db_sym_t sym, char *symtabname));
|
static char *db_qualify __P((db_sym_t sym, char *symtabname));
|
||||||
@ -177,12 +177,16 @@ db_lookup(symstr)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* 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?
|
* Does this symbol name appear in more than one symbol table?
|
||||||
* Used by db_symbol_values to decide whether to qualify a symbol.
|
* Used by db_symbol_values to decide whether to qualify a symbol.
|
||||||
*/
|
*/
|
||||||
static boolean_t db_qualify_ambiguous_names = FALSE;
|
|
||||||
|
|
||||||
static boolean_t
|
static boolean_t
|
||||||
db_symbol_is_ambiguous(sym)
|
db_symbol_is_ambiguous(sym)
|
||||||
db_sym_t sym;
|
db_sym_t sym;
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
* any improvements or extensions that they make and grant Carnegie the
|
* any improvements or extensions that they make and grant Carnegie the
|
||||||
* rights to redistribute these changes.
|
* rights to redistribute these changes.
|
||||||
*
|
*
|
||||||
* $Id: db_sym.h,v 1.12 1997/02/22 09:28:30 peter Exp $
|
* $Id: db_sym.h,v 1.13 1997/06/30 23:49:17 bde Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _DDB_DB_SYM_H_
|
#ifndef _DDB_DB_SYM_H_
|
||||||
@ -44,8 +44,6 @@ typedef struct {
|
|||||||
char *private; /* optional machdep pointer */
|
char *private; /* optional machdep pointer */
|
||||||
} db_symtab_t;
|
} db_symtab_t;
|
||||||
|
|
||||||
extern db_symtab_t *db_last_symtab; /* where last symbol was found */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Symbol representation is specific to the symtab style:
|
* Symbol representation is specific to the symtab style:
|
||||||
* BSD compilers use dbx' nlist, other compilers might use
|
* BSD compilers use dbx' nlist, other compilers might use
|
||||||
@ -66,11 +64,6 @@ typedef int db_strategy_t; /* search strategy */
|
|||||||
#define DB_STGY_XTRN 1 /* only external symbols */
|
#define DB_STGY_XTRN 1 /* only external symbols */
|
||||||
#define DB_STGY_PROC 2 /* only procedures */
|
#define DB_STGY_PROC 2 /* only procedures */
|
||||||
|
|
||||||
extern boolean_t db_qualify_ambiguous_names;
|
|
||||||
/* if TRUE, check across symbol tables
|
|
||||||
* for multiple occurrences of a name.
|
|
||||||
* Might slow down quite a bit */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Functions exported by the symtable module
|
* Functions exported by the symtable module
|
||||||
*/
|
*/
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
* any improvements or extensions that they make and grant Carnegie the
|
* any improvements or extensions that they make and grant Carnegie the
|
||||||
* rights to redistribute these changes.
|
* rights to redistribute these changes.
|
||||||
*
|
*
|
||||||
* $Id$
|
* $Id: db_variables.h,v 1.7 1997/02/22 09:28:32 peter Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -50,8 +50,6 @@ struct db_variable {
|
|||||||
};
|
};
|
||||||
#define FCN_NULL ((db_varfcn_t *)0)
|
#define FCN_NULL ((db_varfcn_t *)0)
|
||||||
|
|
||||||
extern struct db_variable db_vars[]; /* debugger variables */
|
|
||||||
extern struct db_variable *db_evars;
|
|
||||||
extern struct db_variable db_regs[]; /* machine registers */
|
extern struct db_variable db_regs[]; /* machine registers */
|
||||||
extern struct db_variable *db_eregs;
|
extern struct db_variable *db_eregs;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user