* inf-ttrace.c: Include <sys/mman.h>.
authorMark Kettenis <kettenis@gnu.org>
Fri, 3 Dec 2004 22:20:00 +0000 (22:20 +0000)
committerMark Kettenis <kettenis@gnu.org>
Fri, 3 Dec 2004 22:20:00 +0000 (22:20 +0000)
commit932936f0df16cbabbefa53bf2b811ea7585243fa
treea297c2ac38514e3a9511540b786b9309bfad68f2
parent697afb65fcf45bf27572b10e788fd8661efe5113
* inf-ttrace.c: Include <sys/mman.h>.
(struct inf_ttrace_page): New.
(struct inf_ttrace_page_dict): New.
(inf_ttrace_num_threads_in_syscall)
(inf_ttrace_reenable_page_protections): New variables.
(inf_ttrace_enable_syscall_events)
(inf_ttrace_disable_syscall_events, inf_ttrace_get_page)
(inf_ttrace_remove_page, inf_ttrace_mask_page_protections)
(inf_ttrace_enable_page_protections)
(inf_ttrace_disable_page_protections)
(inf_ttrace_insert_watchpoint, inf_ttrace_remove_watchpoint)
(inf_ttrace_can_use_hw_breakpoint)
(inf_ttrace_region_size_ok_for_hw_watchpoint)
(inf_ttrace_stopped_by_watchpoint): New functions.
(inf_ttrace_him): Remove unsused varaible `tts'.
(inf_ttrace_create_inferior): Add assertionts.
(inf_ttrace_mourn_inferior): Clear page dictionary.
(inf_ttrace_attach): Set initial event mask.
(inf_ttrace_detach): Reset number of threads in system call.
(inf_ttrace_wait): Deal with system call events.
(inf_ttrace_target): Initialize "hardware" watchpoint-related
parts of the target vector.
(_initialize_inf_ttrace): New prototype and function.
gdb/ChangeLog
gdb/inf-ttrace.c