libdw/ChangeLog | 6 ++++++ libdw/dwarf_begin_elf.c | 6 +++--- libdw/libdwP.h | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/libdw/ChangeLog b/libdw/ChangeLog index 8a556ec..6fb5d8d 100644 --- a/libdw/ChangeLog +++ b/libdw/ChangeLog @@ -1,5 +1,11 @@ 2012-03-20 Tom Tromey <[email protected]> + * libdwP.h (IDX_debug_types): Move just before IDX_last. + * dwarf_begin_elf.c (dwarf_scnnames): Move .debug_types to the + end. + +2012-03-20 Tom Tromey <[email protected]> + * libdwP.h (struct Dwarf_Section): New. (Dwarf_Section): New typedef. (struct Dwarf) [sectiondata]: Change type. diff --git a/libdw/dwarf_begin_elf.c b/libdw/dwarf_begin_elf.c index f7ae8ab..e62ef07 100644 --- a/libdw/dwarf_begin_elf.c +++ b/libdw/dwarf_begin_elf.c @@ -1,5 +1,5 @@ /* Create descriptor from ELF descriptor for processing file. - Copyright (C) 2002-2011 Red Hat, Inc. + Copyright (C) 2002-2012 Red Hat, Inc. This file is part of Red Hat elfutils. Written by Ulrich Drepper <[email protected]>, 2002. @@ -73,7 +73,6 @@ static const char dwarf_scnnames[IDX_last][17] = { [IDX_debug_info] = ".debug_info", - [IDX_debug_types] = ".debug_types", [IDX_debug_abbrev] = ".debug_abbrev", [IDX_debug_aranges] = ".debug_aranges", [IDX_debug_line] = ".debug_line", @@ -82,7 +81,8 @@ static const char dwarf_scnnames[IDX_last][17] = [IDX_debug_pubnames] = ".debug_pubnames", [IDX_debug_str] = ".debug_str", [IDX_debug_macinfo] = ".debug_macinfo", - [IDX_debug_ranges] = ".debug_ranges" + [IDX_debug_ranges] = ".debug_ranges", + [IDX_debug_types] = ".debug_types" }; #define ndwarf_scnnames (sizeof (dwarf_scnnames) / sizeof (dwarf_scnnames[0])) diff --git a/libdw/libdwP.h b/libdw/libdwP.h index 1505512..b24ac0b 100644 --- a/libdw/libdwP.h +++ b/libdw/libdwP.h @@ -83,7 +83,6 @@ struct loc_block_s enum { IDX_debug_info = 0, - IDX_debug_types, IDX_debug_abbrev, IDX_debug_aranges, IDX_debug_line, @@ -93,6 +92,7 @@ enum IDX_debug_str, IDX_debug_macinfo, IDX_debug_ranges, + IDX_debug_types, /* Must be just before IDX_last */ IDX_last }; -- 1.7.7.6 _______________________________________________ elfutils-devel mailing list [email protected] https://fedorahosted.org/mailman/listinfo/elfutils-devel
