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: [PATCH 05/10] vla: allow side effects for sizeof argument


On 11/20/2013 12:17 PM, Agovic, Sanimir wrote:

>> Sounds like something that the testsuite should have caught.
>> I guess we don't have such a test?
>>
> No yet, see below.
> 
> 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.

Excellent!  Thanks, this is OK.

-- 
Pedro Alves


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