mirror of
https://github.com/go-delve/delve.git
synced 2025-11-01 12:01:35 +08:00
proc: Use correct type for mach task
This commit is contained in:
@ -5,10 +5,10 @@
|
||||
#include <mach/thread_info.h>
|
||||
|
||||
int
|
||||
write_memory(mach_port_name_t, mach_vm_address_t, void *, mach_msg_type_number_t);
|
||||
write_memory(task_t, mach_vm_address_t, void *, mach_msg_type_number_t);
|
||||
|
||||
int
|
||||
read_memory(mach_port_name_t, mach_vm_address_t, void *, mach_msg_type_number_t);
|
||||
read_memory(task_t, mach_vm_address_t, void *, mach_msg_type_number_t);
|
||||
|
||||
kern_return_t
|
||||
get_registers(mach_port_name_t, x86_thread_state64_t*);
|
||||
|
||||
Reference in New Issue
Block a user