From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1543 invoked by alias); 17 Dec 2002 21:08:19 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 1009 invoked from network); 17 Dec 2002 21:07:14 -0000 Received: from unknown (HELO fillmore.constant.com) (12.247.41.113) by sources.redhat.com with SMTP; 17 Dec 2002 21:07:14 -0000 Received: (from bkoz@localhost) by fillmore.constant.com (8.11.6/8.11.6) id gBHL7ax07371; Tue, 17 Dec 2002 15:07:36 -0600 Date: Tue, 17 Dec 2002 13:08:00 -0000 Message-Id: <200212172107.gBHL7ax07371@fillmore.constant.com> To: gcc-bugs@gcc.gnu.org, gdb@sources.redhat.com Subject: -feliminate-dwarf2-dups unusable? From: Benjamin Kosnik X-Organization: Red Hat / San Francisco X-SW-Source: 2002-12/txt/msg00258.txt.bz2 I've been experimenting with -gdwarf-2 -feliminate-dwarf2-dups in libstdc++. This combination of flags reduces the shared binary by 400k. -g -O2 -rwxrwxr-x 1 bkoz bkoz 4.0M libstdc++.so.5.0.2* -gdwarf-2 -feliminate-dwarf2-dups -O2 -rwxrwxr-x 1 bkoz bkoz 3.6M libstdc++.so.5.0.2* The build and testsuite complete without incident, but then when I try to debug, I get: (gdb) file a.out Reading symbols from a.out...DW_FORM_strp pointing outside of .debug_str section This is with mainline gdb, and the dcarlton branch, with top-of-tree gcc, on x86/linux. Any ideas? -benjamin