Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Aug 2017 11:30:00 -0700
From:      Kirk McKusick <mckusick@mckusick.com>
To:        Julian Elischer <julian@freebsd.org>
Cc:        Aijaz Baig <aijazbaig1@gmail.com>, freebsd-fs@freebsd.org
Subject:   Re: Tips on remote debugging for filesystem code
Message-ID:  <201708241830.v7OIU0nj018164@chez.mckusick.com>
In-Reply-To: <046d8df4-71a6-65f5-18ad-50589d6d466d@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> To: Aijaz Baig <aijazbaig1@gmail.com>, freebsd-fs@freebsd.org
> Subject: Re: Tips on remote debugging for filesystem code
> From: Julian Elischer <julian@freebsd.org>
> Date: Thu, 24 Aug 2017 16:24:50 +0800
> 
> On 24/8/17 1:40 pm, Aijaz Baig wrote:
> 
>> ...
>> How do you guys normally do it? Keen to hear tips and best practices
> 
> I have had more success recently using BHype to make a Virtual FreeBSD 
> machine and connecting to it using the built-in gdb interface.
> 
> Firstly it is easier than a serial interface and secondly you don't 
> need two machines.

Is there documentation that describes how to do this? I have been using
a patched up set of scripts provided by John Baldwin a couple of years
ago to use kgdb with a bhyve VM. But if there is an existing way to do
it now, I would rather switch to it.

	Kirk McKusick



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708241830.v7OIU0nj018164>