This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] PR server/9684: gdbserver, attach to stopped processes
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Sat, 25 Feb 2012 04:57:43 +0100
- Subject: Re: [PATCH] PR server/9684: gdbserver, attach to stopped processes
- References: <20120224222127.14659.51317.stgit@hit-nxdomain.opendns.com>
On Fri, 24 Feb 2012 23:21:27 +0100, Pedro Alves wrote:
> Tested with the extended-remote board on x86_64 Fedora 16 (3.2,
> doesn't need patch), and x86_64 RHEL 5.8 (2.6.18, needs patch).
Looks OK to me, thanks.
> + /* The process is definitely stopped. It is in a job control
> + stop, unless the kernel predates the TASK_STOPPED /
+
> + First make sure there is a pending SIGSTOP. Since we are
> + already attached, the process can not transition from stopped
+
> + /* Finally, resume the stopped process. This will deliver the
> + SIGSTOP (or a higher priority signal, just like normal
There are spaces instead of tabs.
Jan