Fix a regexp pattern in gdb.base/auto-connect-native-target.exp
authorYao Qi <yao@codesourcery.com>
Tue, 3 Jun 2014 05:20:56 +0000 (13:20 +0800)
committerYao Qi <yao@codesourcery.com>
Wed, 4 Jun 2014 05:30:44 +0000 (13:30 +0800)
commit90a45c4d5f59bf512cc101802fbfb430f7e9248f
treea5003a4c12c51d4e908dfb65a0913b0cda52d184
parent70017e417c365ee1a27f2894678b06731ebb4d15
Fix a regexp pattern in gdb.base/auto-connect-native-target.exp

When I test gdb head (for 7.8 release) on arm-none-eabi, I find the
following this failure, which are caused by the improper regexp
pattern in the test.

(gdb) help target native^M
Undefined target command: "native".  Try "help target".^M
(gdb) FAIL: gdb.base/auto-connect-native-target.exp: help target native

The space in front of "$gdb_prompt $" looks redundant, and this patch
is to remove it from the regexp pattern.

gdb/testsuite:

2014-06-04  Yao Qi  <yao@codesourcery.com>

* gdb.base/auto-connect-native-target.exp: Remove redundant
space from the regexp pattern.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/auto-connect-native-target.exp