<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 11, 2015 at 12:25 PM, Robinson, Paul <span dir="ltr"><<a href="mailto:Paul_Robinson@playstation.sony.com" target="_blank">Paul_Robinson@playstation.sony.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> > On Darwin this is for two reasons:<br>
> ><br>
> > 1) LLDB is the default debugger & can't cope with this debug info<br>
> > 2) Apple ships a device driver API without debug info - that API<br>
> > includes a base class that drivers will derive from. The base class's<br>
> > debug info is missing in this situation.<br>
<br>
</span>Sounds like -fstandalone-debug is really (LLDB || Darwin) because there's<br>
a platform consideration as well as a debugger consideration.<br></blockquote><div><br>That's correct, as far as I understand the issues there, though it's not my platform.<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class=""><br>
> > What's the motivation on FreeBSD? Is LLDB the default debugger there<br>
><br>
> We're on track to have LLDB as the default debugger in the FreeBSD<br>
> base system. Right now we have both GDB 6.1.1 and LLDB 3.6 in the<br>
> tree. The obsolete version of GDB we've got is not particularly useful<br>
> at this point, and it remains only until the kernel debugging support<br>
> is resolved in LLDB and in GDB in the ports tree.<br>
><br>
> > (considered fixing LLDB?)<br>
><br>
> I'd love to eventually, but there's a large number of items ahead of<br>
> that on my list.<br>
<br>
</span>The -fstandalone-debug defaulting is currently triple-based and done in<br>
the frontend.  I kinda think its scope is confined to Clang?<br></blockquote><div><br>It should be, yes.<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Which is a whole 'nother can of worms, but I'll make a note of this for<br>
the moment when I can't put off opening that one.<br>
Thanks,<br>
--paulr<br>
<br>
</blockquote></div><br></div></div>