summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>1999-02-11 00:57:35 +0000
committerJason Molenda <jmolenda@apple.com>1999-02-11 00:57:35 +0000
commita502297e8182897611fcdcca15a4d7b7585d34ea (patch)
treedef57c6b11e290d3c7dcbeddcfa09c40e5b4962e
parente3fb245ba0052b6d62e9fdf0f249356fafacf620 (diff)
downloadbinutils-gdb-a502297e8182897611fcdcca15a4d7b7585d34ea.tar.gz
1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
* gdb.base/smoke.exp: Disambiguate two test case names (both called ``print'').
-rw-r--r--gdb/testsuite/ChangeLog27
-rw-r--r--gdb/testsuite/gdb.base/smoke.exp4
2 files changed, 26 insertions, 5 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 8766e700c59..6d842c634e0 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 <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>
diff --git a/gdb/testsuite/gdb.base/smoke.exp b/gdb/testsuite/gdb.base/smoke.exp
index 6415652d879..42de7c891f1 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"