From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12956 invoked by alias); 5 Jun 2012 18:45:52 -0000 Received: (qmail 12947 invoked by uid 22791); 5 Jun 2012 18:45:51 -0000 X-SWARE-Spam-Status: No, hits=-6.5 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,SPF_HELO_PASS,TW_DW,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 05 Jun 2012 18:45:29 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q55IjSW9004338 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 5 Jun 2012 14:45:28 -0400 Received: from barimba (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q55IjQrU031281 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 5 Jun 2012 14:45:27 -0400 From: Tom Tromey To: gdb-patches@sourceware.org Subject: [0/12] RFC: support for 'dwz -m' Date: Tue, 05 Jun 2012 18:45:00 -0000 Message-ID: <87y5o1lhrt.fsf@fleche.redhat.com> MIME-Version: 1.0 Content-Type: text/plain Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-06/txt/msg00137.txt.bz2 I'm posting this series as an RFC. I intend to check it in, just not yet -- it is too large, IMO, to go in just before 7.5, and also we're hoping to get some official DWARF constants assigned beforehand (see patch #1). Finally, this series needs a couple of links to documentation, which I think isn't ready yet. Jakub recently posted about his new DWARF compression tool, 'dwz': http://gcc.gnu.org/ml/gcc/2012-04/msg00686.html The 'multifile' branch of the dwz repository implements support for a multi-file mode. The idea behind this mode is that commonalities between a set of files are extracted into a new '.dwz' file, that is then referenced by the rewritten original files. We intend to use this when creating debuginfo RPMs. It yields a nice compression boost for some packages. This patch series implements support for the needed DWARF extensions in gdb. Part of the series comes from my earlier minsym sharing series. Some of these are really just plain cleanups that I probably should have put in long ago. The bulk of the real work is in patches #9 and #10. I'd like to thank Doug for his Fission work, which made this much simpler than it otherwise would have been. I've regression tested the series using plain 'dwz -m', but not multifile compression in conjunction with .gdb_index (the dwz change here isn't ready yet). I will do this testing before committing. Tom