This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB 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. 3d548a532dd74f9bf5f2033541f0b504d96baf04


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  3d548a532dd74f9bf5f2033541f0b504d96baf04 (commit)
       via  32ac0d11e648f4d5fa07c347ab109222a1162a0e (commit)
       via  9e6c82ad4f55d0ff125721b94fa2191f1cc1000a (commit)
      from  6ef55de768d4ab9065bc92aa00d828212c4af4f0 (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=3d548a532dd74f9bf5f2033541f0b504d96baf04

commit 3d548a532dd74f9bf5f2033541f0b504d96baf04
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon Dec 30 20:34:16 2013 -0700

    move the "main" data into the per-BFD object
    
    This adds the "main"-related data into the per-BFD.  This is needed
    because once symbol sharing across objfiles is complete, computing the
    main name as a side effect of symbol reading will no longer work --
    the symbols simply won't be re-read.
    
    After this change, set_main_name is only used by the main_name
    machinery itself, so this patch makes it static.
    
    2014-01-15  Tom Tromey  <tromey@redhat.com>
    
    	* dbxread.c (process_one_symbol): Use set_objfile_main_name.
    	* dwarf2read.c (read_partial_die): Use set_objfile_main_name.
    	* objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
    	(set_objfile_main_name): New function.
    	* objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
    	language_of_main>: New fields.
    	(set_objfile_main_name): Declare.
    	* symtab.c (find_main_name): Loop over objfiles to find the main
    	name and language.
    	(set_main_name): Now static.
    	(get_main_info): Add comment.
    	* symtab.h (set_main_name): Don't declare.

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

commit 32ac0d11e648f4d5fa07c347ab109222a1162a0e
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon Dec 30 20:18:24 2013 -0700

    move main name into the progspace
    
    This moves the "main" name and language into an object attached to the
    current progspace.  This prevents problems if there are multiple
    inferiors tha have different ideas of "main" -- which matters at least
    for unwinding, see frame.c:inside_main_func.
    
    2014-01-15  Tom Tromey  <tromey@redhat.com>
    
    	* symtab.c (main_progspace_key): New global.
    	(struct main_info): New.
    	(name_of_main, language_of_main): Remove.
    	(get_main_info, main_info_cleanup): New function.
    	(set_main_name, main_name, main_language): Use get_main_info.
    	(_initialize_symtab): Initialize main_progspace_key.

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

commit 9e6c82ad4f55d0ff125721b94fa2191f1cc1000a
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon Dec 30 20:05:34 2013 -0700

    make language_of_main static
    
    This makes the global language_of_main static.  Now it can be set only
    via a new argument to set_main_name.
    
    2014-01-15  Tom Tromey  <tromey@redhat.com>
    
    	* dbxread.c (process_one_symbol): Update.
    	* dwarf2read.c (read_partial_die): Update.
    	* symfile.c (set_initial_language): Call main_language.
    	* symtab.c (language_of_main): Now static.
    	(set_main_name): Add 'lang' parameter.
    	(find_main_name): Update.
    	(main_language): New function.
    	(symtab_observer_executable_changed): Update.
    	* symtab.h (set_main_name): Update.
    	(language_of_main): Remove.
    	(main_language): Declare.

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

Summary of changes:
 gdb/ChangeLog    |   38 ++++++++++++++++
 gdb/dbxread.c    |    2 +-
 gdb/dwarf2read.c |    8 +---
 gdb/objfiles.c   |   15 ++++++
 gdb/objfiles.h   |   12 +++++
 gdb/symfile.c    |    6 +--
 gdb/symtab.c     |  127 ++++++++++++++++++++++++++++++++++++++++++++++-------
 gdb/symtab.h     |    3 +-
 8 files changed, 180 insertions(+), 31 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]