summaryrefslogtreecommitdiff
path: root/sys/ddb
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-02-07 07:03:42 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-02-07 07:03:42 +0000
commita5f5a9da57b2a6dd99c53fbc3e2e38981f65de80 (patch)
tree096b2ed77e23181c4082516a2360cd4613ff02ba /sys/ddb
parenta384d507e7ae5f970a995b384dffda7dbc7b201a (diff)
wrong private name
Diffstat (limited to 'sys/ddb')
-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 *));