gdb/ChangeLog:* gdb/valarith.c (vector_binop): New function.(scalar_binop): Likewise...
authorKen Werner <ken.werner@de.ibm.com>
Wed, 11 Aug 2010 16:48:26 +0000 (16:48 +0000)
committerKen Werner <ken.werner@de.ibm.com>
Wed, 11 Aug 2010 16:48:26 +0000 (16:48 +0000)
commit7346b668d73fe13b9b07b805379ff0e03d3aef5e
treeeb5fbe1c80b3888b5cff8410b6a7de90699b36f7
parent3e4c12352587411b09071bd92002d481cebb8f1d
gdb/ChangeLog:* gdb/valarith.c (vector_binop): New function.(scalar_binop): Likewise.(value_binop): Call scalar_binop or vector_binop depending on the types.* gdb/eval.c (ptrmath_type_p): Return 0 in case of TYPE_VECTOR.(evaluate_subexp_with_coercion): Add vector check to not convert vectorsto pointers.* gdb/value.c (coerce_array): Add vector check to not coerce vectors.testsuite/ChangeLog:* gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.* gdb.base/gnu_vector.c: New File.* gdb.base/gnu_vector.exp: Likewise.
gdb/ChangeLog
gdb/eval.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/Makefile.in
gdb/testsuite/gdb.base/gnu_vector.c [new file with mode: 0644]
gdb/testsuite/gdb.base/gnu_vector.exp [new file with mode: 0644]
gdb/valarith.c
gdb/value.c