1 2003-11-17 Elena Zannoni <ezannoni@redhat.com>
3 From Jeff Johnston <jjohnstn@redhat.com>
4 * gdb.arch/ia64-libunwind.exp: New file.
5 * gdb.arch/ia64-libunwind.c: New file.
7 --- /dev/null Thu Apr 11 10:25:15 2002
8 +++ gdb+dejagnu-20040223/gdb/testsuite/gdb.arch/ia64-libunwind.exp Mon Nov 17 15:57:04 2003
10 +# Copyright 2003 Free Software Foundation, Inc.
12 +# This program is free software; you can redistribute it and/or modify
13 +# it under the terms of the GNU General Public License as published by
14 +# the Free Software Foundation; either version 2 of the License, or
15 +# (at your option) any later version.
17 +# This program is distributed in the hope that it will be useful,
18 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
19 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 +# GNU General Public License for more details.
22 +# You should have received a copy of the GNU General Public License
23 +# along with this program; if not, write to the Free Software
24 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26 +# Please email any bugs, comments, and/or additions to this file to:
27 +# bug-gdb@prep.ai.mit.edu
29 +# This file was written by Jeff Johnston (jjohnstn@redhat.com)
31 +if $tracelevel then {
36 +# test running programs
41 +if ![istarget "ia64-*-*"] then {
45 +set testfile "ia64-libunwind"
46 +set srcfile ${testfile}.c
47 +set binfile ${objdir}/${subdir}/${testfile}
49 +if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug additional_flags=-w}] != "" } {
50 + gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
53 +if [get_compiler_info ${binfile}] {
59 +gdb_reinitialize_dir $srcdir/$subdir
61 +send_gdb "set debug arch 1\n"
62 +send_gdb "break main\n"
63 +gdb_test "run" ".*acquire_unwind_info.*"
65 --- /dev/null Thu Apr 11 10:25:15 2002
66 +++ gdb+dejagnu-20040223/gdb/testsuite/gdb.arch/ia64-libunwind.c Mon Nov 17 15:58:27 2003
72 + printf ("hello world\n");