summaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2004-02-18 04:15:46 +0000
committerJim Blandy <jimb@codesourcery.com>2004-02-18 04:15:46 +0000
commit489c8421165d6d442cffdfe01dacfd30163f3794 (patch)
tree9415ccda8736e6f0c8b406dd9aaad50eaf75e022 /gdb
parent3be56ca613c89dd5592d8c8882bbb29e033044c2 (diff)
downloadgdb-489c8421165d6d442cffdfe01dacfd30163f3794.tar.gz
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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog2
-rw-r--r--gdb/testsuite/gdb.base/dump.exp4
2 files changed, 4 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 139ec495ad0..249ba3babc4 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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>
diff --git a/gdb/testsuite/gdb.base/dump.exp b/gdb/testsuite/gdb.base/dump.exp
index e09a60c8151..5e88693889b 100644
--- a/gdb/testsuite/gdb.base/dump.exp
+++ b/gdb/testsuite/gdb.base/dump.exp
@@ -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 ()" ""