Update copyright year range in all GDB files.
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.disasm / t10_and.exp
index 23e07c3adcc628e9320b5aa536482cb095bfbf83..a0ab85d1dae05c269e6804e5ec61356b983973a1 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2003, 2007, 2008, 2009 Free Software Foundation, Inc.
+# Copyright (C) 2003-2019 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
 
 # This file was written by Michael Snyder (msnyder@redhat.com)
 
-if $tracelevel then {
-       strace $tracelevel
-}
-
 if ![istarget "h8300*-*-*"] {
     verbose "Tests ignored for all but h8300s based targets."
     return
 }
 
-set prms_id 0
-set bug_id 0
 
 set testfile "t10_and"
 set srcfile ${srcdir}/${subdir}/${testfile}.s
 set objfile ${objdir}/${subdir}/${testfile}.o
 set binfile ${objdir}/${subdir}/${testfile}.x
 
-set asm-flags "";
-set link-flags "-m h8300sxelf";
+set asm-flags ""
+set link-flags "-m h8300sxelf"
 
 
 if {[target_assemble $srcfile $objfile "${asm-flags}"] != ""} then {
-     untested t10_and.exp
+     untested "failed to assemble"
      return -1
 }
 
 if {[target_link $objfile $binfile "${link-flags}"] != ""} then {
-     untested t10_and.exp
+     untested "failed to link"
      return -1
 }
 
@@ -50,7 +44,7 @@ gdb_start
 gdb_reinitialize_dir $srcdir/$subdir
 gdb_load $binfile
 
-gdb_test "x /i _start" "and.b\t#0x12(:8|),r1h" \
+gdb_test "x /i start" "and.b\t#0x12(:8|),r1h" \
        "and.b #0x12:8,r1h"
 gdb_test "x" "and.b\t#0x12(:8|),@er1" \
        "and.b #0x12:8,@er1"
This page took 0.050547 seconds and 4 git commands to generate.