aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base
diff options
context:
space:
mode:
authorJ.T. Conklin <jtc@acorntoolworks.com>2000-04-07 22:26:35 +0000
committerJ.T. Conklin <jtc@acorntoolworks.com>2000-04-07 22:26:35 +0000
commit23e37ab112e96e05c45e74c2143ec1cbdc70cffc (patch)
tree8cd47ccc5a38f369cd2689095d560c504c055f09 /gdb/testsuite/gdb.base
parent134e61c4a77c65329c049cb790166a400f7b9fda (diff)
downloadgdb-23e37ab112e96e05c45e74c2143ec1cbdc70cffc.zip
gdb-23e37ab112e96e05c45e74c2143ec1cbdc70cffc.tar.gz
gdb-23e37ab112e96e05c45e74c2143ec1cbdc70cffc.tar.bz2
2000-04-07 J.T. Conklin <jtc@redback.com>
* gdb.base/funcargs.exp: Relax patterns matching pointers to char.
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r--gdb/testsuite/gdb.base/funcargs.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/funcargs.exp b/gdb/testsuite/gdb.base/funcargs.exp
index d8f58c4..4806ab1 100644
--- a/gdb/testsuite/gdb.base/funcargs.exp
+++ b/gdb/testsuite/gdb.base/funcargs.exp
@@ -289,7 +289,7 @@ proc pointer_args {} {
setup_xfail "a29k-*-udi"
gdb_run_cmd
gdb_expect {
- -re ".* call3a \\(cp=$hex \"a\", sp=$hex, ip=$hex, lp=$hex\\) .*$gdb_prompt $" { pass "run to call3a" }
+ -re ".* call3a \\(cp=$hex \"a.*\", sp=$hex, ip=$hex, lp=$hex\\) .*$gdb_prompt $" { pass "run to call3a" }
-re "$gdb_prompt $" { fail "run to call3a" ; gdb_suppress_tests; }
timeout { fail "(timeout) run to call3a" ; gdb_suppress_tests; }
}
@@ -301,7 +301,7 @@ proc pointer_args {} {
# Continue; should stop at call3b and print actual arguments.
# Try dereferencing the arguments.
- if [gdb_test "cont" ".* call3b \\(ucp=$hex \"b\", usp=$hex, uip=$hex, ulp=$hex\\) .*" "continue to call3b"] {
+ if [gdb_test "cont" ".* call3b \\(ucp=$hex \"b.*\", usp=$hex, uip=$hex, ulp=$hex\\) .*" "continue to call3b"] {
gdb_suppress_tests;
}