gdb/
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / catch-syscall.exp
index 2d9cad420002ab04dd028ff0721622041e69041b..d25df176a3c32f1e16648910f755e37a4e504a23 100644 (file)
@@ -1,4 +1,5 @@
-#   Copyright 1997, 1999, 2007, 2008, 2010 Free Software Foundation, Inc.
+#   Copyright 1997, 1999, 2007, 2008, 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
@@ -53,7 +54,8 @@ if {![istarget "hppa*-hp-hpux*"] && ![istarget "*-linux*"]} then {
 #if { ![istarget "i\[34567\]86-*-linux*"]
 if { ![istarget "x86_64-*-linux*"] && ![istarget "i\[34567\]86-*-linux*"]
      && ![istarget "powerpc-*-linux*"] && ![istarget "powerpc64-*-linux*"]
-     && ![istarget "sparc-*-linux*"] && ![istarget "sparc64-*-linux*"] } {
+     && ![istarget "sparc-*-linux*"] && ![istarget "sparc64-*-linux*"]
+     && ![istarget "mips*-linux*"] } {
      continue
 }
 
@@ -277,8 +279,8 @@ proc test_catch_syscall_fail_nodatadir {} {
 proc do_syscall_tests {} {
     global gdb_prompt srcdir
 
-    # First, we need to set GDB datadir.
-    gdb_test_no_output "set data-directory $srcdir/.."
+    # NOTE: We don't have to point gdb at the correct data-directory.
+    # For the build tree that is handled by INTERNAL_GDBFLAGS.
 
     # Verify that the 'catch syscall' help is available
     set thistest "help catch syscall"
This page took 0.026229 seconds and 4 git commands to generate.