[PATCH 07/10] test: evaluate pointers to C99 vla correctly.

Tom Tromey tromey@redhat.com
Thu Nov 7 21:14:00 GMT 2013


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

Sanimir> +gdb_test "print sizeof(*vla_ptr)" "\\$\\d+ = 20" "print sizeof(*vla_ptr) (vla_func)"
Sanimir> +

Also, this depends on sizeof(int).

Tom



More information about the Gdb-patches mailing list