diff options
author | Jan Beulich <jbeulich@suse.com> | 2022-05-04 08:36:14 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2022-05-04 08:36:14 +0200 |
commit | 3569f4ab7e4bb8bf34db35b623da0c5774b4ee90 (patch) | |
tree | a981ef651b43da0fe99a3d75baf5956d235d95dd | |
parent | 1343fed469767cde3db728069717ea14037321d3 (diff) | |
download | gdb-3569f4ab7e4bb8bf34db35b623da0c5774b4ee90.zip gdb-3569f4ab7e4bb8bf34db35b623da0c5774b4ee90.tar.gz gdb-3569f4ab7e4bb8bf34db35b623da0c5774b4ee90.tar.bz2 |
Dwarf: rename yet another instance of "index"
As before, on sufficiently old glibc this conflicts with a global
identifier in the library headers. While there also zap the unusual
padding by blanks.
-rw-r--r-- | binutils/dwarf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/binutils/dwarf.c b/binutils/dwarf.c index bc862f7..e61c63a 100644 --- a/binutils/dwarf.c +++ b/binutils/dwarf.c @@ -825,8 +825,8 @@ fetch_indexed_addr (dwarf_vma offset, uint32_t num_bytes) Returns 0 if the value could not be found. */ static dwarf_vma -fetch_indexed_value (dwarf_vma index, - enum dwarf_section_display_enum sec_enum) +fetch_indexed_value (dwarf_vma idx, + enum dwarf_section_display_enum sec_enum) { struct dwarf_section *section = &debug_displays [sec_enum].section; @@ -849,7 +849,7 @@ fetch_indexed_value (dwarf_vma index, bias = 12; } - dwarf_vma offset = index * pointer_size; + dwarf_vma offset = idx * pointer_size; /* Offsets are biased by the size of the section header. */ offset += bias; |