diff options
author | Pedro Alves <palves@redhat.com> | 2008-09-08 21:34:35 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2008-09-08 21:34:35 +0000 |
commit | 4189d2f820eb9ac989389d6be52ce473ea493b1a (patch) | |
tree | 9510ba4bf968c7f16ae6101d72e7c5a46827addb /gdb/spu-linux-nat.c | |
parent | 617fd3b510ba316db1303cfcc77ac598209a8cb7 (diff) | |
download | gdb-4189d2f820eb9ac989389d6be52ce473ea493b1a.zip gdb-4189d2f820eb9ac989389d6be52ce473ea493b1a.tar.gz gdb-4189d2f820eb9ac989389d6be52ce473ea493b1a.tar.bz2 |
* spu-linux-nat.c (spu_child_post_startup_inferior)
(spu_child_post_attach): Don't add the main thread here.
Diffstat (limited to 'gdb/spu-linux-nat.c')
-rw-r--r-- | gdb/spu-linux-nat.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/spu-linux-nat.c b/gdb/spu-linux-nat.c index e19b718..5d76300 100644 --- a/gdb/spu-linux-nat.c +++ b/gdb/spu-linux-nat.c @@ -376,8 +376,6 @@ spu_child_post_startup_inferior (ptid_t ptid) ptrace (PT_SYSCALL, tid, (PTRACE_TYPE_ARG3) 0, 0); waitpid (tid, NULL, __WALL | __WNOTHREAD); } - - add_thread_silent (ptid); } /* Override the post_attach routine to try load the SPE executable @@ -397,8 +395,6 @@ spu_child_post_attach (int pid) waitpid (pid, NULL, __WALL | __WNOTHREAD); } - add_thread_silent (inferior_ptid); - /* If the user has not provided an executable file, try to extract the image from inside the target process. */ if (!get_exec_file (0)) |