diff options
author | Marco Peereboom <marco@cvs.openbsd.org> | 2006-03-08 21:04:58 +0000 |
---|---|---|
committer | Marco Peereboom <marco@cvs.openbsd.org> | 2006-03-08 21:04:58 +0000 |
commit | e52c809df2fb2ec442172158ac9da014bf28af77 (patch) | |
tree | 16a906f9ecacea713eee7d08331732c4bf59bfef /sys | |
parent | 61142f8bfdf6a3c0f9530fc468935a8290b01906 (diff) |
Glue showval into ddb.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/amd64/amd64/db_interface.c | 3 | ||||
-rw-r--r-- | sys/arch/i386/i386/db_interface.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/db_interface.c b/sys/arch/amd64/amd64/db_interface.c index f683e7f7c9d..34a82ed05da 100644 --- a/sys/arch/amd64/amd64/db_interface.c +++ b/sys/arch/amd64/amd64/db_interface.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_interface.c,v 1.8 2006/03/07 23:15:02 marco Exp $ */ +/* $OpenBSD: db_interface.c,v 1.9 2006/03/08 21:04:57 marco Exp $ */ /* $NetBSD: db_interface.c,v 1.1 2003/04/26 18:39:27 fvdl Exp $ */ /* @@ -378,6 +378,7 @@ x86_ipi_db(struct cpu_info *ci) #if NACPI > 0 struct db_command db_acpi_cmds[] = { { "disasm", db_acpi_disasm, CS_OWN, NULL }, + { "showval", db_acpi_showval, CS_OWN, NULL }, { "tree", db_acpi_tree, 0, NULL }, { NULL, NULL, 0, NULL } }; diff --git a/sys/arch/i386/i386/db_interface.c b/sys/arch/i386/i386/db_interface.c index f45f327ff26..b20b9bd4d7e 100644 --- a/sys/arch/i386/i386/db_interface.c +++ b/sys/arch/i386/i386/db_interface.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_interface.c,v 1.18 2006/03/07 23:15:01 marco Exp $ */ +/* $OpenBSD: db_interface.c,v 1.19 2006/03/08 21:04:57 marco Exp $ */ /* $NetBSD: db_interface.c,v 1.22 1996/05/03 19:42:00 christos Exp $ */ /* @@ -330,6 +330,7 @@ db_ddbproc_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif) #if NACPI > 0 struct db_command db_acpi_cmds[] = { { "disasm", db_acpi_disasm, CS_OWN, NULL }, + { "showval", db_acpi_showval, CS_OWN, NULL }, { "tree", db_acpi_tree, 0, NULL }, { NULL, NULL, 0, NULL } }; |