Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Kevin Buettner <kevinb@redhat.com>
To: gdb-patches@sourceware.org
Subject: Re: [commit/RFA] Avoid switch to invalid ptid during Ada task  switch.
Date: Mon, 08 Mar 2010 13:27:00 -0000	[thread overview]
Message-ID: <20100308062637.3a03cd51@redhat.com> (raw)
In-Reply-To: <1267975529-28959-1-git-send-email-brobecker@adacore.com>

On Sun,  7 Mar 2010 19:25:29 +0400
Joel Brobecker <brobecker@adacore.com> wrote:

> When this happens, it's just nicer for the user to print an error
> message, and cancel the task switch. After this patch is applied,
> this is what we get:
> 
>     (gdb) task 1
>     [New Thread 10250]
>     Unable to compute thread ID for task 1.
>     Cannot switch to this task.
> 
> What do you guys think?  Is the wording OK?

I think that the wording that you added is fine, though I find it
confusing to see that there's a new thread, [New Thread 10250], but
that GDB is unable to switch to it.  I think it might be less
confusing if the [New Thread...] message did not appear at all.  I'm
guessing though that suppressing that message would not be easy, and
probably not worthwhile, especially for a case that's not supposed to
happen.

Kevin


  reply	other threads:[~2010-03-08 13:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-07 15:25 Joel Brobecker
2010-03-08 13:27 ` Kevin Buettner [this message]
2010-03-08 18:41   ` Joel Brobecker
2010-03-16 18:51 ` Joel Brobecker

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=20100308062637.3a03cd51@redhat.com \
    --to=kevinb@redhat.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