aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/boards
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2013-05-24 01:33:50 +0000
committerDoug Evans <dje@google.com>2013-05-24 01:33:50 +0000
commitc0803dc23a843183a1caad3121e421ebcd582202 (patch)
tree43d8c365ce6f764634d02c836a2358de2ad6980d /gdb/testsuite/boards
parentb6abb10ccc410a9a9657a03473979aac2590ff9e (diff)
downloadgdb-c0803dc23a843183a1caad3121e421ebcd582202.zip
gdb-c0803dc23a843183a1caad3121e421ebcd582202.tar.gz
gdb-c0803dc23a843183a1caad3121e421ebcd582202.tar.bz2
Update to load fission.exp.
Diffstat (limited to 'gdb/testsuite/boards')
-rw-r--r--gdb/testsuite/boards/fission-dwp.exp18
1 files changed, 3 insertions, 15 deletions
diff --git a/gdb/testsuite/boards/fission-dwp.exp b/gdb/testsuite/boards/fission-dwp.exp
index 7ab03d0..20f0364 100644
--- a/gdb/testsuite/boards/fission-dwp.exp
+++ b/gdb/testsuite/boards/fission-dwp.exp
@@ -1,4 +1,4 @@
-# Copyright 2012-2013 Free Software Foundation, Inc.
+# Copyright 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
@@ -21,17 +21,10 @@
# Example usage:
# bash$ make check RUNTESTFLAGS='--target_board=fission-dwp'
-# This is copied from baseboards/unix.exp.
-# At the moment this only supports things that unix.exp supports.
-load_generic_config "unix"
-process_multilib_options ""
+load_board_description "fission"
+
set found_gcc [find_gcc]
set found_gxx [find_g++]
-set_board_info compiler "$found_gcc"
-
-# This requires a relatively recent version of gcc (>4.7) and gold
-# for the linker.
-set_board_info debug_flags "-gdwarf-4 -gsplit-dwarf -Wl,--gdb-index"
set contrib_dir [file normalize $srcdir/../contrib]
if ![info exists CC_FOR_TARGET] {
@@ -54,8 +47,3 @@ if ![info exists DWP_FOR_TARGET] {
}
# cc-with-tweaks.sh uses DWP, not DWP_FOR_TARGET. Blech.
set env(DWP) "$DWP_FOR_TARGET"
-
-# This is needed otherwise dejagnu tries to rsh to host "fission". Blech.
-# Double blech: set_board_info only sets the value if not already set.
-unset_board_info isremote
-set_board_info isremote 0