Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(248)

Unified Diff: gdb/testsuite/config/extended-gdbserver.exp

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gdb/testsuite/boards/native-stdio-gdbserver.exp ('k') | gdb/testsuite/configure » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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]
+}
« no previous file with comments | « gdb/testsuite/boards/native-stdio-gdbserver.exp ('k') | gdb/testsuite/configure » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698