| Index: gdb/testsuite/config/extended-gdbserver.exp
|
| diff --git a/gdb/testsuite/gdb.base/echo.exp b/gdb/testsuite/config/extended-gdbserver.exp
|
| similarity index 67%
|
| copy from gdb/testsuite/gdb.base/echo.exp
|
| copy to gdb/testsuite/config/extended-gdbserver.exp
|
| index e50ef988b16ce7e28901f2e80b3824f5826c258d..7166b666f3945fcc4c4e3c0ac4e6ec55d7a91075 100644
|
| --- a/gdb/testsuite/gdb.base/echo.exp
|
| +++ b/gdb/testsuite/config/extended-gdbserver.exp
|
| @@ -1,5 +1,5 @@
|
| -# Copyright (C) 1988, 1990-1992, 1997, 2007-2012 Free Software
|
| -# Foundation, Inc.
|
| +# Copyright 2000, 2002, 2003, 2004, 2005, 2007, 2008, 2009, 2010, 2011
|
| +# Free Software Foundation, Inc.
|
|
|
| # This program is free software; you can redistribute it and/or modify
|
| # it under the terms of the GNU General Public License as published by
|
| @@ -14,17 +14,14 @@
|
| # You should have received a copy of the GNU General Public License
|
| # along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
| -# This file was written by Rob Savoye. (rob@cygnus.com)
|
| -
|
| -# Crank up gdb.
|
| -gdb_start
|
| -
|
| -if $tracelevel then {
|
| - strace $tracelevel
|
| -}
|
| -
|
| #
|
| -# test the echo command
|
| +# This module is used for testing GDB using GDBserver in
|
| +# extended-remote mode.
|
| #
|
|
|
| -gdb_test "echo Hello world!\\n" "Hello world!" "Echo test"
|
| +# The guts live in gdbserver-support.exp.
|
| +load_lib gdbserver-support.exp
|
| +
|
| +proc gdb_reconnect { } {
|
| + return [gdbserver_reconnect]
|
| +}
|
|
|