From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Pedro Alves <palves@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] PR server/9684: gdbserver, attach to stopped processes
Date: Sat, 25 Feb 2012 05:58:00 -0000 [thread overview]
Message-ID: <20120225035743.GA17325@host2.jankratochvil.net> (raw)
In-Reply-To: <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
next prev parent reply other threads:[~2012-02-25 3:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-24 23:00 Pedro Alves
2012-02-24 23:22 ` Joel Brobecker
2012-02-27 17:26 ` Pedro Alves
2012-02-25 5:58 ` Jan Kratochvil [this message]
2012-02-27 16:24 ` Pedro Alves
2012-02-25 6:24 ` Yao Qi
2012-02-27 16:31 ` move pid_is_stopped to common/ Pedro Alves
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120225035743.GA17325@host2.jankratochvil.net \
--to=jan.kratochvil@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=palves@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox