summaryrefslogtreecommitdiff
path: root/sys/ddb/db_sym.h
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1996-05-05 12:23:25 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1996-05-05 12:23:25 +0000
commitafd39cb1e2051218a60f6b8947f463000766403a (patch)
treee8ba7d4efe5e33affb366204d2e8d3d7ea55363f /sys/ddb/db_sym.h
parent5c8c3b86fa94cce5ac8b530555fbe2beb2b750f6 (diff)
add advanced hang analyzer.
idea by theo.
Diffstat (limited to 'sys/ddb/db_sym.h')
-rw-r--r--sys/ddb/db_sym.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/ddb/db_sym.h b/sys/ddb/db_sym.h
index 9d2fe2cf2c7..b76aeb31353 100644
--- a/sys/ddb/db_sym.h
+++ b/sys/ddb/db_sym.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_sym.h,v 1.4 1996/04/21 22:19:15 deraadt Exp $ */
+/* $OpenBSD: db_sym.h,v 1.5 1996/05/05 12:23:19 mickey Exp $ */
/* $NetBSD: db_sym.h,v 1.7 1996/02/05 01:57:16 christos Exp $ */
/*
@@ -41,6 +41,7 @@ typedef struct {
} db_symtab_t;
extern db_symtab_t *db_last_symtab; /* where last symbol was found */
+extern size_t db_nsymtabs; /* number of symbol tables */
/*
* Symbol representation is specific to the symtab style:
@@ -75,6 +76,7 @@ int db_add_symbol_table __P((char *, char *, char *, char *));
void db_del_symbol_table __P((char *));
/* remove a symbol table from list */
+db_symtab_t *db_istab __P((size_t));
boolean_t db_eqname __P((char *, char *, int));
/* strcmp, modulo leading char */
@@ -84,6 +86,8 @@ int db_value_of_name __P((char *, db_expr_t *));
db_sym_t db_lookup __P((char *));
+char *db_qualify __P((db_sym_t, char *));
+
boolean_t db_symbol_is_ambiguous __P((db_sym_t));
db_sym_t db_search_symbol __P((db_addr_t, db_strategy_t, db_expr_t *));
@@ -106,3 +110,6 @@ void db_printsym __P((db_expr_t, db_strategy_t));
boolean_t db_line_at_pc __P((db_sym_t, char **, int *, db_expr_t));
int db_sym_numargs __P((db_sym_t, int *, char **));
+
+/* db_hangman.c */
+void db_hangman __P((db_expr_t, int, db_expr_t, char *));