Time for turning off gdb by default? Or worse...
Warner Losh
imp at bsdimp.com
Thu Apr 10 23:34:13 UTC 2014
On Apr 10, 2014, at 5:21 PM, Adrian Chadd <adrian at freebsd.org> wrote:
> On 10 April 2014 16:16, Ed Maste <emaste at freebsd.org> wrote:
>> On 8 April 2014 18:17, Ian Lepore <ian at freebsd.org> wrote:
>>>
>>> Only when building the kernel. For userland we've got nothing. gdb
>>> aside, even addr2line doesn't work on userland binaries anymore. It
>>> used to be hard to do debugging for arm. Now it's impossible.
>>
>> The elftoolchain-based binutils replacements (nm, addr2line, etc.)
>> work well, although there are a few remaining features that need to be
>> implemented in some of them. They also inherently support (at least
>> some) cross-arch use cases. I'm hopeful that they'll see these
>> features added, and be imported, before too long.
>
> Right, so can we flip back to dwarf-2 and make that stuff continue to
> somewhat-work until the replacements are ready? :)
You are asking the wrong question: would anybody hurt me if I just did this? :)
Warner
More information about the freebsd-arch
mailing list