Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Vladimir Prus <vladimir@codesourcery.com>
To: Pedro Alves <pedro@codesourcery.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [MI non-stop 09/11] Don't care about user-defined thread if --thread is present.
Date: Sun, 13 Jul 2008 04:34:00 -0000	[thread overview]
Message-ID: <200807130834.23003.vladimir@codesourcery.com> (raw)
In-Reply-To: <200807111451.59696.pedro@codesourcery.com>

On Friday 11 July 2008 17:51:59 Pedro Alves wrote:
> A Saturday 28 June 2008 17:58:04, Vladimir Prus wrote:
> > If an MI command has --thread parameter, we don't care in any way
> > that user selected thread is. Will commit after core non-stop is in.
> >
> 
> Note that the version that was committed doesn't have user_selected_ptid
> anymore, 

Oh, that was a nice concept :-)

> and neither an inferior_ptid == null_ptid case, as long as the 
> target still has execution.  I think that you're already checking
> if the thread is THREAD_EXITED somewhere else before letting the
> command run, so this will disappear.

I don't think I check for THREAD_EXITED. OTOH, given that now the check
for non-exiteness applies not to user-selected thread, but to the thread
we ultimately operate on (after --thread is processed), I don't think 
this patch is necessary any more.

- Volodya


      reply	other threads:[~2008-07-13  4:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-28 17:02 Vladimir Prus
2008-07-11 13:52 ` Pedro Alves
2008-07-13  4:34   ` Vladimir Prus [this message]

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=200807130834.23003.vladimir@codesourcery.com \
    --to=vladimir@codesourcery.com \
    --cc=gdb-patches@sourceware.org \
    --cc=pedro@codesourcery.com \
    /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