From aa32fa1d64b034bc97ec3e144a5d3c171569aa5c Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Thu, 22 Jun 2006 19:32:41 +0000 Subject: [PATCH] * auxv.exp: Intercept undefined command messages before gdb_test_multiple does. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.base/auxv.exp | 3 +++ 2 files changed, 8 insertions(+) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index fb960b336a5..2de922707f8 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2006-06-22 Daniel Jacobowitz + + * auxv.exp: Intercept undefined command messages before + gdb_test_multiple does. + 2006-06-22 Daniel Jacobowitz * Makefile.in (host_alias): Remove. diff --git a/gdb/testsuite/gdb.base/auxv.exp b/gdb/testsuite/gdb.base/auxv.exp index 5187dd9ed3f..dd43d85cf99 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. -- 2.30.2