public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* find_inferior (&all_lwps) -> iterate_over_lwps
@ 2012-06-11 10:39 Yao Qi
  0 siblings, 0 replies; only message in thread
From: Yao Qi @ 2012-06-11 10:39 UTC (permalink / raw)
  To: gdb

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 (齐尧)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-06-11 10:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-11 10:39 find_inferior (&all_lwps) -> iterate_over_lwps Yao Qi

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).