Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Matt Rice <ratmice@gmail.com>
To: Pedro Alves <palves@redhat.com>
Cc: Stan Shebs <stanshebs@earthlink.net>, gdb-patches@sourceware.org
Subject: Re: 'info os' additions again
Date: Sat, 12 May 2012 01:33:00 -0000	[thread overview]
Message-ID: <CACTLOFraqF8SCKLh77V6AomtzZLej7cfX=qpLdsfXsKwrY9CiA@mail.gmail.com> (raw)
In-Reply-To: <4FAD551F.4020506@redhat.com>

On Fri, May 11, 2012 at 11:06 AM, Pedro Alves <palves@redhat.com> wrote:
> On 05/10/2012 10:07 PM, Stan Shebs wrote:

>> In practice, an "info linux" would be installed as a target-specific command a la "info spu"
>
>> and the like, and may or may not pass through generic table machinery before getting
>> down to the linux-specific types.  It would probably be messier than the
>> current design I think, but not excessively so.
>
> As I said, we should not assume anything about the tables "info os" returns.
> If not using "info os" then it's best to either use a completely
> different mechanism, or we need to define standard tables, and put them
> in a namespace, like we do with xml target features.
>
> But then again, if not going the "info os" style, we could also
> consider making "info proc" list the info, or even consider each
> table/object individually -- it might make sense to put different objects
> at different FOOs in "info FOO OBJECT", or even in the top level,
> like "info WHATEVEROBJECT".

FWIW i'm entirely swayed by Pedro's argument for 'info os',
I'd been considering porting to one of the eros/capros/coyotos family
of OS's at some point
the existing (kernel) debugger has a lot of this style of tabular data:
http://www.capros.org/devel/CrossGuide/kdb-ref.html

between refining terms, and replacing ideas the word used to identify
the things of a given purpose
has been known to change between the OS's though much has stayed the same,
while this is a non-existent port and should be weighed as such, info
os seems to me the best fit proposed,

I'd hate to have a heirarchy for each with much in common under
different 'info FOOs', or inversely try to make do with a single
heirarchy for the entire family under a more specific name with
changing contents, thus at least in this specific sub case the
genericness of the 'info os' name, makes the varying of its contents
somewhat tolerable.


  reply	other threads:[~2012-05-12  1:33 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-08 22:49 Stan Shebs
2012-05-08 23:55 ` Joel Brobecker
2012-05-09  4:46 ` Eli Zaretskii
2012-05-09 21:17   ` Stan Shebs
2012-05-10  5:21     ` Eli Zaretskii
2012-05-10 12:22       ` Pedro Alves
2012-05-10 18:13         ` Stan Shebs
2012-05-10 18:18           ` Pedro Alves
2012-05-10 18:42             ` Stan Shebs
2012-05-10 18:59               ` Pedro Alves
2012-05-10 21:07                 ` Stan Shebs
2012-05-11 18:30                   ` Pedro Alves
2012-05-12  1:33                     ` Matt Rice [this message]
2012-05-14 14:52                       ` Joel Brobecker
2012-05-11 20:25           ` Marc Khouzam

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='CACTLOFraqF8SCKLh77V6AomtzZLej7cfX=qpLdsfXsKwrY9CiA@mail.gmail.com' \
    --to=ratmice@gmail.com \
    --cc=gdb-patches@sourceware.org \
    --cc=palves@redhat.com \
    --cc=stanshebs@earthlink.net \
    /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