On 15:34 Sun 23 Dec     , Justin Mayes wrote:
> I was looking into kernel debug options and found that trying to build a
> kernel with kgdb option enabled fails. Anyone using the kgdb setup? I can
> use ddb it's just painful to have to manually walk structures to examine
> values. I have moved on to plan B which was to build with option  DDB_STRUCT
> and the build is a success but the 'show struct' command always returns
> 'unknown structure' for anything other than mbuf. Anyone have any kernel
> debugging strategies they'd like to share?
> 
>  
> 
> Justin
> 
> [demime 1.01d removed an attachment of type application/pkcs7-signature which 
> had a name of smime.p7s]

I gave it a try about a year ago, but not much luck. If you want to use
gdb, you'll have either to fix kgdb or to run openbsd inside qemu and
use qemu as a gdb backend. And you can always stick to ddb.

Reply via email to