Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <pedro@codesourcery.com>
To: gdb-patches@sourceware.org
Subject: Re: RFA: non-stop/linux, thread stopping
Date: Thu, 16 Oct 2008 03:12:00 -0000	[thread overview]
Message-ID: <200810160412.39381.pedro@codesourcery.com> (raw)
In-Reply-To: <200810160354.39189.pedro@codesourcery.com>

On Thursday 16 October 2008 03:54:38, Pedro Alves wrote:

> To make it nicer on the eye, I'm making an output change in
> the CLI:
> 
> New:
> 
>  [Thread 0xf7e306b0 (LWP 26335)] #1 stopped.
>  0xffffe410 in __kernel_vsyscall ()
> 
> Old:
> 
>  Program received signal 0, Signal 0.
>  0xffffe410 in __kernel_vsyscall ()
> 

> +
> +      if (0 && (stop_info == TARGET_SIGNAL_0 && !ui_out_is_mi_like_p (uiout)))
> +       {
> +         struct thread_info *t = inferior_thread ();
> +
> +         ui_out_text (uiout, "\n[");
> +         ui_out_field_string (uiout, "thread-name",
> +                              target_pid_to_str (t->ptid));
> +         ui_out_field_fmt (uiout, "thread-id", "] #%d", t->num);
> +         ui_out_text (uiout, " stopped");

Eh, this `0 &&' sneaked in while writing the above.  :-)  Please ignore
that.  It should be like this, of course:

+      if (stop_info == TARGET_SIGNAL_0 && !ui_out_is_mi_like_p (uiout))

:-)

-- 
Pedro Alves


  reply	other threads:[~2008-10-16  3:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-16  2:54 Pedro Alves
2008-10-16  3:12 ` Pedro Alves [this message]
2008-10-23 23:16 ` Pedro Alves

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=200810160412.39381.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