This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]