Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* bsd-uthread, claim the core target's main thread
@ 2008-08-11 14:06 Pedro Alves
  2008-08-11 14:12 ` Pedro Alves
  0 siblings, 1 reply; 3+ messages in thread
From: Pedro Alves @ 2008-08-11 14:06 UTC (permalink / raw)
  To: gdb-patches

Finally,

Since the core_stratum layer is now registering a thread, layers above
should claim it.  This fixes the bsd-uthread target.

It is meanto to be applies on top of this one, 
 http://sourceware.org/ml/gdb-patches/2008-08/msg00295.html

, although it also applies cleanly on top of the patch to make the
bsd-uthread target always register a main thread.

AIX is still needing update or just some checking, to make it always 
register a thread.  The thread syncing in aix-thread.c and its use of
ptid_cmp still looks a bit of a mistery to me to propose a fix.  :-(
The "failure" mode would be that you'd get two entries for the
same thread, with different ptids.

There's isn't any other target that can layer a thread_stratum
target over a core_statum.

OK, when the dependencies are in?

-- 
Pedro Alves


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-08-18 20:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-11 14:06 bsd-uthread, claim the core target's main thread Pedro Alves
2008-08-11 14:12 ` Pedro Alves
2008-08-18 20:29   ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox