Index: db_command.c =================================================================== RCS file: /cvsroot/src/sys/ddb/db_command.c,v retrieving revision 1.160 diff -p -u -r1.160 db_command.c --- db_command.c 17 Sep 2018 01:49:54 -0000 1.160 +++ db_command.c 22 Sep 2019 12:46:13 -0000 @@ -1241,6 +1241,8 @@ db_kernhist_print_cmd(db_expr_t addr, bo db_expr_t count, const char *modif) { + if (!have_addr) + addr = 0; kernhist_print((void *)(uintptr_t)addr, count, modif, db_printf); } #endif