Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Aug 2017 06:33:25 +0530
From:      Aijaz Baig <aijazbaig1@gmail.com>
To:        Kirk McKusick <mckusick@mckusick.com>
Cc:        Julian Elischer <julian@freebsd.org>, freebsd-fs@freebsd.org
Subject:   Re: Tips on remote debugging for filesystem code
Message-ID:  <CAHB2L%2BcbBTfT%2Bpvg=c_39EKBSoLAo-_2KdmCcYgURQK5Gio4Xg@mail.gmail.com>
In-Reply-To: <201708241830.v7OIU0nj018164@chez.mckusick.com>
References:  <046d8df4-71a6-65f5-18ad-50589d6d466d@freebsd.org> <201708241830.v7OIU0nj018164@chez.mckusick.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Yes please I would love to hear about this as well. Nonetheless if any one
of you Kirk or Julian could help me get started a bit with what how you
guys use it (and those scripts that Kirk talks about), it would be really
nice.

By the way is this bhyve the only way to go for fs code debugging?

On Fri, Aug 25, 2017 at 12:00 AM, Kirk McKusick <mckusick@mckusick.com>
wrote:

> > 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
>



-- 

Best Regards,
Aijaz Baig



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHB2L%2BcbBTfT%2Bpvg=c_39EKBSoLAo-_2KdmCcYgURQK5Gio4Xg>