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 v2 08/10] test: evaluate pointers to C99 vla correctly.


>>>>> "Sanimir" == Sanimir Agovic <sanimir.agovic@intel.com> writes:

Sanimir> 2013-10-18  Keven Boell  <keven.boell@intel.com>
Sanimir> gdb/testsuite:
Sanimir> 	* gdb.base/vla-ptr.c: New. Test source file
Sanimir> 	for testing pointers to VLA's in C.
Sanimir> 	* gdb.base/vla-ptr.exp: New. Tests ensure that
Sanimir> 	the evaluation of pointers to VLA's work
Sanimir> 	correctly in C.

Sanimir> +# check that VLA passed to function (pointer) points to the first element

Normally comments should start with a capital letter and end with a
period.

Sanimir> +gdb_test "print *vla_ptr" "\\$\\d+ = \\\{2, 3, 4, 5, 6\\\}" "print *vla_ptr (vla_func)"

Some too-long lines in this file.

Everything important is ok though.

Tom


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