diff options
author | Pedro Alves <palves@redhat.com> | 2008-06-27 11:31:40 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2008-06-27 11:31:40 +0000 |
commit | 79d7f229011f509cbb9532890e59514fbce14605 (patch) | |
tree | a5ee575f93b2fff37307f8a56237885b1cab1d71 /gdb/m32c-tdep.c | |
parent | 56a2504d544b7ad3ec296d961137902c8d8d277c (diff) | |
download | gdb-79d7f229011f509cbb9532890e59514fbce14605.zip gdb-79d7f229011f509cbb9532890e59514fbce14605.tar.gz gdb-79d7f229011f509cbb9532890e59514fbce14605.tar.bz2 |
Use ptid_t.tid to store thread ids instead of ptid_t.pid.
* remote.c (magic_null_ptid, not_sent_ptid, any_thread_ptid): New
globals.
(general_thread, continue_thread): Change type to ptid_t.
(record_currthread): Take a ptid_t parameter instead of an
integer.
(MAGIC_NULL_PID): Delete.
(set_thread): Take a ptid_t parameter and adjust.
(set_general_thread, set_continue_thread): New.
(remote_thread_alive, remote_newthread_step)
(remote_current_thread, remote_find_new_threads)
(remote_threads_info, remote_start_remote, remote_vcont_resume)
(remote_resume_1, remote_wait, extended_remote_create_inferior_1)
(threadalive_test, remote_pid_to_str)
(remote_get_thread_local_address): Adjust.
(_initialize_remote): Initialize magic_null_ptid, not_sent_ptid
and any_thread_ptid.
Diffstat (limited to 'gdb/m32c-tdep.c')
0 files changed, 0 insertions, 0 deletions