diff --git a/sys/ddb/db_extern.h b/sys/ddb/db_extern.h index c8abf79ba7a7..75c3b653981d 100644 --- a/sys/ddb/db_extern.h +++ b/sys/ddb/db_extern.h @@ -1,4 +1,4 @@ -/* $NetBSD: db_extern.h,v 1.1 1996/02/05 01:57:00 christos Exp $ */ +/* $NetBSD: db_extern.h,v 1.2 1997/06/26 01:14:16 thorpej Exp $ */ /* * Copyright (c) 1995 Christos Zoulas. All rights reserved. @@ -31,17 +31,21 @@ #ifndef _DDB_DB_EXTERN_H_ #define _DDB_DB_EXTERN_H_ -/* db_aout.c */ -void X_db_sym_init __P((int *, char *, char *)); +/* db_aout.c and db_elf.c */ +void X_db_sym_init __P((void *, void *, char *)); db_sym_t X_db_lookup __P((db_symtab_t *, char *)); db_sym_t X_db_search_symbol __P((db_symtab_t *, db_addr_t, db_strategy_t, db_expr_t *)); -void X_db_symbol_values __P((db_sym_t, char **, db_expr_t *)); +void X_db_symbol_values __P((db_symtab_t *, db_sym_t, char **, db_expr_t *)); void db_printsym __P((db_expr_t, db_strategy_t)); boolean_t X_db_line_at_pc __P((db_symtab_t *, db_sym_t, char **, int *, db_expr_t)); int X_db_sym_numargs __P((db_symtab_t *, db_sym_t, int *, char **)); +#ifdef DB_ELF_SYMBOLS /* XXX */ +void ddb_init __P((void *, void *)); +#else void ddb_init __P((void)); +#endif /* db_examine.c */ void db_examine_cmd __P((db_expr_t, int, db_expr_t, char *));