-# Copyright (C) 2003, 2007 Free Software Foundation, Inc.
+# Copyright (C) 2003-2016 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
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-# Please email any bugs, comments, and/or additions to this file to:
-# bug-gdb@prep.ai.mit.edu
-
# 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 "t11_logs"
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 t11_logs.exp
+ untested "failed to assemble"
return -1
}
if {[target_link $objfile $binfile "${link-flags}"] != ""} then {
- untested t11_logs.exp
+ untested "failed to link"
return -1
}
gdb_reinitialize_dir $srcdir/$subdir
gdb_load $binfile
-gdb_test "x /i _start" "not.b\tr1h" \
+gdb_test "x /i start" "not.b\tr1h" \
"not.b r1h"
gdb_test "x" "not.b\t@er1" \
"not.b @er1"