From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 45114 invoked by alias); 28 May 2015 17:12:48 -0000 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 Received: (qmail 45102 invoked by uid 89); 28 May 2015 17:12:48 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mail-oi0-f54.google.com Received: from mail-oi0-f54.google.com (HELO mail-oi0-f54.google.com) (209.85.218.54) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Thu, 28 May 2015 17:12:47 +0000 Received: by oifu123 with SMTP id u123so37494323oif.1 for ; Thu, 28 May 2015 10:12:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=ITD80TIYsdRGWGebsyIn35P8Qvpsjtk4k58KvtbTZI0=; b=cXciK2ijygbSQ8B3uzdwgAb4E7/htH/IfZET0S1DeYgAdwvKDvb8i7ywKHzEOLGpBc 9mjN/be1VxJ4h5XFd9WKbMhhh0SXSXoInTAtEmJyx3q6NTgSNj2ftKEur3nBjVjShTl4 pBTomTWPu0nnCfQuSgywg97kT2VJsJgUHeDZlIQoH73jy+poJXuh8iJcMVPulyfp2Ps1 FW68VSs8aWmWotehubxaeQKDluWVVaT+xP0rSb1CU4y0yXWzxtH4CsPyP63eSZs9JEWM b40eoGIAFVYYh11u4UKyjgB1iXYaEEpjCzJAu96KhJrGKyCf1mmLhYyG+K+fpdpga2WI cNvA== X-Gm-Message-State: ALoCoQll5dSOlNV0AxUZvG4LfYjB/eJjO2ROZir6Cyefyp1SF+50oDS368GrNBrn6A2e5qyo78TJ MIME-Version: 1.0 X-Received: by 10.182.40.165 with SMTP id y5mr3409357obk.21.1432833165268; Thu, 28 May 2015 10:12:45 -0700 (PDT) Received: by 10.182.89.99 with HTTP; Thu, 28 May 2015 10:12:45 -0700 (PDT) In-Reply-To: References: Date: Thu, 28 May 2015 17:12:00 -0000 Message-ID: Subject: Re: [PATCH 0/6] DWARF Two Level Line Tables From: Doug Evans To: gdb-patches Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-05/txt/msg00690.txt.bz2 On Thu, Mar 12, 2015 at 12:58 PM, Doug Evans wrote: > Hi. > > This patch set adds Two Level Line Tables support to gdb, > as well as support for the DWARF 5 line table extensions. > > http://wiki.dwarfstd.org/index.php?title=TwoLevelLineTables > http://www.dwarfstd.org/ShowIssue.php?issue=140906.1 > http://www.dwarfstd.org/ShowIssue.php?issue=140724.1 > > The current version of the patch uses a gross hack because > consumers of debug info, including gdb, are not aggressive > enough in rejecting versions they don't understand. > So that existing gdbs won't crash when given the new line table > we create a DWARF 4 line header, and tuck the guts of the > two line tables (logicals + actuals) in something that looks > like a single entry. > Fortunately 7.9 won't crash, so the plan is to hopefully do > something more sensible. > > The patch has been regression tested with existing debug info, > as well as the new two-level-line-table support on the google-4.9.x > gcc branch, and the binutils users/ccoutant/two-level-line-tables branch. I've committed the first four patches in this series, which were just cleanups. The remaining two patches add support for DWARF v5 line tables as well as the proposed two level line tables. Since stock gcc doesn't generate these yet my plan is to hold off committing them for now. I'm happy to commit them early if someone needs/wants me too.