This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PR server/9684: gdbserver, attach to stopped processes


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]