diff options
author | Tom Tromey <tom@tromey.com> | 2019-04-30 22:18:10 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-05-08 16:01:50 -0600 |
commit | 02dc647ed65b1429b9af4986ed467f90fbe0c33b (patch) | |
tree | 16362e209f6d22944f1340de667b67f924011df6 /gdb/stap-probe.c | |
parent | 092324387247f92c66f25a3e1927cf8821bb4943 (diff) | |
download | gdb-02dc647ed65b1429b9af4986ed467f90fbe0c33b.zip gdb-02dc647ed65b1429b9af4986ed467f90fbe0c33b.tar.gz gdb-02dc647ed65b1429b9af4986ed467f90fbe0c33b.tar.bz2 |
Convert xcoffread.c to type-safe registry API
This changes xcoffread.c to use the type-safe registry API. It also
renames coff_symfile_info to xcoff_symfile_info, to avoid any possible
ODR violation.
gdb/ChangeLog
2019-05-08 Tom Tromey <tom@tromey.com>
* xcoffread.c (struct xcoff_symfile_info): Rename from
coff_symfile_info. Add initializers.
(xcoff_objfile_data_key): Move lower. Change type.
(XCOFF_DATA): Rewrite.
(xcoff_free_info): Remove.
(xcoff_symfile_init, _initialize_xcoffread, read_xcoff_symtab)
(read_symbol, read_symbol_lineno, find_linenos, init_stringtab)
(xcoff_initial_scan): Update.
Diffstat (limited to 'gdb/stap-probe.c')
0 files changed, 0 insertions, 0 deletions