From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15916 invoked by alias); 12 Apr 2006 18:25:35 -0000 Received: (qmail 15905 invoked by uid 22791); 12 Apr 2006 18:25:34 -0000 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 12 Apr 2006 18:25:32 +0000 Received: from elgar.sibelius.xs4all.nl (root@elgar.sibelius.xs4all.nl [192.168.0.2]) by sibelius.xs4all.nl (8.13.4/8.13.4) with ESMTP id k3CIOvN7030099; Wed, 12 Apr 2006 20:24:57 +0200 (CEST) Received: from elgar.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by elgar.sibelius.xs4all.nl (8.13.6/8.13.6) with ESMTP id k3CIOuf0018299; Wed, 12 Apr 2006 20:24:56 +0200 (CEST) Received: (from kettenis@localhost) by elgar.sibelius.xs4all.nl (8.13.6/8.13.6/Submit) id k3CIOuJm000173; Wed, 12 Apr 2006 20:24:56 +0200 (CEST) Date: Thu, 13 Apr 2006 07:02:00 -0000 Message-Id: <200604121824.k3CIOuJm000173@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: dtaylor@emc.com CC: drow@false.org, jr.peulve@wanadoo.fr, gdb@sources.redhat.com In-reply-to: <200604121538.k3CFc9Mm005686@mailhub.lss.emc.com> (message from David Taylor on Wed, 12 Apr 2006 11:38:09 -0400) Subject: Re: stabs vs dwarf (was: Re: Wrong address for static function in linux module ) References: <6.1.0.6.0.20060411102654.00ad0710@pop.wanadoo.fr> <20060411131142.GA21521@nevyn.them.org> <6.1.0.6.0.20060411152707.00acc440@pop.wanadoo.fr> <20060411133836.GA22167@nevyn.them.org> <6.1.0.6.0.20060411163043.00a957f0@pop.wanadoo.fr> <20060411144002.GA27443@nevyn.them.org> <200604121538.k3CFc9Mm005686@mailhub.lss.emc.com> Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-04/txt/msg00148.txt.bz2 > Date: Wed, 12 Apr 2006 11:38:09 -0400 > From: David Taylor > > A full build tree (build products only, no sources) is 8.7 GB with > STABS, but 24.6 GB when built with -gdwarf-2 -feliminate-dwarf2-dups. You know if you compiled without debug information, your build tree would be even smaller. What matters is whether the debug info is actually usable. For unoptimized C code, stabs is probably fine. But for heavily optimized C++ code, it will be unusable. Mark