aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/smoke.exp
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>1999-02-05 02:56:20 +0000
committerJason Molenda <jmolenda@apple.com>1999-02-05 02:56:20 +0000
commitbdb7b08518d8e6a81662adf353b56f41d5d9b3f0 (patch)
treef6558aa8b02f036f5c2cb27a613e1b2e6495473d /gdb/testsuite/gdb.base/smoke.exp
parente854542252785cfe73f8a5635b80ca86466ed317 (diff)
downloadgdb-bdb7b08518d8e6a81662adf353b56f41d5d9b3f0.zip
gdb-bdb7b08518d8e6a81662adf353b56f41d5d9b3f0.tar.gz
gdb-bdb7b08518d8e6a81662adf353b56f41d5d9b3f0.tar.bz2
1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
* gdb.base/miscexprs.exp: Change patterns to match GDB's actual output formatting. * gdb.base/smoke.exp: GDB removes leading 0's. * gdb.base/volatile.exp: Don't check type of remuneration; that variable is no longer defined in constvars.c. * gdb.base/step-test.c (main): Exit with explicit exit code. * gdb.base/step-test.exp: Remove two nexti checks--they are not portable.
Diffstat (limited to 'gdb/testsuite/gdb.base/smoke.exp')
-rw-r--r--gdb/testsuite/gdb.base/smoke.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/smoke.exp b/gdb/testsuite/gdb.base/smoke.exp
index 095e373..6415652 100644
--- a/gdb/testsuite/gdb.base/smoke.exp
+++ b/gdb/testsuite/gdb.base/smoke.exp
@@ -58,7 +58,7 @@ gdb_test "r" ".*Starting program.*main.*15.*" "hit bp"
gdb_test "hel r" ".*Start debugged program.*without arguments.*" "help"
gdb_test "n" ".*x = 1;.*" "next"
gdb_test "s" ".*y = 2;.*" "step"
-gdb_test "p/t y" ".* = 0.*" "p"
+gdb_test "p/t y" ".* = 1.*" "print y in binary"
gdb_test "p 1+2*3+4" ".* = 11.*" "calculate"
gdb_test "p/t 1+2*3+4" ".* = 1011.*" "binary"