[OBV] Fix a regexp pattern in gdb.base/auto-connect-native-target.exp (Re: [PATCH 8/8] Allow making GDB not automatically connect to the native target.)
Commit Message
On 03/17/2014 11:23 PM, Pedro Alves wrote:
> +set test "help target native"
> +gdb_test_multiple $test $test {
> + -re "Undefined target command.* $gdb_prompt $" {
The space before "$gdb_prompt $" looks redundant and this patch
is to remove it from the regexp pattern.
> + set have_native 0
> + }
> + -re "Native process.*$gdb_prompt $" {
> + set have_native 1
> + }
> +}
@@ -27,7 +27,7 @@ set have_native 0
set test "help target native"
gdb_test_multiple $test $test {
- -re "Undefined target command.* $gdb_prompt $" {
+ -re "Undefined target command.*$gdb_prompt $" {
set have_native 0
}
-re "Native process.*$gdb_prompt $" {