From: Kevin Buettner <kevinb@redhat.com>
To: Zheng Jian-Ming <zjm@cis.nctu.edu.tw>, gdb@sources.redhat.com
Subject: Re: about lin-lwp.c
Date: Mon, 12 Aug 2002 07:59:00 -0000 [thread overview]
Message-ID: <1020812145931.ZM31643@localhost.localdomain> (raw)
In-Reply-To: Zheng Jian-Ming <zjm@cis.nctu.edu.tw> "about lin-lwp.c" (Aug 11, 11:52pm)
On Aug 11, 11:52pm, Zheng Jian-Ming wrote:
> I see this function "lin_lwp_resume()" in gdb/lin-lwp.c, but don't
> know what "gdb_assert(signo == TARGET_SIGNAL_0)" to do.
gdb_assert() generates an internal error if the condition in question
does NOT hold. So for the above, an internal error will be generated
if !(signo == TARGET_SIGNAL_0).
Please note the exact context of this assertion. I.e, we have a
wait status already associated with the thread. You should also
read the FIXME just prior to the assert.
> Does statement "iterate_over_lwps(resume_callback, NULL)" cause all
> threads to resume?
Yes. (Well, technically, it causes all LWPs to resume.)
Kevin
prev parent reply other threads:[~2002-08-12 14:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-11 8:55 Zheng Jian-Ming
2002-08-11 9:09 ` Zheng Jian-Ming
2002-08-12 8:29 ` Kevin Buettner
2002-08-12 7:59 ` Kevin Buettner [this message]
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=1020812145931.ZM31643@localhost.localdomain \
--to=kevinb@redhat.com \
--cc=gdb@sources.redhat.com \
--cc=zjm@cis.nctu.edu.tw \
/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