Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@adacore.com>
To: Stan Shebs <stanshebs@earthlink.net>
Cc: gdb-patches@sourceware.org
Subject: Re: 'info os' additions again
Date: Tue, 08 May 2012 23:55:00 -0000	[thread overview]
Message-ID: <20120508235533.GE15555@adacore.com> (raw)
In-Reply-To: <4FA9A2FA.3090307@earthlink.net>

> 1. What to do with the submitted patch?  ("info os" or "info linux"
> or something else)
> 
> 2. What policy to set for the future?

It's kind of hard for me to feel confident in a general comment
without having really looked at the discussion, but generally
speaking, I tend to favor per-feature command rather than per-
platform commands. I'm sure some features are going to be very
obviously specific to some targets, and it might make sense
in those cases to use target-specific commands, but I would tend
to go with per-feature command, possibly with a way to ask the
debugger whether the feature is available or not.

> 3. Change existing info commands to conform to a policy, or allow
> inconsistencies for the sake of backward compatibility?

I think compatibility is important.  We might want to transition
the current commands in terms of the implementation, but we will
probably need to keep the old commands around for a while, possibly
as aliases. We could also consider progressive deprecation, with
a grace period during which the use of the command triggers a warning
with a note mentioning the new command that replaces the deprecated
one.

-- 
Joel


  reply	other threads:[~2012-05-08 23:55 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 [this message]
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
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=20120508235533.GE15555@adacore.com \
    --to=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    --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