From owner-freebsd-hackers@FreeBSD.ORG Sun Mar 20 07:18:58 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A8BF2106564A for ; Sun, 20 Mar 2011 07:18:58 +0000 (UTC) (envelope-from dchagin@dchagin.static.corbina.ru) Received: from contrabass.corbina.net (contrabass.post.ru [85.21.78.5]) by mx1.freebsd.org (Postfix) with ESMTP id 56FA88FC0A for ; Sun, 20 Mar 2011 07:18:57 +0000 (UTC) Received: from corbina.ru (mail.post.ru [195.14.50.16]) by contrabass.corbina.net (Postfix) with ESMTP id 33B89CBC93; Sun, 20 Mar 2011 10:18:54 +0300 (MSK) X-Virus-Scanned: by cgpav Uf39PSi9pFi9oFi9 Received: from [10.208.22.99] (HELO dchagin.static.corbina.ru) by corbina.ru (CommuniGate Pro SMTP 5.1.14) with ESMTPS id 309796565; Sun, 20 Mar 2011 10:18:54 +0300 Received: from dchagin.static.corbina.ru (localhost [127.0.0.1]) by dchagin.static.corbina.ru (8.14.4/8.14.4) with ESMTP id p2K7IrMe032988; Sun, 20 Mar 2011 10:18:53 +0300 (MSK) (envelope-from dchagin@dchagin.static.corbina.ru) Received: (from dchagin@localhost) by dchagin.static.corbina.ru (8.14.4/8.14.4/Submit) id p2K7Il99032807; Sun, 20 Mar 2011 10:18:47 +0300 (MSK) (envelope-from dchagin) Date: Sun, 20 Mar 2011 10:18:47 +0300 From: Chagin Dmitry To: Xingxing Pan Message-ID: <20110320071847.GA10579@dchagin.static.corbina.ru> References: <20110319174115.GA33282@dchagin.static.corbina.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SLDf9lqlvOQaIe6s" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-hackers@freebsd.org Subject: Re: GSoC'11: DWARF2 call frame information X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Mar 2011 07:18:58 -0000 --SLDf9lqlvOQaIe6s Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 20, 2011 at 11:08:10AM +0800, Xingxing Pan wrote: > 2011/3/20 Chagin Dmitry : > > On Sun, Mar 20, 2011 at 12:36:39AM +0800, Xingxing Pan wrote: > >> Hi, everyone. > >> > >> I'm a student interested in the project "DWARF2 call frame > >> information" for Summer of Code 2011. > >> I'd like to know which compiler I will work on to add DWARF2 support. > >> This project is not tagged by "suggested". Will it be ok to choose it > >> as the target? > >> > > > > hi Xingxing, > > > > You should carefully reread the proposed idea. Especially in the > > "A debug kernel is not able to show stack traces with cross > > exceptions anymore. This is because we do not emit any dwarf2 > > call frame information for any assembler code, since gdb switched > > to the dwarf2 format" part. > > > > And, of course, this work is very important for the community. So, IMO, > > it will be ok as the target :) > > Thank you. > > > > -- > > Have fun! > > chd > > >=20 > Hi chd, >=20 > Thank you for your reply. I thought the dwarf2 call frame information > was generated by the toolchain. mostly yes. but not in the assembler code written by hand. > That's why I care about the states of the compiler. > I'm not quite understand the proposed idea. Could you show me more > details of the project? > I really appreciate your support. >=20 hm, you should add the .cfi directive in each .S file by hand: http://www.logix.cz/michal/devel/gas-cfi/ --=20 Have fun! chd --SLDf9lqlvOQaIe6s Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAk2FqlYACgkQ0t2Tb3OO/O25FwCeOjO+c3sDZ13b09cCom1/TVdW tg8AoIoake8QLWbKjWF8qI29jgHagmYs =6zHk -----END PGP SIGNATURE----- --SLDf9lqlvOQaIe6s--