aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base
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 /gdb/testsuite/gdb.base
parent321fef153fab7ee5b295e4fc17c75bccfa5513e9 (diff)
downloadgdb-aa32fa1d64b034bc97ec3e144a5d3c171569aa5c.zip
gdb-aa32fa1d64b034bc97ec3e144a5d3c171569aa5c.tar.gz
gdb-aa32fa1d64b034bc97ec3e144a5d3c171569aa5c.tar.bz2
* auxv.exp: Intercept undefined command messages before
gdb_test_multiple does.
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r--gdb/testsuite/gdb.base/auxv.exp3
1 files changed, 3 insertions, 0 deletions
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.