-# Copyright (C) 2003, 2007, 2008, 2009 Free Software Foundation, Inc.
+# Copyright (C) 2003-2015 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 "t09_xor"
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 {
gdb_reinitialize_dir $srcdir/$subdir
gdb_load $binfile
-gdb_test "x /i _start" "xor.b\t#0x12(:8|),r1h" \
+gdb_test "x /i start" "xor.b\t#0x12(:8|),r1h" \
"xor.b #0x12:8,r1h"
gdb_test "x" "xor.b\t#0x12(:8|),@er1" \
"xor.b #0x12:8,@er1"