Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <pedro@codesourcery.com>
To: gdb@sourceware.org
Cc: Pawel Piech <pawel.piech@windriver.com>,
	 Marc Khouzam <marc.khouzam@ericsson.com>
Subject: Re: non-stop and current thread exiting
Date: Tue, 10 Jun 2008 15:14:00 -0000	[thread overview]
Message-ID: <200806101614.24218.pedro@codesourcery.com> (raw)
In-Reply-To: <48487B44.6030300@windriver.com>

Guys,

 Sorry for leaving the discussion for so long.  I was experimenting
with the options, so I could get a larger picture of what was implied.

I've implemented and tried the several options, and ended up settling with
the c) option.  That is, if the selected thread exits, GDB will have no 
selected thread; most commands then error out until the user/frontend
selects a thread.  Already exited threads may be left in the
internal thread list while the core still needs them, but are not
visible to the user.

Since all-stop doesn't accept commands while the inferior is running,
and switches to the thread that gets a stop event automatically, 
it is unaffected.  I propose we go with this behaviour first, and
let people experiment with it.

I'm going to post this as one of the topmost patches of a new
non-stop series, now that all it's dependencies have
been checked in.

-- 
Pedro Alves


  reply	other threads:[~2008-06-10 15:14 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-03 21:54 Pedro Alves
2008-06-03 22:01 ` Joel Brobecker
2008-06-04  0:53 ` Marc Khouzam
2008-06-04  4:57   ` Vladimir Prus
2008-06-05 13:18     ` Marc Khouzam
2008-06-05 13:27       ` Vladimir Prus
2008-06-05 21:23         ` Pawel Piech
2008-06-04 15:10   ` Pawel Piech
2008-06-04 17:08     ` Pedro Alves
2008-06-04 17:38       ` Vladimir Prus
     [not found]         ` <4846F753.7060204@windriver.com>
2008-06-05  5:50           ` Vladimir Prus
2008-06-05 21:23             ` Pawel Piech
2008-06-05 23:48               ` Pawel Piech
2008-06-10 15:14                 ` Pedro Alves [this message]
2008-06-04 17:34 ` Michael Snyder

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=200806101614.24218.pedro@codesourcery.com \
    --to=pedro@codesourcery.com \
    --cc=gdb@sourceware.org \
    --cc=marc.khouzam@ericsson.com \
    --cc=pawel.piech@windriver.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