Date: Wed, 19 Mar 2014 23:26:43 -0400 From: Allan Jude <freebsd@allanjude.com> To: freebsd-current@freebsd.org Subject: Re: gdb problem Message-ID: <532A5FF3.90907@allanjude.com> In-Reply-To: <20140320025555.M46170@i805.com.br> References: <20140320025555.M46170@i805.com.br>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On 2014-03-19 23:03, Nilton Jose Rizzo wrote: > I have problem with debug some files compiled with clang, my gbd from system > is 6.1.1, like showed. > > GNU gdb 6.1.1 [FreeBSD] > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it and/or distribute copies of it under certain conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "amd64-marcel-freebsd"...Dwarf Error: wrong version > in compilation unit header (is 4, should be 2) [in module > /home2/rizzo/src/Doutorado/main] > > > and when I try to debug a program (main) show this error mesage. > > What I do wrong? > > Thanks > > P.S. the gdb of ports have a compile error, I send a mesage to mainteiner > > Rizzo > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > The debug format changed, so the gdb in base isn't much use anymore. You can try lldb or gdb from ports (when it is fixed). Did you try grabbing the compiled package of gdb from pkgng? -- Allan Jude [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJTKl/zAAoJEJrBFpNRJZKfs+0QAIAkOGemxtZ3v9O9rfYqdw7H 63locLf9gWrtwPGOGrDyDgv28tYtQilaylLEP3sZOP5CWQrwyEfn9nLVDllZdNUB s0cJ6ZVuSv5nj92i4CWhnacR4KoMJXFsHSCcjEeSnLBNzp/W2GOvVMxEr3c0nMIN k8Gk5e1Zt87a9ROLgFyPO8CFuNTGxJVoUpOvM0XH/dnefmYAxFKB8k7Ydcnt4Yvg rzFN91k4lsGCk5SGPHaUi329eG+HJqLL7Vaeu6SD+L7BDZ+6GmFBM1EsSNLnRYeA Z8KfCI+5G77Lzfb4KSRIOyCzM7eBt7s6Iv795Z0aLmMheEDS/Tv+HjCa/mQL4Zxw 4SsREYBIXCUMcnfJX0hub2qS/ZZ9dEvlAjquoT3M3yMRRRXVlL0gBGHsniHp0dtP yuuVxFvCNqkNHJg/J+BTaj/XzkgKRlTEr1WYN4ygnODchpEe2ehVSZMjOV4MNqHY wNui/Zo8eK9FiKppuan8E5LhIYxhqsKbXHwoRzoVUID9hWimVeCEa9i4Q8bqiO8a jzYlbJiq5+uC5a2GxlrznL8hBdbKxDrHxebr9lE4ntRwU6UL5dpEC0IP/7mIitqS FP6hPpASRVU0l9lZYD87IsaH9DTKVUEkH4UkC34rVGUDTTMxsTGaGOHOo1cHXfBw Fq5HKUirFKDhjdN5aRgn =ruTp -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?532A5FF3.90907>
