From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 90579 invoked by alias); 12 Mar 2015 19:59:00 -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 90568 invoked by uid 89); 12 Mar 2015 19:58:59 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.7 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-ig0-f202.google.com Received: from mail-ig0-f202.google.com (HELO mail-ig0-f202.google.com) (209.85.213.202) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Thu, 12 Mar 2015 19:58:57 +0000 Received: by igkb16 with SMTP id b16so174313igk.0 for ; Thu, 12 Mar 2015 12:58:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:cc:date:message-id:mime-version :content-type; bh=zGTqLUV4mGo6VnLgemol4s8ba+Pid9U1xsoK9iSe6yA=; b=fZmguwMWfd3WbU3TIXlt1kaqYc+GAX1J3CRwszjaWskdqclN21SetVu4svy+CEacuB IIhYBAwKTOD/GEQKky84DwWrTqpowLfPHS66alOJwJ1EsWYPS5bfTSJugax7ZxWPT4wY 64JFupaoFRhk+iPAyI7i+36XKbYJsh3jQ+W19/qxIKVRQDsbm8tdDz4kKCA1+M36c6D6 NmfnLmfggggPh8G9p3f3WCfSgiV4AJHY+wsm7lmezit40BSOlBnb6j3AsTYTQco75pZG iKcHKN3WJZutynU4ceg99ypYDEUHAT+Rw9m8X18uoULJ5J0GSawu37vnYCb6nXvhBdzw ifvg== X-Gm-Message-State: ALoCoQlpxGjD9+janeMhoTflCaeLODpue05D0jMXt1sZfjqNP/2wCSS5n1epO0dPfXT5mMPSsXGX X-Received: by 10.50.2.71 with SMTP id 7mr47087340igs.4.1426190335481; Thu, 12 Mar 2015 12:58:55 -0700 (PDT) Received: from corpmail-nozzle1-2.hot.corp.google.com ([100.108.1.103]) by gmr-mx.google.com with ESMTPS id d72si417562yhb.5.2015.03.12.12.58.55 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Mar 2015 12:58:55 -0700 (PDT) Received: from ruffy.mtv.corp.google.com ([172.17.128.44]) by corpmail-nozzle1-2.hot.corp.google.com with ESMTPS id U5A4UbC9.1; Thu, 12 Mar 2015 12:58:55 -0700 From: Doug Evans To: gdb-patches@sourceware.org Subject: [PATCH 0/6] DWARF Two Level Line Tables cc: ccoutant@google.com Date: Thu, 12 Mar 2015 19:59:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes X-SW-Source: 2015-03/txt/msg00371.txt.bz2 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.