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

Joel Brobecker brobecker@adacore.com
Fri Dec 11 10:06:00 GMT 2009


> Or you could try to introduce syntax allowing arbitrary expressions.
> One idea that comes to mind is to reuse some code and make eval work
> like printf:
> 
>   eval "echo %s %d", $foo, $bar + 87
> 
> Now that I write it that seems weird :-)

I don't think it seems weird. I find this pretty nice, and since we
already have printf, I wonder how hard it would be to implement this?

-- 
Joel



More information about the Gdb-patches mailing list