Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Denis PILAT <denis.pilat@st.com>
To: gdb-patches <gdb-patches@sourceware.org>
Cc: Nick Roberts <nickrob@snap.net.nz>
Subject: Re: New mi commands for threads
Date: Mon, 19 Mar 2007 13:45:00 -0000	[thread overview]
Message-ID: <45FE93DE.7030704@st.com> (raw)
In-Reply-To: <17915.11142.366839.850920@kahikatea.snap.net.nz>

Nick Roberts wrote:
>  > This output is a side effect of the frame printing, the actual 
>  > -thread-select command has the same. I'm going to have a look at how we 
>  > can avoid it, but I think it will impact *-thread-select* as well.
>
> OK, I dodn't realise that.  Interestingly the example in the manual doesn't
> show the duplicate information (or the fullname field, so it will have to be
> updated).  It seems to due to the fact that do_captured_thread_select uses
> SRC_AND_LOC, while the other MI commands use LOC_AND_ADDRESS.  I see that
> normal_stop specifies LOC_AND_ADDRESS specifically for MI.  It looks a bit
> of a hack but perhaps we should do the same for do_captured_thread_select:
>
> 	  /* For mi, have the same behavior every time we stop:
> 	     print everything but the source line. */
> 	  if (ui_out_is_mi_like_p (uiout))
> 	    source_flag = LOC_AND_ADDRESS;
>
>
>   
Right,
I'm going to propose a separate patch for that right now.

Then I'll do the same for -thread-info new command.

Denis


      reply	other threads:[~2007-03-19 13:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-14 16:17 Denis PILAT
2007-03-15 21:12 ` Nick Roberts
2007-03-16  8:40   ` Denis PILAT
2007-03-16 23:43     ` Nick Roberts
2007-03-19 13:45       ` Denis PILAT [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=45FE93DE.7030704@st.com \
    --to=denis.pilat@st.com \
    --cc=gdb-patches@sourceware.org \
    --cc=nickrob@snap.net.nz \
    /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