Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: tromey@redhat.com, gdb-patches@sourceware.org
Subject: Re: [patch] Implement $_version; for auto-load commands in ~/.gdbinit
Date: Fri, 24 Aug 2012 19:00:00 -0000	[thread overview]
Message-ID: <20120824185924.GA15802@host2.jankratochvil.net> (raw)
In-Reply-To: <83393cgm5w.fsf@gnu.org>

On Fri, 24 Aug 2012 20:49:47 +0200, Eli Zaretskii wrote:
> But all this stuff we are discussing is for the user, not for the
> distributor.  A user always knows which version(s) she uses, so she
> can set the minimum versions accordingly.

Users AFAIK use distro GDB, but they use also FSF GDB HEAD.  So your request
for compatible ~/.gdbinit should apply for both FSF and distro GDBs.


> And if worse comes to worst, one can always be conservative.  It's not
> a disaster not to invoke a command that was back-ported.
> 
> I find the alternatives more complex and not much more useful.

TBH I do not find this whole request too useful and I may be one of the people
using various GDB variants most interchange-ably.

I am also fine with dropping this feature completely.

Both the "ignore-errors" or the "version" path have various difficulties where
one may find easier to deal with the problem by hand, at least I do.


Jan


  reply	other threads:[~2012-08-24 19:00 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-21 14:49 Jan Kratochvil
2012-08-21 17:59 ` Eli Zaretskii
2012-08-21 21:32 ` Doug Evans
2012-08-22 20:06 ` Tom Tromey
2012-08-23 18:05   ` Pedro Alves
2012-08-24 16:32   ` Jan Kratochvil
2012-08-24 16:39     ` Jan Kratochvil
2012-08-24 16:54       ` dje
2012-08-24 16:57         ` Jan Kratochvil
2012-08-24 18:12           ` Doug Evans
2012-08-24 17:41       ` Tom Tromey
2012-08-24 17:50         ` Jan Kratochvil
2012-08-24 18:00           ` Tom Tromey
2012-08-24 18:20       ` Eli Zaretskii
2012-08-24 18:26         ` Jan Kratochvil
2012-08-24 18:50           ` Eli Zaretskii
2012-08-24 19:00             ` Jan Kratochvil [this message]
2012-08-24 19:03               ` Eli Zaretskii
2012-09-02 15:12               ` Joel Brobecker

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=20120824185924.GA15802@host2.jankratochvil.net \
    --to=jan.kratochvil@redhat.com \
    --cc=eliz@gnu.org \
    --cc=gdb-patches@sourceware.org \
    --cc=tromey@redhat.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