diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-12-07 19:57:21 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-12-07 19:57:21 +0000 |
commit | a7be7fa8ef6853dcaf3f609ee31725423a7674ef (patch) | |
tree | 9c1682431e962c04c8887935198e9e17ec3c42cc /gdb/Makefile.in | |
parent | cc72850f95d062076e557cba1a4a402d45f0b548 (diff) | |
download | gdb-a7be7fa8ef6853dcaf3f609ee31725423a7674ef.zip gdb-a7be7fa8ef6853dcaf3f609ee31725423a7674ef.tar.gz gdb-a7be7fa8ef6853dcaf3f609ee31725423a7674ef.tar.bz2 |
* inf-ttrace.c: Include "gdbthread.h".
(inf_ttrace_num_lwps): New variable.
(inf_ttrace_num_lwps_in_syscall): Renamed from
inf_ttrace_num_threads_in_syscall.
(inf_ttrace_him): Track TTEVT_LWP_CREATE, TTEVT_LWP_EXIT and
TTEVT_LWP_TERMINATE events.
(inf_ttrace_create_inferior): Assert that INF_TTRACE_NUM_LWPS is
zero.
(inf_ttrace_mourn_inferior): Set INF_TTRACE_NUM_LWPS to zero.
(inf_ttrace_attach): Assert that INF_TTRACE_NUM_LWPS is zero.
Track TTEVT_LWP_CREATE, TTEVT_LWP_EXIT and TTEVT_LWP_TERMINATE
events.
(inf_ttrace_wait): Report status as TARGET_WAITKIND_SPURIOUS by
default. Handle TTEVT_LWP_CREATE, TTEVT_LWP_EXIT and
TTEVT_LWP_TERMINATE events.
(inf_ttrace_thread_alive, inf_ttrace_pid_to_str): New functions.
(inf_ttrace_target): Set to_thread_alive and to_pid_to_str.
* Makefile.in (inf-ttrace.o): Update dependencies.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r-- | gdb/Makefile.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in index ddac599..08b7bfd 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -2088,9 +2088,9 @@ inflow.o: inflow.c $(defs_h) $(frame_h) $(inferior_h) $(command_h) \ inf-ptrace.o: inf-ptrace.c $(defs_h) $(command_h) $(inferior_h) $(inflow_h) \ $(gdbcore_h) $(observer_h) $(gdb_string_h) $(gdb_ptrace_h) \ $(gdb_wait_h) $(inf_child_h) -inf-ttrace.o: inf-ttrace.c $(defs_h) $(command_h) $(inferior_h) \ - $(observer_h) $(target_h) $(gdb_assert_h) $(gdb_string_h) \ - $(inf_child_h) $(inf_ttrace_h) +inf-ttrace.o: inf-ttrace.c $(defs_h) $(command_h) $(gdbcore_h) \ + $(gdbthread_h)$(inferior_h) $(observer_h) $(target_h) \ + $(gdb_assert_h) $(gdb_string_h) $(inf_child_h) $(inf_ttrace_h) infptrace.o: infptrace.c $(defs_h) $(command_h) $(frame_h) $(gdbcore_h) \ $(inferior_h) $(regcache_h) $(target_h) $(gdb_assert_h) \ $(gdb_wait_h) $(gdb_string_h) $(gdb_dirent_h) $(gdb_ptrace_h) |