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/ChangeLog | |
parent | 05b08ac1608c8355201db21fe4c871677466f0d5 (diff) | |
download | gdb-18101a352541a28b8e199b4d7b9f66989681dc02.zip gdb-18101a352541a28b8e199b4d7b9f66989681dc02.tar.gz gdb-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/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 41932c1..92338cc 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,18 @@ 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. + +2019-07-10 Tom Tromey <tromey@adacore.com> + * python/python-internal.h (create_thread_object): Return gdbpy_ref. * python/py-infthread.c (create_thread_object): Return gdbpy_ref. |