of integer types as offset to restore in intarr3.srec case.
+2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
+
+ * gdb.base/dump.exp: Pass difference of pointer types instead
+ of integer types as offset to restore in intarr3.srec case.
+
2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
# restore with expressions
test_restore_saved_value \
- "intarr3.srec ${array2_start}-${array_start} &intarray\[3\] &intarray\[4\]" \
+ "intarr3.srec (char*)${array2_start}-(char*)${array_start} &intarray\[3\] &intarray\[4\]" \
"array partial with expressions" 4 "intarray2\[3\]"
gdb_test "print intarray2\[2\] == 0" " = 1" "element 2 not changed, == 4"