test: test eval routines with EVAL_AVOID_SIDE_EFFECTS flag set
authorSanimir Agovic <sanimir.agovic@intel.com>
Wed, 20 Nov 2013 13:45:36 +0000 (13:45 +0000)
committerSanimir Agovic <sanimir.agovic@intel.com>
Wed, 20 Nov 2013 13:50:14 +0000 (13:50 +0000)
commit10d8cbd222af0f56ca41e17a29fbdea46c5dc288
treea2c21c8b652e00644e5c814b40ddff08f1391680
parent6b1141e3f3a7d8303f575caf66347f902f6b07ea
test: test eval routines with EVAL_AVOID_SIDE_EFFECTS flag set

Ensure that certain commands (e.g. whatis/ptype) and sizeof intrinsic
have no side effects (variables cannot be altered).

2013-11-20  Sanimir Agovic  <sanimir.agovic@intel.com>

testsuite/
* gdb.base/eval-avoid-side-effects.exp: New test.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/eval-avoid-side-effects.exp [new file with mode: 0644]