diff options
author | Daniel Jacobowitz <drow@false.org> | 2005-03-03 16:56:53 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2005-03-03 16:56:53 +0000 |
commit | a1928bada5edd03fee8aaccce7775c273ae0fcd4 (patch) | |
tree | 57b8c09bcd4c8bc4daf58a6b26ed54a835bd9982 /gdb/gdbserver/linux-low.h | |
parent | e20b46382a937f11ace221ee5b8a68aab819f504 (diff) | |
download | gdb-a1928bada5edd03fee8aaccce7775c273ae0fcd4.zip gdb-a1928bada5edd03fee8aaccce7775c273ae0fcd4.tar.gz gdb-a1928bada5edd03fee8aaccce7775c273ae0fcd4.tar.bz2 |
* inferiors.c (change_inferior_id, add_thread, find_inferior_id):
Take unsigned long arguments for PIDs.
* linux-low.c (add_process, linux_attach_lwp, linux_attach)
(linux_thread_alive, linux_wait_for_event, kill_lwp, send_sigstop)
(wait_for_sigstop, linux_resume_one_process)
(regsets_fetch_inferior_registers, linux_send_signal)
(linux_read_auxv): Likewise. Update the types of variables holding
PIDs. Update format string specifiers.
* linux-low.h (struct process_info, linux_attach_lwp): Likewise.
* remote-utils.c (prepare_resume_reply): Likewise.
* server.c (cont_thread, general_thread, step_thread)
(thread_from_wait, old_thread_from_wait, signal_pid): Change type to
unsigned long.
(handle_query): Update format specifiers.
(handle_v_cont, main): Use strtoul for thread IDs.
* server.h (struct inferior_list_entry): Use unsigned long for ID.
(add_thread, find_inferior_id, change_inferior_id, cont_thread)
(general_thread, step_thread, thread_from_wait)
(old_thread_from_wait): Update.
* target.h (struct thread_resume): Use unsigned long for THREAD.
(struct target_ops): Use unsigned long for arguments to attach and
thread_alive.
Diffstat (limited to 'gdb/gdbserver/linux-low.h')
-rw-r--r-- | gdb/gdbserver/linux-low.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/gdbserver/linux-low.h b/gdb/gdbserver/linux-low.h index d42c9b5..5e41c48 100644 --- a/gdb/gdbserver/linux-low.h +++ b/gdb/gdbserver/linux-low.h @@ -1,5 +1,5 @@ /* Internal interfaces for the GNU/Linux specific target code for gdbserver. - Copyright 2002, 2004 Free Software Foundation, Inc. + Copyright 2002, 2004, 2005 Free Software Foundation, Inc. This file is part of GDB. @@ -71,8 +71,8 @@ struct process_info { struct inferior_list_entry head; int thread_known; - int lwpid; - int tid; + unsigned long lwpid; + unsigned long tid; /* If this flag is set, the next SIGSTOP will be ignored (the process will be immediately resumed). */ @@ -115,6 +115,6 @@ struct process_info extern struct inferior_list all_processes; -void linux_attach_lwp (int pid, int tid); +void linux_attach_lwp (unsigned long pid, unsigned long tid); int thread_db_init (void); |