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. b6d7a4bf2932e5ae173dd7fb0213c3b004da8462


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  b6d7a4bf2932e5ae173dd7fb0213c3b004da8462 (commit)
      from  d022bddd4fd93428a7fa3cc7ad404c912ed20dbf (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=b6d7a4bf2932e5ae173dd7fb0213c3b004da8462

commit b6d7a4bf2932e5ae173dd7fb0213c3b004da8462
Author: Simon Marchi <simon.marchi@ericsson.com>
Date:   Fri Aug 1 18:09:06 2014 -0400

    Rename variable with confusing name
    
    I saw this gem of not so legible code in solib-svr4.c (scan_dyntag):
    
    	if (dyn_tag == dyntag)
    
    and thought it deserved a small rename.
    
    This just renames variables to be a bit more clear for those who read the
    code. I also constified the parameter because, why not. The same was
    done in scan_dyntag_auxv as well.
    
    Tested only by rebuilding, since the change was done mechanically.
    
    gdb/Changelog:
    
    2014-08-01  Simon Marchi  <simon.marchi@ericsson.com>
    
    	* solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables.
    	(scan_dyntag_auxv): Same.

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

Summary of changes:
 gdb/ChangeLog    |    5 +++++
 gdb/solib-svr4.c |   34 +++++++++++++++++-----------------
 2 files changed, 22 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]