diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2014-08-01 18:09:06 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2014-08-06 15:32:57 -0400 |
commit | b6d7a4bf2932e5ae173dd7fb0213c3b004da8462 (patch) | |
tree | 53ff0805210f82649445803d6773f1710cda4ba7 /etc | |
parent | d022bddd4fd93428a7fa3cc7ad404c912ed20dbf (diff) | |
download | gdb-b6d7a4bf2932e5ae173dd7fb0213c3b004da8462.zip gdb-b6d7a4bf2932e5ae173dd7fb0213c3b004da8462.tar.gz gdb-b6d7a4bf2932e5ae173dd7fb0213c3b004da8462.tar.bz2 |
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.
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions