* auxv.exp: Intercept undefined command messages before
authorDaniel Jacobowitz <drow@false.org>
Thu, 22 Jun 2006 19:32:41 +0000 (19:32 +0000)
committerDaniel Jacobowitz <drow@false.org>
Thu, 22 Jun 2006 19:32:41 +0000 (19:32 +0000)
gdb_test_multiple does.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/auxv.exp

index fb960b336a5991710f487db3699f7164862c6558..2de922707f82b397882315331b672e72468cffe5 100644 (file)
@@ -1,3 +1,8 @@
+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.
index 5187dd9ed3f285657af96fd8ee8f0a732df9fc76..dd43d85cf99c068665882f80a63b074d5718e814 100644 (file)
@@ -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.