diff options
author | Christian Weisgerber <naddy@cvs.openbsd.org> | 2022-04-12 19:44:33 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@cvs.openbsd.org> | 2022-04-12 19:44:33 +0000 |
commit | 5c7fd48ec433a0101d9a65dd12f083fd78d09be4 (patch) | |
tree | d6ac1f62041c199e73b6452a05fed9cd4e1818a7 /sys/arch/alpha | |
parent | 2b77f7030fdb72b7a49cd6705cba5073634ee0dc (diff) |
ddb: simplify machine command handling
Define a consistently named db_machine_command_table[] across all
archs that implement the MD "machine" command, and hook this into
the main command table instead of patching it at runtime.
ok mpi@ jca@
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r-- | sys/arch/alpha/alpha/db_interface.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arch/alpha/alpha/db_interface.c b/sys/arch/alpha/alpha/db_interface.c index fd83cb898bc..a8b3bf1c61a 100644 --- a/sys/arch/alpha/alpha/db_interface.c +++ b/sys/arch/alpha/alpha/db_interface.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_interface.c,v 1.26 2019/11/07 14:44:52 mpi Exp $ */ +/* $OpenBSD: db_interface.c,v 1.27 2022/04/12 19:44:31 naddy Exp $ */ /* $NetBSD: db_interface.c,v 1.8 1999/10/12 17:08:57 jdolecek Exp $ */ /* @@ -527,5 +527,4 @@ db_mach_cpu(db_expr_t addr, int have_addr, db_expr_t count, char *modif) void db_machine_init() { - db_machine_commands_install(db_machine_command_table); } |