2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>

Committed by Jim Blandy  <jimb@redhat.com>.

	* gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
This commit is contained in:
Jim Blandy 2004-02-18 04:15:46 +00:00
parent e7c9ff0185
commit 2db536a1ff
2 changed files with 4 additions and 2 deletions

View File

@ -2,6 +2,8 @@
Committed by Jim Blandy <jimb@redhat.com>.
* gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
* gdb.base/float.exp: Support s390*-*-* targets.
2004-02-17 Adam Fedor <fedor@gnu.org>

View File

@ -353,9 +353,9 @@ test_restore_saved_value "intstr2.bin binary $struct_start" \
set array2_start [capture_value "/x &intarray2\[0\]"]
set struct2_start [capture_value "/x &intstruct2"]
set array2_offset \
[capture_value "/x (char *) &intarray2 - (char *) &intarray"]
[capture_value "(char *) &intarray2 - (char *) &intarray"]
set struct2_offset \
[capture_value "/x (char *) &intstruct2 - (char *) &intstruct"]
[capture_value "(char *) &intstruct2 - (char *) &intstruct"]
gdb_test "print zero_all ()" ""