From: Yao Qi <yao@codesourcery.com>
To: <gdb@sourceware.org>
Subject: find_inferior (&all_lwps) -> iterate_over_lwps
Date: Mon, 11 Jun 2012 10:39:00 -0000 [thread overview]
Message-ID: <4FD5CAD8.4000902@codesourcery.com> (raw)
Hi,
GDB needs "pause_all/unpause_all" in GDBserver to control threads
correctly when talking with IPA. Some callbacks are available in
GDBserver, and GDB can simply 'use' them. However, GDB and GDBserver
has the different way to iterate over 'lwp_info' (iterate_over_lwps vs
find_inferior), and prevent GDB using these callbacks in GDBserver.
What I want to do is to 'replace find_inferior (&all_lwps) with
iterate_over_lwps in GDBserver', which makes share more code on both
sides easier. What do you think?
--
Yao (é½å°§)
reply other threads:[~2012-06-11 10:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4FD5CAD8.4000902@codesourcery.com \
--to=yao@codesourcery.com \
--cc=gdb@sourceware.org \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).