From owner-freebsd-bugs@FreeBSD.ORG Thu Feb 17 15:00:32 2011 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F86410656A9 for ; Thu, 17 Feb 2011 15:00:32 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7D27A8FC14 for ; Thu, 17 Feb 2011 15:00:32 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p1HF0W2k004404 for ; Thu, 17 Feb 2011 15:00:32 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p1HF0WqA004382; Thu, 17 Feb 2011 15:00:32 GMT (envelope-from gnats) Date: Thu, 17 Feb 2011 15:00:32 GMT Message-Id: <201102171500.p1HF0WqA004382@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Bruce Cran Cc: Subject: Re: bin/126721: gcc(1) g++(1) Compiling, assembling and linking code with debugging results in unusable debug information X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Bruce Cran List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Feb 2011 15:00:32 -0000 The following reply was made to PR bin/126721; it has been noted by GNATS. From: Bruce Cran To: bug-followup@FreeBSD.org, pip88nl@gmail.com Cc: Subject: Re: bin/126721: gcc(1) g++(1) Compiling, assembling and linking code with debugging results in unusable debug information Date: Thu, 17 Feb 2011 14:56:37 +0000 Using -gstabs (or -gstabs+) appears to produce valid debugging information, but the line information doesn't appear correct: (gdb) r Starting program: /usr/home/brucec/test Program received signal SIGSEGV, Segmentation fault. 0x080484eb in main () at test.s:7 7 .stabs "complex long double:t(0,3)=R3;24;0;",128,0,0,0 (gdb) bt #0 0x080484eb in main () at test.s:7 -- Bruce Cran