diff options
author | Tom Tromey <tromey@adacore.com> | 2019-06-26 12:42:14 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2019-07-10 12:42:16 -0600 |
commit | 18101a352541a28b8e199b4d7b9f66989681dc02 (patch) | |
tree | 4a0bac320b9c281dd33cf01c546b049324f1aca3 /gdb/i386-bsd-nat.h | |
parent | 05b08ac1608c8355201db21fe4c871677466f0d5 (diff) | |
download | binutils-18101a352541a28b8e199b4d7b9f66989681dc02.zip binutils-18101a352541a28b8e199b4d7b9f66989681dc02.tar.gz binutils-18101a352541a28b8e199b4d7b9f66989681dc02.tar.bz2 |
Change remote-sim.c to use type-safe registry
This changes remote-sim.c to use the type-safe registry.
2019-07-10 Tom Tromey <tromey@adacore.com>
* remote-sim.c (struct sim_inferior_data): Add initializers,
constructor, and destructor.
(sim_inferior_data_key): Change type. Move lower.
(check_for_duplicate_sim_descriptor): Update.
(get_sim_inferior_data): Use new. Update.
(~sim_inferior_data_cleanup): Rename from
sim_inferior_data_cleanup. Simplify.
(gdbsim_close_inferior, simulator_command)
(sim_command_completer, _initialize_remote_sim): Update.
(next_pid, INITIAL_PID): Move earlier.
Diffstat (limited to 'gdb/i386-bsd-nat.h')
0 files changed, 0 insertions, 0 deletions