Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Aug 2016 19:49:52 -0400
From:      Gordon Ross <gordon.w.ross@gmail.com>
To:        Pedro Giffuni <pfg@freebsd.org>
Cc:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: How to get better debugging for the kernel.
Message-ID:  <CAD0Ztp0aLQqedsj2t4viaFoWePN=m7Vh_sBR%2B6yjw_gLK63zeA@mail.gmail.com>
In-Reply-To: <7b58509a-556b-0784-56c5-00378a1fc5e2@FreeBSD.org>
References:  <7b58509a-556b-0784-56c5-00378a1fc5e2@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Actually, mdb primaryliy uses Compact ANSI-C Type Format (CTF),
which is in sections added to binaries by tools that convert from
either dwarf or stabs.

I've assumed FreeBSD already has CTF since dtrace normally uses it too...


On Sat, Aug 13, 2016 at 1:22 PM, Pedro Giffuni <pfg@freebsd.org> wrote:
> Gordon Ross wrote:
>>
>> I heard a rumor someone might be working on a port of illumos "mdb".
>> Anyone know if that's true, and how far along it went?
>>
>
> FWIW, I heard the same rumor.
>
>> We depend heavily upon this tool for production support;
>> so much that I'm not sure how we'd live without it.
>
>
> There is interest, and I have seen some attempt at work on it however
> it is not something likely to bear much fruit because mdb knows nothing
> about dwarf; AFAICT it knows only about stabs, which we don't use
> at all.
>
> Also, Oracle did make some Dtrace enhancements in upstream gdb that
> would be good to port.
>
> Pedro.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAD0Ztp0aLQqedsj2t4viaFoWePN=m7Vh_sBR%2B6yjw_gLK63zeA>