Print this page
9736 kmdb tortures via single-step miscellaneous trap
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>

@@ -86,10 +86,13 @@
 #define KDI_IDT_SAVE    1
 
 #define KDI_IDT_DTYPE_KERNEL    0
 #define KDI_IDT_DTYPE_BOOT      1
 
+/* Solely to keep kdiregs_t in the CTF, otherwise unused. */
+kdiregs_t kdi_regs;
+
 kdi_cpusave_t *kdi_cpusave;
 int kdi_ncpusave;
 
 static kdi_main_t kdi_kmdb_main;