1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)

* gdb.base/smoke.exp: Disambiguate two test case names (both
        called ``print'').
This commit is contained in:
Jason Molenda 1999-02-11 00:57:35 +00:00
parent e3fb245ba0
commit a502297e81
2 changed files with 26 additions and 5 deletions

View File

@ -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 <shebs@andros.cygnus.com>
* 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 <ezannoni@kwikemart.cygnus.com>

View File

@ -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"