diff options
author | Tom Tromey <tromey@redhat.com> | 2015-08-21 23:45:50 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2015-08-21 23:45:50 +0100 |
commit | 049412e38f9ac04654940173db63a37ebca9bfc3 (patch) | |
tree | 049426f6fff400dbd68830cf2d6ae8d04bfbade8 /gdb/gdbserver/tdesc.c | |
parent | 948578a989f8c666c9b0e92c9a50906724921f14 (diff) | |
download | gdb-049412e38f9ac04654940173db63a37ebca9bfc3.zip gdb-049412e38f9ac04654940173db63a37ebca9bfc3.tar.gz gdb-049412e38f9ac04654940173db63a37ebca9bfc3.tar.bz2 |
gdb/dwarf2read.c: rename a field for c++
Fixes:
../../src/gdb/dwarf2read.c:127:15: error: declaration of ‘asection* dwarf2_section_info::<anonymous union>::asection’ [-fpermissive]
asection *asection;
^
In file included from ../../src/gdb/common/common-types.h:35:0,
from ../../src/gdb/common/common-defs.h:44,
from ../../src/gdb/defs.h:28,
from ../../src/gdb/dwarf2read.c:31:
../bfd/bfd.h:1596:3: error: changes meaning of ‘asection’ from ‘typedef struct bfd_section asection’ [-fpermissive]
} asection;
^
gdb/ChangeLog:
2015-08-21 Tom Tromey <tromey@redhat.com>
* dwarf2read.c (struct dwarf2_section_info): Rename field
'asection' to 'section'.
(dwarf2_has_info, get_section_bfd_owner, get_section_bfd_section)
(dwarf2_locate_sections, dwarf2_locate_sections)
(locate_dwz_sections, locate_v1_virtual_dwo_sections)
(dwarf2_locate_dwo_sections, dwarf2_locate_dwo_sections)
(dwarf2_locate_v2_dwp_sections): Adjust.
Diffstat (limited to 'gdb/gdbserver/tdesc.c')
0 files changed, 0 insertions, 0 deletions