aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc64-linux-nat.c
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2019-10-07 12:34:51 +0100
committerAndrew Burgess <andrew.burgess@embecosm.com>2019-10-07 13:03:52 +0100
commitb2caee6aaa78106d7ae3c46dda3a84a325e43a1d (patch)
tree4c5c0e17a8277bc9301972e37bbf9c7906372ce1 /gdb/sparc64-linux-nat.c
parentdfee856674428aa0137efc3051eac170955f9532 (diff)
downloadgdb-b2caee6aaa78106d7ae3c46dda3a84a325e43a1d.zip
gdb-b2caee6aaa78106d7ae3c46dda3a84a325e43a1d.tar.gz
gdb-b2caee6aaa78106d7ae3c46dda3a84a325e43a1d.tar.bz2
gdb: Rename structures within ctfread.c
Commit: commit 30d1f0184953478d14641c495261afd06ebfabac Date: Mon Oct 7 00:46:52 2019 +0000 gdb: CTF support Introduces some structures with names that are already in use within GBB, this violates C++'s one-definition rule. Specifically the structures 'nextfield' and 'field_info' are now defined in dwarf2read.c and ctfread.c. This commit renames the new structures (in ctfread.c), adding a 'ctf_' prefix. Maybe we should consider renaming the DWARF versions too in the future to avoid accidental conflicts. gdb/ChangeLog: * ctfread.c (struct nextfield): Renamed to ... (struct ctf_nextfield): ... this. (struct field_info): Renamed to ... (strut ctf_field_info): ... this. (attach_fields_to_type): Update for renamed structures. (ctf_add_member_cb): Likewise. (ctf_add_enum_member_cb): Likewise. (process_struct_members): Likewise. (process_enum_type): Likewise.
Diffstat (limited to 'gdb/sparc64-linux-nat.c')
0 files changed, 0 insertions, 0 deletions