aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/linux-low.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2011-05-04 20:20:12 +0000
committerDoug Evans <dje@google.com>2011-05-04 20:20:12 +0000
commit71f55dd81f0dd7ae6a73dd184902229ab0956aff (patch)
tree4b734b7a9f3e62fda4a6c11564a69ed0ddba4557 /gdb/gdbserver/linux-low.c
parent4d393d60c43d163ca00d80abdf7544f99c9915e0 (diff)
downloadgdb-71f55dd81f0dd7ae6a73dd184902229ab0956aff.zip
gdb-71f55dd81f0dd7ae6a73dd184902229ab0956aff.tar.gz
gdb-71f55dd81f0dd7ae6a73dd184902229ab0956aff.tar.bz2
* linux-low.c (linux_join): Skip process lookup.
* spu-low.c (spu_join): Ditto. * server.c (join_inferiors_callback): Delete. (process_serial_event): For 'D' packet (detach) call join_inferior directly.
Diffstat (limited to 'gdb/gdbserver/linux-low.c')
-rw-r--r--gdb/gdbserver/linux-low.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/gdbserver/linux-low.c b/gdb/gdbserver/linux-low.c
index 23554db..d84fd68 100644
--- a/gdb/gdbserver/linux-low.c
+++ b/gdb/gdbserver/linux-low.c
@@ -878,11 +878,6 @@ static void
linux_join (int pid)
{
int status, ret;
- struct process_info *process;
-
- process = find_process_pid (pid);
- if (process == NULL)
- return;
do {
ret = my_waitpid (pid, &status, 0);