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

Tom Tromey tromey@redhat.com
Mon Dec 14 17:09:00 GMT 2009


>>>>> ">" == 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