+kdb_enter (why=<optimized out>, msg=<optimized out>) at /usr/src/sys/kern/subr_kdb.c:506
+506 kdb_why = KDB_WHY_UNSET;
(kgdb)
....
+[TIP]
+====
+Depending on the compiler used, some local variables may appear as `<optimized out>`, preventing them from being inspected directly by `gdb`.
+If this causes problems while debugging, it is possible to build the kernel at a decreased optimization level, which may improve the visibility of some variables.
+This can be done by passing `COPTFLAGS=-O1` to man:make[1].
+However, certain classes of kernel bugs may manifest differently (or not at all) when the optimization level is changed.
+====
+
You can use this session almost as any other GDB session, including full access to the source,
running it in gud-mode inside an Emacs window (which gives you an automatic source code display in another Emacs window), etc.