This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [Patch v2 08/10] test: evaluate pointers to C99 vla correctly.
- From: Tom Tromey <tromey at redhat dot com>
- To: Sanimir Agovic <sanimir dot agovic at intel dot com>
- Cc: gdb-patches at sourceware dot org, keven dot boell at intel dot com
- Date: Fri, 22 Nov 2013 12:16:25 -0700
- Subject: Re: [Patch v2 08/10] test: evaluate pointers to C99 vla correctly.
- Authentication-results: sourceware.org; auth=none
- References: <1385044223-24650-1-git-send-email-sanimir dot agovic at intel dot com> <1385044223-24650-9-git-send-email-sanimir dot agovic at intel dot com>
>>>>> "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