aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/auxv.exp3
2 files changed, 8 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index fb960b3..2de9227 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,10 @@
2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
+ * auxv.exp: Intercept undefined command messages before
+ gdb_test_multiple does.
+
+2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
+
* Makefile.in (host_alias): Remove.
(target_alias): Use @target_noncanonical@.
(site.exp): Don't set host_alias.
diff --git a/gdb/testsuite/gdb.base/auxv.exp b/gdb/testsuite/gdb.base/auxv.exp
index 5187dd9..dd43d85 100644
--- a/gdb/testsuite/gdb.base/auxv.exp
+++ b/gdb/testsuite/gdb.base/auxv.exp
@@ -139,6 +139,9 @@ gdb_test_multiple "gcore $gcorefile" "gcore" {
-re "Can't create a corefile\[\r\n\]+$gdb_prompt $" {
unsupported "gcore"
}
+ -re "Undefined command: .*\[\r\n\]+$gdb_prompt $" {
+ unsupported "gcore"
+ }
}
# Let the program continue and die.