Date: Fri, 28 Mar 2014 11:03:14 -0700 From: Craig Rodrigues <rodrigc@FreeBSD.org> To: Dimitry Andric <dim@freebsd.org> Cc: Larry Baird <lab@maxwell.gta.com>, FreeBSD stable <freebsd-stable@freebsd.org> Subject: Re: HEADS UP: merged llvm/clang 3.4 Message-ID: <CAG=rPVdEaoQf0jwCAy3NNzUTVGQ8Gr6aTNc0N3mhHpuw_cZqaQ@mail.gmail.com> In-Reply-To: <6F2AEDEC-4173-45B0-9C21-1D80E33660F6@FreeBSD.org> References: <20140328165121.13797.qmail@mailgate.gta.com> <6F2AEDEC-4173-45B0-9C21-1D80E33660F6@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 28, 2014 at 10:51 AM, Dimitry Andric <dim@freebsd.org> wrote: > On 28 Mar 2014, at 17:51, Larry Baird <lab@maxwell.gta.com> wrote: > ... >> This GDB was configured as "i386-marcel-freebsd"...Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr2/lab/6.2/sw/src/hello] > > The default debug info format for clang 3.4 is now DWARF4, which gdb > from base cannot handle. So please use gdb from ports, which is much > better anyway, or compile with -gdwarf-2. > > -Dimitry > Is this also true for kernel debugging with kgdb? -- Craig
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG=rPVdEaoQf0jwCAy3NNzUTVGQ8Gr6aTNc0N3mhHpuw_cZqaQ>