diff options
author | Jim Blandy <jimb@codesourcery.com> | 2004-02-18 04:15:46 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2004-02-18 04:15:46 +0000 |
commit | 2db536a1ff952dcffc87b777ed57bfc6f2cb9114 (patch) | |
tree | eb693c98e3f8d32dcd7b2cf38588a45f75d87056 /gdb/testsuite/gdb.base/dump.exp | |
parent | e7c9ff0185479200a37b2fe687604e7e094c562d (diff) | |
download | gdb-2db536a1ff952dcffc87b777ed57bfc6f2cb9114.zip gdb-2db536a1ff952dcffc87b777ed57bfc6f2cb9114.tar.gz gdb-2db536a1ff952dcffc87b777ed57bfc6f2cb9114.tar.bz2 |
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/testsuite/gdb.base/dump.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/dump.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/dump.exp b/gdb/testsuite/gdb.base/dump.exp index e09a60c..5e88693 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 ()" "" |