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

Joel Brobecker
2010-06-23T16:59:26Z

> 2010-06-23 Hui Zhu <teawater@gmail.com>
>
> * printcmd.c (ui_printf): New function.
> (printf_command): Call ui_printf.
> (_initialize_printcmd): New command "eval".

This is OK.

> 2010-06-23 Hui Zhu <teawater@gmail.com>
>
> * gdb.base/eval.exp: New file.

This is also OK. Just for the record, I first thought that your two
tests where still the same and thus would generate the same message.
But after a closer inspection, one used $a++ and the other ++$a.
Why not use something more different like '$a * 2' maybe?

Another way to make things different is to specify distinct messages
explicitly - for instance "first eval" / "second eval"...

--
Joel