Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Michael Snyder <msnyder@vmware.com>
To: Joel Brobecker <brobecker@adacore.com>
Cc: Hui Zhu <teawater@gmail.com>,
	  "gdb@sourceware.org" <gdb@sourceware.org>
Subject: Re: [RFC] Let "gcore" command accept a suffix argument
Date: Mon, 30 Nov 2009 20:46:00 -0000	[thread overview]
Message-ID: <4B1428F0.7090608@vmware.com> (raw)
In-Reply-To: <20091130190619.GJ4034@adacore.com>

Joel Brobecker wrote:
>> Would it be able to include the incr? "eval gcore foo.$a++"?
> 
> I do not think so, not as suggested by Tom, I believe.  The suggestion
> is to expand convenience variables, not evaluate full-fledged
> expressions.  The issue with full-fledged expressions is that you have
> to recognize them and find where they start and end. But I think that
> this would not be a serious limitation in practice, since the above
> can be rewritten as:
> 
>   eval gcore foo.$a
>   set $a = $a + 1

Well, that would suit me OK, so long as somebody else
implements it.



  reply	other threads:[~2009-11-30 20:25 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
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 [this message]
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=4B1428F0.7090608@vmware.com \
    --to=msnyder@vmware.com \
    --cc=brobecker@adacore.com \
    --cc=gdb@sourceware.org \
    --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