[gdbserver] Split a new inferiors.h file out of server.h.
authorPedro Alves <palves@redhat.com>
Thu, 5 Sep 2013 20:41:22 +0000 (20:41 +0000)
committerPedro Alves <palves@redhat.com>
Thu, 5 Sep 2013 20:41:22 +0000 (20:41 +0000)
commit6a6bbd9d762d3d9d3da1b0337b84f4fe64f06bd2
treefddee6689e38982dfe7f81f89e6c7457bbb7e52a
parentf699aaba87de29fe9764fb96f625962f4e3a5921
[gdbserver] Split a new inferiors.h file out of server.h.

gdb/gdbserver/
2013-09-05  Pedro Alves  <palves@redhat.com>

* server.h (current_process, get_thread_process, all_processes)
(add_inferior_to_list, for_each_inferior, current_inferior)
(remove_inferior, add_process, remove_process, find_process_pid)
(have_started_inferiors_p, have_attached_inferiors_p)
(thread_id_to_gdb_id, thread_to_gdb_id, gdb_id_to_thread_id)
(clear_inferiors, find_inferior, find_inferior_id)
(inferior_target_data, set_inferior_target_data)
(inferior_regcache_data, set_inferior_regcache_data): Move to
inferiors.h, and include it.
* inferiors.h: New file.
gdb/gdbserver/ChangeLog
gdb/gdbserver/gdbthread.h
gdb/gdbserver/server.h
gdb/gdbserver/target.h