Also sad.

Any way you can conditionalize this based on OS version that may have
a newer gdb/lldb that'll support non-dwarf2? If not, that's fine.

And you're also reminding me that I asked this last time this came up
too. Sorry about that :)

-eric

On Thu, Jun 12, 2014 at 2:16 PM, Dimitry Andric <[email protected]> wrote:
> For FreeBSD, I was practically forced to revert the default to DWARF2, after 
> many complaints from our users and developers.  The main reason is that our 
> version of gdb is still stuck in the stone (GPLv2) age, just like our version 
> of GNU ld (and other binutils, inasmuch we use them).  We do have lldb in the 
> tree, but it isn't built by default, and it isn't yet feasible to use for all 
> our architectures.
>
> That said, I would personally have preferred dumping our old gdb, and forcing 
> users to install the much newer gdb (7.x) port, but that wasn't acceptable, 
> unfortunately.  There is quite a large amount of inertia, and I fear DWARF2 
> will still be the default for many years (basically, for the entire lifetime 
> of FreeBSD 11.x).
>
> -Dimitry
>
> On 12 Jun 2014, at 20:17, Eric Christopher <[email protected]> wrote:
>> Sad.
>>
>> Why?
>>
>> -eric
>>
>> On Wed, Jun 11, 2014 at 10:39 PM, Brad Smith <[email protected]> wrote:
>>> Here is a patch inspired by a patch I noticed in the FreeBSD LLVM tree to
>>> utilize dwarf-2 by default on OpenBSD and FreeBSD.
>>>
>>> --
>>> This message has been scanned for viruses and
>>> dangerous content by MailScanner, and is
>>> believed to be clean.
>>>
>>>
>>> _______________________________________________
>>> cfe-commits mailing list
>>> [email protected]
>>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>>>
>> _______________________________________________
>> cfe-commits mailing list
>> [email protected]
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to