* linux-low.c (PTRACE_ARG3_TYPE): Change from long to void*.
authorDoug Evans <dje@google.com>
Thu, 21 Jan 2010 18:35:42 +0000 (18:35 +0000)
committerDoug Evans <dje@google.com>
Thu, 21 Jan 2010 18:35:42 +0000 (18:35 +0000)
commit14ce306570a6af518693939b282b3338b1131f77
treef311694a1fd1505fdfb3852a3a289bb9f3755736
parent3743bb4fbf22f982f311bba3dd5f1cb5a3dbcf44
* linux-low.c (PTRACE_ARG3_TYPE): Change from long to void*.
(PTRACE_ARG4_TYPE): New macro.
(handle_extended_wait): Cast ptrace arg4 to PTRACE_ARG4_TYPE.
(linux_wait_for_event_1, linux_resume_one_lwp): Ditto.
(fetch_register): Cast to uintptr_t before casting to PTRACE_ARG3_TYPE.
(usr_store_inferior_registers): Ditto.
(linux_read_memory, linux_write_memory): Ditto.
(linux_test_for_tracefork): Ditto.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-low.c