From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
To: gdb-patches@sources.redhat.com
Subject: Re: remote debugging a multi-threaded program with signal
Date: Thu, 04 Mar 2004 14:58:00 -0000 [thread overview]
Message-ID: <20040305.000540.59461353.anemo@mba.ocn.ne.jp> (raw)
Message-ID: <20040304145800.0zTZn0suI6GfpEOyCtFMLvrBZtEQhhetVRxTcxBULpE@z> (raw)
In-Reply-To: <20040304.010624.59462252.anemo@mba.ocn.ne.jp>
>>>>> On Thu, 04 Mar 2004 01:06:24 +0900 (JST), Atsushi Nemoto <anemo@mba.ocn.ne.jp> said:
anemo> There is a program on remote-debugging a multi-threaded program
anemo> which uses signals. After receiving a signal (configured to
anemo> "nostop"), the thread which receives it resumes normally but
anemo> other threads leave stopped.
The last packet sent to gdbserver is "$vCont;C1e:402" (see gdb.output1).
gdb's info states:
`vCont'[;ACTION[`:'TID]]... -- extended resume
Resume the inferior. Different actions may be specified for each
thread. If an action is specified with no TID, then it is applied
to any threads that don't have a specific action specified; if no
default action is specified then other threads should remain
stopped. ...
So the patcket means "continue thread 0x402 with signal 0x1e, others
remain stopped". Then current gdbserver's behavior is correct.
Following the info statements, gdb should send "$vCont;C1e:402;c" to
handle a "nostop" signal correctly?
---
Atsushi Nemoto
next prev parent reply other threads:[~2004-03-04 14:58 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-03 15:59 Atsushi Nemoto
2004-03-19 0:09 ` Atsushi Nemoto [this message]
2004-03-04 14:58 ` Atsushi Nemoto
2004-03-04 22:28 ` Daniel Jacobowitz
2004-03-19 0:09 ` Daniel Jacobowitz
2004-03-19 0:09 ` Atsushi Nemoto
2004-03-05 2:25 ` Atsushi Nemoto
2004-03-19 0:09 ` Atsushi Nemoto
2004-03-05 16:36 ` Atsushi Nemoto
2004-03-05 16:38 ` Daniel Jacobowitz
2004-03-06 12:42 ` Atsushi Nemoto
2004-03-19 0:09 ` Daniel Jacobowitz
2004-03-06 17:11 ` Daniel Jacobowitz
2004-03-07 14:14 ` Atsushi Nemoto
2004-03-19 0:09 ` Atsushi Nemoto
2004-03-19 0:09 ` Atsushi Nemoto
2004-03-19 0:09 ` Daniel Jacobowitz
2004-03-19 0:09 ` Atsushi Nemoto
2004-03-05 4:15 ` Atsushi Nemoto
2004-03-19 0:09 ` Atsushi Nemoto
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=20040305.000540.59461353.anemo@mba.ocn.ne.jp \
--to=anemo@mba.ocn.ne.jp \
--cc=gdb-patches@sources.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