Index: gdb/testsuite/boards/native-extended-gdbserver.exp |
diff --git a/gdb/testsuite/boards/native-extended-gdbserver.exp b/gdb/testsuite/boards/native-extended-gdbserver.exp |
index e7d38389a609ddf986384eef3f2c8fef49d02210..6a0e35fa14110d637373b5f9a363e6c6a4036611 100644 |
--- a/gdb/testsuite/boards/native-extended-gdbserver.exp |
+++ b/gdb/testsuite/boards/native-extended-gdbserver.exp |
@@ -1,4 +1,4 @@ |
-# Copyright 2011-2012 Free Software Foundation, Inc. |
+# Copyright 2011-2013 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 |
@@ -17,15 +17,11 @@ |
# natively with gdbserver, in extended-remote mode. |
# |
# To use this file: |
-# bash$ touch ${my_dejagnu_dir}/my-dejagnu.exp |
-# bash$ export DEJAGNU=${my_dejagnu_dir}/my-dejagnu.exp |
-# bash$ mkdir ${my_dejagnu_dir}/boards |
-# bash$ cp ${src_dir}/gdb/testsuite/boards/native-extended-gdbserver.exp \ |
-# ${my_dejagnu_dir}/boards |
# bash$ cd ${build_dir}/gdb |
# bash$ make check RUNTESTFLAGS="--target_board=native-extended-gdbserver" |
load_generic_config "extended-gdbserver" |
+load_board_description "gdbserver-base" |
# By default, dejagnu makes the board remote unless the board name |
# matches localhost. Force it to be NOT remote. |
@@ -33,27 +29,12 @@ global board |
global board_info |
set board_info($board,isremote) 0 |
-process_multilib_options "" |
- |
-# The default compiler for this target. |
-set_board_info compiler "[find_gcc]" |
- |
-# Can't do input (or output) in the current gdbserver. |
-set_board_info gdb,noinferiorio 1 |
- |
-# gdbserver does not intercept target file operations and perform them |
-# on the host. |
-set_board_info gdb,nofileio 1 |
- |
set_board_info sockethost "localhost:" |
# We will be using the extended GDB remote protocol. |
set_board_info gdb_protocol "extended-remote" |
-# Test the copy of gdbserver in the build directory. |
-set_board_info gdb_server_prog "../gdbserver/gdbserver" |
- |
-send_user "configuring for gdbserver local testing (extended-remote)\n"; |
+send_user "configuring for gdbserver local testing (extended-remote)\n" |
# We must load this explicitly here, and rename the procedures we want |
# to override. If we didn't do this, given that mi-support.exp is |
@@ -137,14 +118,3 @@ proc mi_gdb_load { arg } { |
return 0 |
} |
- |
-proc ${board}_download { board host dest } { |
- return $host |
-} |
- |
-proc ${board}_file { dest op args } { |
- if { $op == "delete" } { |
- return 0 |
- } |
- return [eval [list standard_file $dest $op] $args] |
-} |