From a502297e8182897611fcdcca15a4d7b7585d34ea Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Thu, 11 Feb 1999 00:57:35 +0000 Subject: 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com) * gdb.base/smoke.exp: Disambiguate two test case names (both called ``print''). --- gdb/testsuite/ChangeLog | 27 ++++++++++++++++++++++++--- gdb/testsuite/gdb.base/smoke.exp | 4 ++-- 2 files changed, 26 insertions(+), 5 deletions(-) (limited to 'gdb') diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 8766e70..6d842c6 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,24 @@ +1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com) + + * gdb.base/smoke.exp: Disambiguate two test case names (both + called ``print''). + +Fri Feb 5 12:42:56 1999 Stan Shebs + + * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC + compilation. + +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. + 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com) * gdb.base/help.exp ("help delete display"): Fix test to match @@ -5,9 +26,9 @@ * gdb.base/long_long.c (known_types): Initialize values to zero. * gdb.base/long_long.exp: Step one more line - so 'dec' is initialized in "get to known place". GDB doesn't - prepend unnecessary zeros to the front of numbers. Explicitly - ask for hex formatting. Use unique test case names. + so 'dec' is initialized in "get to known place". GDB removes + leading zeros. Explicitly ask for hex formatting. Use + unique test case names. Tue Feb 2 10:16:08 1999 Elena Zannoni diff --git a/gdb/testsuite/gdb.base/smoke.exp b/gdb/testsuite/gdb.base/smoke.exp index 6415652..42de7c8 100644 --- a/gdb/testsuite/gdb.base/smoke.exp +++ b/gdb/testsuite/gdb.base/smoke.exp @@ -70,7 +70,7 @@ gdb_test "wat y" ".*atchpoint.*y.*" "set watch" gdb_test "c" ".*atchpoint.*Old.*= .*New.*= 2.*1\[78\].*" "continue, hit watch" gdb_test "set glob=999" ".*.*" "set" -gdb_test "p glob" ".*= 999.*.*" "print" +gdb_test "p glob" ".*= 999.*.*" "print glob" gdb_test "p/x glob" ".*= 0x3e7.*" "hex" gdb_test "c" ".*atchpoint.*Old.*= 2.*New.*= 6.*2\[12\].*" "continue, 2nd hit watch" gdb_test "d 5" "No breakpoint number 5." "del non existing watch" @@ -155,7 +155,7 @@ gdb_test "r" ".*Starting program.*Breakpoint 1.*" "run to main" gdb_test "ptype Foo" ".*type = class Foo.*static int st;.*int operator.*" "ptype" gdb_test "step" ".*inheritance1.*" "step" gdb_test "ptype g_anon_union" ".*anon_union.*union.*int a;.*" "anon" -gdb_test "p g_E" ".*class D.*class B.*class A.*class C.*class A.*x = 0.*" "print" +gdb_test "p g_E" ".*class D.*class B.*class A.*class C.*class A.*x = 0.*" "print inherited class " gdb_test "p g_E.x = 99" ".*warn.*x ambiguous; using E::x. Use a cast to disambig.*99.*" "set via print" gdb_test "c" ".*Program exited.*" "run to end" -- cgit v1.1