Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Joel Brobecker <brobecker@adacore.com>
Cc: Hui Zhu <teawater@gmail.com>, Michael Snyder <msnyder@vmware.com>,
	        gdb@sourceware.org
Subject: Re: [RFC] Let "gcore" command accept a suffix argument
Date: Mon, 30 Nov 2009 18:53:00 -0000	[thread overview]
Message-ID: <m3638st04x.fsf@fleche.redhat.com> (raw)
In-Reply-To: <20091130162246.GE4034@adacore.com> (Joel Brobecker's message of 	"Mon, 30 Nov 2009 08:22:46 -0800")

>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:

>> For example:
>> set $a=0
>> gcore $a
>> Saved corefile 0

Joel> Am I the only one who really doesn't like this idea?

Nope.

Joel> I'm surprised at my own reaction, since
Joel> it is not going to affect me all that much, and so I will let it go
Joel> if others like it (but it feels like a bandaid to me, and once it's in,
Joel> we won't be able to remove it).

GDB's command language is already weird and inconsistent.  And it does
affect you -- it affects all maintainers, because it is hard to justify
incompatible changes.  So, I think it is better for both maintainers and
users if we come up with generic facilities rather than ad hoc ones like
this.

Tom


  reply	other threads:[~2009-11-30 17:04 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-30 13:39 Michael Snyder
2009-11-30 16:22 ` Hui Zhu
2009-11-30 17:04   ` Joel Brobecker
2009-11-30 18:53     ` Tom Tromey [this message]
2009-11-30 19:06     ` Michael Snyder
2009-11-30 20:16       ` Joel Brobecker
2009-11-30 20:25         ` Michael Snyder
2009-11-30 20:31           ` Joel Brobecker
2009-11-30 20:46             ` Michael Snyder
2009-12-10  2:28               ` Hui Zhu
2009-11-30 18:44 ` Tom Tromey

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=m3638st04x.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=brobecker@adacore.com \
    --cc=gdb@sourceware.org \
    --cc=msnyder@vmware.com \
    --cc=teawater@gmail.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