This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] solib-target: Remove local variables
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Tue, 02 May 2017 16:21:35 -0400
- Subject: [binutils-gdb] solib-target: Remove local variables
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT d17f7b365cf3896b3129b9077d55b3154fc43131 ***
Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: d17f7b365cf3896b3129b9077d55b3154fc43131
solib-target: Remove local variables
Now that we use std::vector, these local variables are not very useful.
They're not much shorter than the expressions they stand for.
gdb/ChangeLog:
* solib-target.c (solib_target_relocate_section_addresses):
Remove num_section_bases, num_bases, segment_bases variables.