Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Sep 2001 15:20:01 -0400 (EDT)
From:      Zhihui Zhang <zzhang@cs.binghamton.edu>
To:        Julian Elischer <julian@elischer.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: kernel ddb help
Message-ID:  <Pine.SOL.4.21.0109051517270.6571-100000@onyx>
In-Reply-To: <Pine.BSF.4.21.0109051218070.24154-100000@InterJet.elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help


On Wed, 5 Sep 2001, Julian Elischer wrote:

> you can gdb -k mykernel /dev/mem
> and do
> list bqrelse+0x25
>  (I think)
> alternatively,
> in ddb you can do:
> 
> 
> x/iiiiiiiiiiiiiiiiiii bqrelse
> 
> and work out what is wrong by reading the machine instructions
> 
> 
> WHen I have one machine I usually debug by running the new kernel
> within a VMWARE virtual machine. Using the nmdm driver
> you can run gdb in the main machine to debug it, all within one machine.
> (unfortunatly it doesn't help for debugging drivers because the virtual
> machine doesn't have acces to the real hardware).

I am interested in setting up this environment. Is there any help
information out there? If not, can you give me a few guideline? I will try
myself.

-Zhihui


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.4.21.0109051517270.6571-100000>