From owner-freebsd-current@FreeBSD.ORG Thu Mar 20 03:26:46 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4FF9CB39 for ; Thu, 20 Mar 2014 03:26:46 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id 289A584C for ; Thu, 20 Mar 2014 03:26:45 +0000 (UTC) Received: from [10.1.1.1] (S01060001abad1dea.hm.shawcable.net [50.70.146.73]) (Authenticated sender: allan.jude@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 08CF15DFFB for ; Thu, 20 Mar 2014 03:26:43 +0000 (UTC) Message-ID: <532A5FF3.90907@allanjude.com> Date: Wed, 19 Mar 2014 23:26:43 -0400 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Re: gdb problem References: <20140320025555.M46170@i805.com.br> In-Reply-To: <20140320025555.M46170@i805.com.br> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="movroatxfhAVw5fofSrnEojRkCM8Pw10i" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Mar 2014 03:26:46 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --movroatxfhAVw5fofSrnEojRkCM8Pw10i Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2014-03-19 23:03, Nilton Jose Rizzo wrote: > I have problem with debug some files compiled with clang, my gbd from s= ystem=20 > is 6.1.1, like showed. >=20 > GNU gdb 6.1.1 [FreeBSD] > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and yo= u are > welcome to change it and/or distribute copies of it under certain condi= tions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for deta= ils. > 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] >=20 >=20 > and when I try to debug a program (main) show this error mesage. >=20 > What I do wrong? >=20 > Thanks=20 >=20 > P.S. the gdb of ports have a compile error, I send a mesage to maintein= er >=20 > 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.o= rg" >=20 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? --=20 Allan Jude --movroatxfhAVw5fofSrnEojRkCM8Pw10i Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----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----- --movroatxfhAVw5fofSrnEojRkCM8Pw10i--