From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14271 invoked by alias); 30 Sep 2013 19:45:41 -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 14236 invoked by uid 89); 30 Sep 2013 19:45:40 -0000 Received: from mail-qc0-f173.google.com (HELO mail-qc0-f173.google.com) (209.85.216.173) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 30 Sep 2013 19:45:40 +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,NO_RELAYS autolearn=ham version=3.3.2 X-HELO: mail-qc0-f173.google.com Received: by mail-qc0-f173.google.com with SMTP id c3so4001946qcv.18 for ; Mon, 30 Sep 2013 12:45:37 -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:cc:content-type; bh=Ad2b6aV34v3XPph89wTtU8qOikQ1F7SIL167FVI5aoI=; b=YuBlOI46Fo881SocTLfM5JLpYkLEmUZK9Y2XkyXFY5Tbh79manrJ/q5UAC7LASoeDu K6JbWzHxvbcd+EIKJoOzLqz22++ipWIycOIch+JRYMuJCyrqa4neaUwbfO9gX7QOqfWD XLXvU3P1UYQxDl1RE08tyCdyq5ZrisQ8igHhkw9IBq3Om2NWMmFZTx+66Tmmgpfr2Awo eV+p0gNGfsLrV0NGWQ+wAHpSOcl2q67WTs6Z9VqVAT69rTb7gucexOZDry9aqvNXm5WJ KYZ/by5HnpBUkAyZAj5qbnLg5AsBnFj2zOABOo4jTK3i0PdLfUOKOyro9WfiB005KXPI Xz0A== X-Gm-Message-State: ALoCoQnI0cuZA2EwDkLnC4UYB6XIx8k75u6arsennBAdPlKSDV/NIbUBexoUL7AnSSwSvOu38ddi84+xk88HJrUapnFdo6nX23QjbmfZwwxWXV+W33Ffwl4v3kLb/Cm3pkaflGT4aOBEJKQzqq163d0aSpW1OtuXFqQeLOS4ydXviSFSqm7AN0SvOTBr9rhsW8dtNFHjc/k784p5nXrrdvKwTyeZbEl+VA== MIME-Version: 1.0 X-Received: by 10.224.20.72 with SMTP id e8mr16348532qab.49.1380570337533; Mon, 30 Sep 2013 12:45:37 -0700 (PDT) Received: by 10.140.25.169 with HTTP; Mon, 30 Sep 2013 12:45:37 -0700 (PDT) In-Reply-To: <87a9iu9jy0.fsf@fleche.redhat.com> References: <87a9iu9jy0.fsf@fleche.redhat.com> Date: Mon, 30 Sep 2013 19:45:00 -0000 Message-ID: Subject: Re: [patch] DWP V2 support From: Cary Coutant To: Tom Tromey Cc: Doug Evans , gdb-patches , Sterling Augustine Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes X-SW-Source: 2013-09/txt/msg01028.txt.bz2 On Mon, Sep 30, 2013 at 12:40 PM, Tom Tromey wrote: >>>>>> "Doug" == Doug Evans writes: > > Doug> I plan to leave this for a few days for comments, and then commit. > > Doug> +/* Possible section ids for version 2 DWP files. > Doug> + These values are specified by the DWP spec. */ > Doug> + > Doug> +enum dwp_v2_section_ids > Doug> +{ > Doug> + DWP_V2_DW_SECT_MIN = 1, > > I suspect this is better placed in include/dwarf2.h. > Presumably some other tool needs this same enum. > > Tom Already there: /* Codes for the debug sections in a dwarf package (.dwp) file. Extensions for Fission. See http://gcc.gnu.org/wiki/DebugFissionDWP. */ enum dwarf_sect { DW_SECT_INFO = 1, DW_SECT_TYPES = 2, DW_SECT_ABBREV = 3, DW_SECT_LINE = 4, DW_SECT_LOC = 5, DW_SECT_STR_OFFSETS = 6, DW_SECT_MACINFO = 7, DW_SECT_MACRO = 8, DW_SECT_MAX = 8 }; -cary