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. 6c1c7be347154e17a8cf723395bb616d4f3258ed


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  6c1c7be347154e17a8cf723395bb616d4f3258ed (commit)
      from  efad9b6a7ad68e3e85dd28a12b567f84d6860d17 (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=6c1c7be347154e17a8cf723395bb616d4f3258ed

commit 6c1c7be347154e17a8cf723395bb616d4f3258ed
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Dec 5 19:39:12 2014 +0100

    Unify lookup_symbol_in_objfile_symtabs
    
    That's right, block_lookup_symbol_primary()'s additional requirement over
    block_lookup_symbol() is:
    	Function is useful if one iterates all global/static blocks of an
    	objfile.
    
    Which is satisfied both in lookup_symbol_in_objfile_symtabs() and in
    lookup_global_symbol_from_objfile() thanks to their's ALL_OBJFILE_COMPUNITS.
    
    In fact after reverting that ba715d7fe49c8a59660fbd571b935b29eb7cfbdb above
    the lines of code were exactly the same.
    
    So instead of accelerating both lookup_symbol_in_objfile_symtabs() and
    lookup_global_symbol_from_objfile() I just accelerated
    lookup_symbol_in_objfile_symtabs() and I am proposing to reuse
    lookup_symbol_in_objfile_symtabs() in lookup_global_symbol_from_objfile()
    instead.  In fact such unification would already save some lines of code even
    before the checked-in acceleration patch above.
    
    gdb/ChangeLog
    2014-12-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
    
    	* symtab.c (lookup_symbol_in_objfile_symtabs): New declaration.
    	(lookup_global_symbol_from_objfile): Call it.

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

Summary of changes:
 gdb/ChangeLog |    5 +++++
 gdb/symtab.c  |   27 ++++++++++-----------------
 2 files changed, 15 insertions(+), 17 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]