summaryrefslogtreecommitdiff
path: root/sys/ddb
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-14 05:02:18 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-14 05:02:18 +0000
commit8bd27a21125fec410de2fd9d839ea136711aaa0f (patch)
treefb05772eb757ff97bc8081f68b597305f6b5cf65 /sys/ddb
parent9adfcf2b03e0df61917b9fedb42b0469881a87d8 (diff)
update from netbsd
Diffstat (limited to 'sys/ddb')
-rw-r--r--sys/ddb/db_command.c8
-rw-r--r--sys/ddb/db_output.c4
-rw-r--r--sys/ddb/db_output.h4
-rw-r--r--sys/ddb/db_sym.c6
4 files changed, 13 insertions, 9 deletions
diff --git a/sys/ddb/db_command.c b/sys/ddb/db_command.c
index 7b6a14cb7fc..5792e9bc6e7 100644
--- a/sys/ddb/db_command.c
+++ b/sys/ddb/db_command.c
@@ -1,4 +1,4 @@
-/* $NetBSD: db_command.c,v 1.13 1994/10/09 08:29:59 mycroft Exp $ */
+/* $NetBSD: db_command.c,v 1.15 1995/10/26 14:52:33 gwr Exp $ */
/*
* Mach Operating System
@@ -32,6 +32,8 @@
#include <sys/param.h>
#include <sys/proc.h>
+#include <vm/vm.h>
+
#include <machine/db_machdep.h> /* type definitions */
#include <ddb/db_lex.h>
@@ -291,7 +293,7 @@ db_map_print_cmd(addr, have_addr, count, modif)
if (modif[0] == 'f')
full = TRUE;
- _vm_map_print(addr, full, db_printf);
+ _vm_map_print((vm_map_t)addr, full, db_printf);
}
/*ARGSUSED*/
@@ -308,7 +310,7 @@ db_object_print_cmd(addr, have_addr, count, modif)
if (modif[0] == 'f')
full = TRUE;
- _vm_object_print(addr, full, db_printf);
+ _vm_object_print((vm_object_t)addr, full, db_printf);
}
/*
diff --git a/sys/ddb/db_output.c b/sys/ddb/db_output.c
index eb6c46f5811..a7e02583cd9 100644
--- a/sys/ddb/db_output.c
+++ b/sys/ddb/db_output.c
@@ -1,4 +1,4 @@
-/* $NetBSD: db_output.c,v 1.8 1994/06/29 22:41:41 deraadt Exp $ */
+/* $NetBSD: db_output.c,v 1.9 1995/10/16 05:28:16 mycroft Exp $ */
/*
* Mach Operating System
@@ -186,6 +186,7 @@ db_print_position()
extern int db_radix;
/*VARARGS1*/
+void
#ifdef __STDC__
db_printf(char *fmt, ...)
#else
@@ -202,6 +203,7 @@ db_printf(fmt, va_alist)
/* alternate name */
/*VARARGS1*/
+void
#ifdef __STDC__
kdbprintf(char *fmt, ...)
#else
diff --git a/sys/ddb/db_output.h b/sys/ddb/db_output.h
index f378482ecbf..7c313d6018b 100644
--- a/sys/ddb/db_output.h
+++ b/sys/ddb/db_output.h
@@ -1,4 +1,4 @@
-/* $NetBSD: db_output.h,v 1.5 1994/10/09 08:19:36 mycroft Exp $ */
+/* $NetBSD: db_output.h,v 1.6 1995/10/16 05:28:17 mycroft Exp $ */
/*
* Mach Operating System
@@ -35,4 +35,4 @@
void db_force_whitespace __P((void));
int db_print_position __P((void));
void db_end_line __P((void));
-int db_printf __P((char *, ...));
+void db_printf __P((const char *, ...));
diff --git a/sys/ddb/db_sym.c b/sys/ddb/db_sym.c
index 416a3ae8fa0..52f7f4622c9 100644
--- a/sys/ddb/db_sym.c
+++ b/sys/ddb/db_sym.c
@@ -1,4 +1,4 @@
-/* $NetBSD: db_sym.c,v 1.9 1995/05/24 20:21:00 gwr Exp $ */
+/* $NetBSD: db_sym.c,v 1.11 1995/11/24 22:13:08 cgd Exp $ */
/*
* Mach Operating System
@@ -326,8 +326,8 @@ db_symbol_values(sym, namep, valuep)
*/
extern char end[];
-unsigned int db_lastsym = (int)end;
-unsigned int db_maxoff = 0x10000000;
+unsigned long db_lastsym = (long)end;
+db_expr_t db_maxoff = 0x10000000;
void