From bdb7b08518d8e6a81662adf353b56f41d5d9b3f0 Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Fri, 5 Feb 1999 02:56:20 +0000 Subject: 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. --- gdb/testsuite/gdb.base/smoke.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/testsuite/gdb.base/smoke.exp') 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" -- cgit v1.1