On 21 Feb 2024, at 16:43, Brooks Davis <[email protected]> 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.

I hadn’t realised that was the default, but I guess that explains why my 
debugging experience is worse on FreeBSD than on macOS, even though they both 
ship the same compiler and debugger.

I would assume that anyone who installs a debugger from ports can change the 
default.

I’m also curious about the ‘most developers’, since lldb is the default 
debugger for both iOS and Android, and neither lldb nor gdb are the default on 
Windows), so of the three biggest platforms two use lldb and zero use gdb.  
Even among FreeBSD developers, I’m not sure that the majority are installing a 
GNU component from ports when there’s a debugger that *doesn’t* forget your 
command history across invocations right there in the base system.

David


Reply via email to