aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2006-06-22 19:32:41 +0000
committerDaniel Jacobowitz <drow@false.org>2006-06-22 19:32:41 +0000
commitaa32fa1d64b034bc97ec3e144a5d3c171569aa5c (patch)
treeca15148bd4ae3bf94a8ef58705c89e3bd342ac02
parent321fef153fab7ee5b295e4fc17c75bccfa5513e9 (diff)
downloadgdb-aa32fa1d64b034bc97ec3e144a5d3c171569aa5c.zip
gdb-aa32fa1d64b034bc97ec3e144a5d3c171569aa5c.tar.gz
gdb-aa32fa1d64b034bc97ec3e144a5d3c171569aa5c.tar.bz2
* auxv.exp: Intercept undefined command messages before
gdb_test_multiple does.
-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.