[RFC] Let "gcore" command accept a suffix argument

Hui Zhu teawater@gmail.com
Tue Dec 15 01:57:00 GMT 2009

Agree with you.  Add " with variable make it oddness.

What about change it to others, like:
eval echo {++$a}

Or add " to simple string, like:
eval echo ++$a".core"
eval echo ++$a'.core'


On Tue, Dec 15, 2009 at 01:09, Tom Tromey <tromey@redhat.com> wrote:
>>>>>> ">" == Hui Zhu <teawater@gmail.com> writes:
>>> I change it to:
>>> eval echo "++$a"
> I'm afraid I don't like this approach either.
> I think quoting expressions is very ugly.  Nothing else in gdb does
> this.  Also, AFAIK it breaks completion.  Furthermore, this
> implementation ignores the possibility of quotes embedded in an
> expression.
> Please choose some other approach.
> thanks,
> Tom

More information about the Gdb-patches mailing list