-# Copyright (C) 2003, 2007 Free Software Foundation, Inc.
+# Copyright (C) 2003-2013 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 "t04_sub"
set srcfile ${srcdir}/${subdir}/${testfile}.s
gdb_reinitialize_dir $srcdir/$subdir
gdb_load $binfile
-gdb_test "x /i _start" "sub.b\t#0x12(:8|),@er1" \
+gdb_test "x /i start" "sub.b\t#0x12(:8|),@er1" \
"sub.b #0x12:8,@er1"
gdb_test "x" "sub.b\t#0x12(:8|),@\\(0x3(:2|),er1\\)" \
"sub.b #0x12:8,@(0x3:2,er1)"