From 9bc24a139949cef6c2b5dd27a2ee5be0f675d5ed Mon Sep 17 00:00:00 2001 From: Philip Guenthe Date: Tue, 19 Jan 2010 01:08:17 +0000 Subject: A couple #ifdefs were missed when the final name of the DDB_STRUCT option was settled on. Fix those last couple so that the new commands are actually accessible. "Oops" miod@ --- sys/ddb/db_command.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/ddb/db_command.c') diff --git a/sys/ddb/db_command.c b/sys/ddb/db_command.c index 9d09f4cd4e7..3bf33d09eaf 100644 --- a/sys/ddb/db_command.c +++ b/sys/ddb/db_command.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_command.c,v 1.60 2009/08/17 13:11:58 jasper Exp $ */ +/* $OpenBSD: db_command.c,v 1.61 2010/01/19 01:08:16 guenther Exp $ */ /* $NetBSD: db_command.c,v 1.20 1996/03/30 22:30:05 christos Exp $ */ /* @@ -518,7 +518,7 @@ struct db_command db_show_cmds[] = { { "nfsnode", db_nfsnode_print_cmd, 0, NULL }, #endif { "object", db_object_print_cmd, 0, NULL }, -#ifdef DDB_STRUCT_INFORMATION +#ifdef DDB_STRUCT { "offset", db_struct_offset_cmd, CS_OWN, NULL }, #endif { "page", db_page_print_cmd, 0, NULL }, @@ -526,7 +526,7 @@ struct db_command db_show_cmds[] = { { "pool", db_pool_print_cmd, 0, NULL }, { "proc", db_proc_print_cmd, 0, NULL }, { "registers", db_show_regs, 0, NULL }, -#ifdef DDB_STRUCT_INFORMATION +#ifdef DDB_STRUCT { "struct", db_struct_layout_cmd, CS_OWN, NULL }, #endif { "uvmexp", db_uvmexp_print_cmd, 0, NULL }, -- cgit v1.2.3