diff options
author | jhb <jhb@FreeBSD.org> | 2008-09-25 19:50:14 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2008-09-25 19:50:14 +0000 |
commit | a87bfbe313ff337a63706aaefb95e607c7192367 (patch) | |
tree | e8c244b2d81b93da1c8896870f96435db68adb09 /sys/ddb/db_main.c | |
parent | b0ece4017cb072dbde84dc14a09b61258fcaca6e (diff) | |
download | FreeBSD-src-a87bfbe313ff337a63706aaefb95e607c7192367.zip FreeBSD-src-a87bfbe313ff337a63706aaefb95e607c7192367.tar.gz |
Initialize the DDB command list when initializing DDB so that the basic
commands are available from 'boot -d'.
Suggested by: dfr
Diffstat (limited to 'sys/ddb/db_main.c')
-rw-r--r-- | sys/ddb/db_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/ddb/db_main.c b/sys/ddb/db_main.c index e63b4fc0..8375108 100644 --- a/sys/ddb/db_main.c +++ b/sys/ddb/db_main.c @@ -172,6 +172,7 @@ db_init(void) uintptr_t symtab, strtab; Elf_Size tabsz, strsz; + db_command_init(); if (ksym_end > ksym_start && ksym_start != 0) { symtab = ksym_start; tabsz = *((Elf_Size*)symtab); |