gdb:
authorKen Werner <ken.werner@de.ibm.com>
Fri, 8 Oct 2010 16:50:55 +0000 (16:50 +0000)
committerKen Werner <ken.werner@de.ibm.com>
Fri, 8 Oct 2010 16:50:55 +0000 (16:50 +0000)
commit3bdf2bbd3e87625fb26815d48e36fc7fb3656aca
tree8cdedd474e475a8c3e7400499b1bd70129574fd1
parent1360ae660fd58c21cb036ed99a76686bd675eecb
gdb:
* valops.c (value_cast): Handle vector types.
* valarith.c (value_binop): Widen scalar to vector if appropriate.
gdb/testsuite:
* gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
* gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
gdb/ChangeLog
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/gnu_vector.c
gdb/testsuite/gdb.base/gnu_vector.exp
gdb/valarith.c
gdb/valops.c