OSDN Git Service

Re-sync to pf3gnuchains3x.
[pf3gnuchains/pf3gnuchains4x.git] / gdb / testsuite / gdb.trace / actions.exp
index b22b210..0cfeb0d 100644 (file)
@@ -27,13 +27,18 @@ set bug_id 0
 gdb_exit
 gdb_start
 
-set testfile "actions"
-set srcfile ${testfile}.c
-set binfile $objdir/$subdir/actions
-if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \
-         executable {debug nowarnings}] != "" } {
-    untested actions.exp
-    return -1
+if [istarget "m68k-*-elf"] then {
+    set binfile [board_info target d490_binfile];
+    set srcfile gdb_c_test.c
+} else {
+    set testfile "actions"
+    set srcfile ${testfile}.c
+    set binfile $objdir/$subdir/actions
+    if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \
+           executable {debug nowarnings}] != "" } {
+       untested actions.exp
+       return -1
+    }
 }
 gdb_reinitialize_dir $srcdir/$subdir