From: Tom Tromey <tromey@redhat.com>
To: Pedro Alves <pedro@codesourcery.com>
Cc: gdb-patches@sourceware.org
Subject: Re: Move the multi-forks support to the generic multi-inferiors support.
Date: Mon, 08 Jun 2009 22:39:00 -0000 [thread overview]
Message-ID: <m3skiamjxj.fsf@fleche.redhat.com> (raw)
In-Reply-To: <200906061707.21594.pedro@codesourcery.com> (Pedro Alves's message of "Sat\, 6 Jun 2009 17\:07\:20 +0100")
>>>>> "Pedro" == Pedro Alves <pedro@codesourcery.com> writes:
Tom> How about this? It adds the column headings and prints something when
Tom> there are no inferiors.
Pedro> This is fine with me, thanks, but,
Pedro> are you planning on doing something similar to "info threads"
Pedro> output?
I wasn't planning to.
Really I just wanted to get column headers for the otherwise-obscure
"info inferiors" columns...
Pedro> IMO, both these commands should be consistent. In that case, you
Pedro> may have an issue with MI, as it calls print_thread_info --- I don't
Pedro> know if using a table instead of a list changes MI output.
I think it does, so changing it would not be ok.
Pedro> (I was a bit surprised to (re-)find that MI doesn't use
Pedro> print_inferior)
Naughty. Though at a quick glance I didn't see where MI does any
printing of the inferiors...?
In this case I think the patch is ok anyway -- an error in "info
threads" does not, IMO, imply that we should propagate the mistake to
other commands. Let me know what you think of this, I won't install
the patch if you feel differently.
Tom
next prev parent reply other threads:[~2009-06-08 22:39 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-30 23:13 Pedro Alves
2009-05-31 20:46 ` Tom Tromey
2009-05-31 22:07 ` Pedro Alves
2009-05-31 22:23 ` Doug Evans
2009-06-01 15:58 ` Tom Tromey
2009-06-06 0:09 ` Tom Tromey
2009-06-06 16:06 ` Pedro Alves
2009-06-08 1:34 ` Marc Khouzam
2009-06-08 22:43 ` Tom Tromey
2009-06-08 23:22 ` Pedro Alves
2009-06-08 22:39 ` Tom Tromey [this message]
2009-06-08 23:16 ` Pedro Alves
2009-06-10 22:09 ` Tom Tromey
2009-06-10 22:13 ` Pedro Alves
2009-06-08 12:58 ` Pedro Alves
2009-06-11 19:32 ` Michael Snyder
2009-07-01 18:27 ` Pedro Alves
2009-07-01 19:16 ` Eli Zaretskii
2009-07-02 14:32 ` Pedro Alves
2009-07-02 19:00 ` Eli Zaretskii
2009-07-02 21:59 ` 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=m3skiamjxj.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=pedro@codesourcery.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