This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] DWP V2 support
- From: Cary Coutant <ccoutant at google dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: Doug Evans <dje at google dot com>, gdb-patches <gdb-patches at sourceware dot org>, Sterling Augustine <saugustine at google dot com>
- Date: Mon, 30 Sep 2013 12:45:37 -0700
- Subject: Re: [patch] DWP V2 support
- Authentication-results: sourceware.org; auth=none
- References: <yjt2ob7danre dot fsf at ruffy dot mtv dot corp dot google dot com> <87a9iu9jy0 dot fsf at fleche dot redhat dot com>
On Mon, Sep 30, 2013 at 12:40 PM, Tom Tromey <tromey@redhat.com> wrote:
>>>>>> "Doug" == Doug Evans <dje@google.com> 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