Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@mvista.com>
To: Nat Gurumoorthy <natg@ubicom.com>
Cc: gdb@sources.redhat.com
Subject: Re: Proposal for customization of output of "to_pid_to_str" op in remote.c
Date: Wed, 11 Dec 2002 14:57:00 -0000	[thread overview]
Message-ID: <20021211225819.GA3183@nevyn.them.org> (raw)
In-Reply-To: <200212112251.gBBMpkq08316@ubicom.com>

On Wed, Dec 11, 2002 at 02:51:46PM -0800, Nat Gurumoorthy wrote:
> >Daniel Jaccobowitz wrote
> >The remote protocol allows you to return more information in the stub. 
> >Can you do that instead?  See ThreadExtraInfo.
> 
> Daniel,
>     I know that. Just as the remote protocol allows me to print out
> extra information about each thread, I would like it to let me print
> out the name of the thread and not call it "Thread 1" or "Thread 2"
> etc. The proposed interface will allow the target dependent layer
> to print what ever it wants. If the target dependent layer does not
> specify the macro the behavior reverts to the Original mode.
> 
> Regards
> Nat
> 
> ps: Thanks for pointing out the problem with the natg@ubicom.com address.
> It has been fixed.

What's wrong with:
1  Thread 1 (Original thread)
2  Thread 2 (Extra thread)
3  Thread 4 (Thread I Felt Like)
?  What output do you want?  I'd like to keep it printing the TID for
consistency.

In any case, a target macro the way you did this is probably the wrong
way.  It looks almost like you want a gdbarch method...

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


  reply	other threads:[~2002-12-11 22:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-11 14:52 Nat Gurumoorthy
2002-12-11 14:57 ` Daniel Jacobowitz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-12-12 11:33 Nat Gurumoorthy
2002-12-11 14:55 Nat Gurumoorthy
2002-12-10 18:24 Nat Gurumoorthy
2002-12-10 18:57 ` Christopher Faylor
2002-12-10 19:04 ` Andrew Cagney
2002-12-10 19:04 ` Daniel Jacobowitz
2002-12-10 16:17 Nat Gurumoorthy
2002-12-10 16:49 ` Daniel Jacobowitz

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=20021211225819.GA3183@nevyn.them.org \
    --to=drow@mvista.com \
    --cc=gdb@sources.redhat.com \
    --cc=natg@ubicom.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