diff options
author | Yao Qi <yao@codesourcery.com> | 2014-06-03 13:17:42 +0800 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2014-06-04 13:30:39 +0800 |
commit | 70017e417c365ee1a27f2894678b06731ebb4d15 (patch) | |
tree | 3dfda5167924fa6b6bcd89befccf04cd34febd90 /gdb | |
parent | b6210538cfa62f8dd5793916f26eefa83e00a13e (diff) | |
download | gdb-70017e417c365ee1a27f2894678b06731ebb4d15.zip gdb-70017e417c365ee1a27f2894678b06731ebb4d15.tar.gz gdb-70017e417c365ee1a27f2894678b06731ebb4d15.tar.bz2 |
Fix regexp pattern in gdb.base/default.exp
I see this failure on arm-none-eabi gdb testing.
target native^M
Undefined target command: "native". Try "help target".^M
(gdb) FAIL: gdb.base/default.exp: target native
This patch is to update the regexp pattern to match "native" instead of
"child".
gdb/testsuite:
2014-06-04 Yao Qi <yao@codesourcery.com>
* gdb.base/default.exp: Replace "child" with "native" in
regexp pattern.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/default.exp | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index a772f26..d8b9737 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2014-06-04 Yao Qi <yao@codesourcery.com> + + * gdb.base/default.exp: Replace "child" with "native" in + regexp pattern. + 2014-06-03 Siva Chandra Reddy <sivachandra@google.com> * gdb.python/py-xmethods.cc: New testcase to test xmethods. diff --git a/gdb/testsuite/gdb.base/default.exp b/gdb/testsuite/gdb.base/default.exp index 3636fa3..6674df3 100644 --- a/gdb/testsuite/gdb.base/default.exp +++ b/gdb/testsuite/gdb.base/default.exp @@ -747,7 +747,7 @@ gdb_test "step" "The program is not being run." "step #2" gdb_test "symbol-file" ".*" "symbol-file" #test target native -gdb_test "target native" "Use the \"run\" command to start a process.*|Undefined target command: \"child\". *Try \"help target\".*" "target native" +gdb_test "target native" "Use the \"run\" command to start a process.*|Undefined target command: \"native\". *Try \"help target\".*" "target native" #test target core send_gdb "target core\n" |