summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/ddb/db_aout.c4
-rw-r--r--sys/ddb/db_sym.c6
-rw-r--r--sys/ddb/db_sym.h4
3 files changed, 8 insertions, 6 deletions
diff --git a/sys/ddb/db_aout.c b/sys/ddb/db_aout.c
index 8f9840c6cc1..ae376acb46d 100644
--- a/sys/ddb/db_aout.c
+++ b/sys/ddb/db_aout.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_aout.c,v 1.12 1997/02/07 06:18:44 mickey Exp $ */
+/* $OpenBSD: db_aout.c,v 1.13 1997/02/07 07:03:38 mickey Exp $ */
/* $NetBSD: db_aout.c,v 1.14 1996/02/27 20:54:43 gwr Exp $ */
/*
@@ -361,7 +361,7 @@ X_db_stub_xh(sym, xh)
bzero(xh, sizeof(*xh));
xh->a_midmag = htonl((((0 << 10) | MID_ZERO) << 16) | ZMAGIC);
- xh->a_syms = *sym->rstart;
+ xh->a_syms = *sym->private;
xh->a_entry = (u_long)kernel_text;
}
diff --git a/sys/ddb/db_sym.c b/sys/ddb/db_sym.c
index 577f3de7e8c..ae119ac978a 100644
--- a/sys/ddb/db_sym.c
+++ b/sys/ddb/db_sym.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_sym.c,v 1.17 1997/02/07 06:18:48 mickey Exp $ */
+/* $OpenBSD: db_sym.c,v 1.18 1997/02/07 07:03:40 mickey Exp $ */
/* $NetBSD: db_sym.c,v 1.12 1996/02/05 01:57:15 christos Exp $ */
/*
@@ -77,8 +77,8 @@ db_add_symbol_table(start, end, name, ref, rend)
new->start = start;
new->end = end;
new->name = name;
- new->rstart = ref;
- new->private = rend;
+ new->private = ref;
+ new->rend = rend;
new->id = db_nsymtabs;
TAILQ_INSERT_TAIL(&db_symtabs, new, list);
diff --git a/sys/ddb/db_sym.h b/sys/ddb/db_sym.h
index 325fb546deb..0a12e4e518b 100644
--- a/sys/ddb/db_sym.h
+++ b/sys/ddb/db_sym.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_sym.h,v 1.9 1996/08/16 10:12:38 mickey Exp $ */
+/* $OpenBSD: db_sym.h,v 1.10 1997/02/07 07:03:41 mickey Exp $ */
/* $NetBSD: db_sym.h,v 1.7 1996/02/05 01:57:16 christos Exp $ */
/*
@@ -122,6 +122,8 @@ 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 **));
+struct exec;
+void db_stub_xh __P((db_symtab_t, struct exec *));
/* db_hangman.c */
void db_hangman __P((db_expr_t, int, db_expr_t, char *));