Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <pedro@codesourcery.com>
To: gdb-patches@sourceware.org
Subject: bsd-uthread, claim the core target's main thread
Date: Mon, 11 Aug 2008 14:06:00 -0000	[thread overview]
Message-ID: <200808111505.12693.pedro@codesourcery.com> (raw)

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


             reply	other threads:[~2008-08-11 14:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-11 14:06 Pedro Alves [this message]
2008-08-11 14:12 ` Pedro Alves
2008-08-18 20:29   ` Daniel Jacobowitz

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=200808111505.12693.pedro@codesourcery.com \
    --to=pedro@codesourcery.com \
    --cc=gdb-patches@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