This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

bsd-uthread, claim the core target's main thread


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]