Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Feb 2024 09:58:17 +0100
From:      Paul Floyd <pjfloyd@wanadoo.fr>
To:        toolchain@freebsd.org
Subject:   Re: system clang's -debugger-tuning setting: Is the default gdb setting intended?
Message-ID:  <7b928159-c984-420e-9ab3-62245bf3814a@wanadoo.fr>
In-Reply-To: <ZdYoJlN7azuNin0b@spindle.one-eyed-alien.net>
References:  <F50B9D9E-2602-4737-B11E-E14C9DEE89A9.ref@yahoo.com> <F50B9D9E-2602-4737-B11E-E14C9DEE89A9@yahoo.com> <ZdYoJlN7azuNin0b@spindle.one-eyed-alien.net>

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


On 21-02-24 17:43, Brooks Davis wrote:
> On Tue, Feb 20, 2024 at 05:54:25PM -0800, Mark Millard wrote:
>> [Curiosity, not an objection.]
>>
>> It appears that most likely all FreeBSD platforms get the gdb
>> setting by default . . .
> 
> I'm not sure we've thought about it much, but gdb is almost certainly
> the right default tuning since it's what most developers are accustom
> to.

And it may also affect other tools. Valgrind's DWARF reader was written 
based on GCC's output, which I assume is tuned for GDB.

There are already a few limitations with clang's emitted DWARF. That has 
been improving, but there is still a bit lacking regarding local 
variables (possibly a limitation of the Valgrind DWARF reader, it's not 
part of the code that I've worked on much).

I have no experience with changing that setting but I guess that it 
could have an impact.

A+
Paul



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7b928159-c984-420e-9ab3-62245bf3814a>