This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gdb and binutils branch master updated. ec673e648cf7b2fa6a03342b0bca3ed3855f002f


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".

The branch, master has been updated
       via  ec673e648cf7b2fa6a03342b0bca3ed3855f002f (commit)
      from  8b9247296737f91bae153207f4380f35c61ef656 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ec673e648cf7b2fa6a03342b0bca3ed3855f002f

commit ec673e648cf7b2fa6a03342b0bca3ed3855f002f
Author: Cary Coutant <ccoutant@google.com>
Date:   Tue Jan 28 15:35:47 2014 -0800

    Add .gdb_index version 7 support.
    
    This patch adds support for .gdb_index version 7, which adds several
    flag bits to the symbol index.  It also fixes a problem where it did
    not handle compressed debug sections correctly.
    
    Tested with a google/gcc-4_8 branch compiler, which supports
    the -ggnu-pubnames option to generate .debug_gnu_pubnames/pubtypes
    tables. (We will submit that patch to GCC when stage 1 reopens.)
    
    2014-01-28  Cary Coutant  <ccoutant@google.com>
    
    	* gold/dwarf_reader.cc: include <utility> (for make_pair).
    	(Dwarf_abbrev_table::do_read_abbrevs): Check for compressed
    	debug sections.
    	(Dwarf_ranges_table::read_ranges_table): Likewise.
    	(Dwarf_pubnames_table::read_section): Check for GNU-style
    	sections, and for compressed debug sections.
    	(Dwarf_pubnames_table::read_header): Compute end address of table.
    	(Dwarf_pubnames_table::next_name): Return flag_byte.  Check
    	for end of list by offset, not by offset == 0.
    	(Dwarf_info_reader::do_read_string_table): Check for compressed
    	debug sections.
    	* gold/dwarf_reader.h (Dwarf_pubnames_table::Dwarf_pubnames_table):
    	Initialize new data members.
    	(Dwarf_pubnames_table::next_name): return flag_byte.
    	(Dwarf_pubnames_table::end_of_table_): New data member.
    	(Dwarf_pubnames_table::is_gnu_style_): New data member.
    	* gold/gdb-index.cc (gdb_index_version): Update to version 7.
    	(Gdb_index_info_reader::read_pubtable): Read flag_byte.
    	(Gdb_index_info_reader::read_pubnames_and_pubtypes): Don't
    	read skeleton type unit DIEs.
    	(Gdb_index::add_symbol): Add flag_byte; adjust all callers.
    	(Gdb_index::do_write): Write flag_byte.
    	* gold/gdb-index.h (Gdb_index::add_symbol): Add flags parameter.
    	(Gdb_index::Cu_vector): Store flags along with cu indexes.
    	* gold/testsuite/gdb_index_test_3.sh: Allow versions 4-7.
    	* gold/testsuite/gdb_index_test_comm.sh: Likewise.

-----------------------------------------------------------------------

Summary of changes:
 gold/ChangeLog                        |   31 +++++++++++++++++
 gold/dwarf_reader.cc                  |   59 +++++++++++++++++++++++----------
 gold/dwarf_reader.h                   |   13 +++++--
 gold/gdb-index.cc                     |   32 +++++++++++++-----
 gold/gdb-index.h                      |    7 ++--
 gold/testsuite/gdb_index_test_3.sh    |    2 +-
 gold/testsuite/gdb_index_test_comm.sh |    2 +-
 7 files changed, 111 insertions(+), 35 deletions(-)


hooks/post-receive
-- 
gdb and binutils


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]