From 5c7fd48ec433a0101d9a65dd12f083fd78d09be4 Mon Sep 17 00:00:00 2001 From: Christian Weisgerber Date: Tue, 12 Apr 2022 19:44:33 +0000 Subject: 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@ --- sys/arch/alpha/alpha/db_interface.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/arch/alpha') 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); } -- cgit v1.2.3