From owner-freebsd-current@freebsd.org Tue Dec 8 20:08:27 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1E5009D3517 for ; Tue, 8 Dec 2015 20:08:27 +0000 (UTC) (envelope-from gonzo@id.bluezbox.com) Received: from id.bluezbox.com (id.bluezbox.com [45.55.20.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 04E14198E; Tue, 8 Dec 2015 20:08:26 +0000 (UTC) (envelope-from gonzo@id.bluezbox.com) Received: from [208.184.220.60] (helo=macbook-air-3.dolby.net) by id.bluezbox.com with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.85 (FreeBSD)) (envelope-from ) id 1a6OYc-0008eG-O1; Tue, 08 Dec 2015 12:08:19 -0800 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.1 \(3096.5\)) Subject: Re: Dwarf problem with gcc and gdb From: Oleksandr Tymoshenko In-Reply-To: <3841499.UpalbfMfZ3@ralph.baldwin.cx> Date: Tue, 8 Dec 2015 12:07:49 -0800 Cc: freebsd-current@freebsd.org, David Chisnall , Ray Newman Content-Transfer-Encoding: quoted-printable Message-Id: References: <259B859F-93DD-4989-8E0C-2B7635966F0F@FreeBSD.org> <3841499.UpalbfMfZ3@ralph.baldwin.cx> To: John Baldwin X-Mailer: Apple Mail (2.3096.5) Sender: gonzo@id.bluezbox.com X-Spam-Level: -- X-Spam-Report: Spam detection software, running on the system "id.bluezbox.com", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: > On Dec 8, 2015, at 10:42 AM, John Baldwin wrote: > > On Tuesday, December 08, 2015 12:31:11 PM David Chisnall wrote: >> The gdb in the base system doesn’t support DWARF4. Use gdb791 or lldb-devel from ports (I believe gdb791 is probably a better bet on ARM, currently). > > gdb710 in ports does not support arm (yet). [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 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: Tue, 08 Dec 2015 20:08:27 -0000 > On Dec 8, 2015, at 10:42 AM, John Baldwin wrote: >=20 > On Tuesday, December 08, 2015 12:31:11 PM David Chisnall wrote: >> The gdb in the base system doesn=E2=80=99t support DWARF4. Use = gdb791 or lldb-devel from ports (I believe gdb791 is probably a better = bet on ARM, currently). >=20 > gdb710 in ports does not support arm (yet). I have half-baked solution for gdb7/arm: https://people.freebsd.org/~gonzo/arm/gdb7-arm.diff And cognet@ worked on cross-debugging part, not sure how far he got.=20=