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 2004-08-03 Jeff Johnston <jjohnstn@redhat.com>
9 * gdb.arch/ia64-libunwind.exp: Fix test string to match
12 [ acquire_unwind_info -> ia64_find_proc_info_x ]
14 2009-04-30 Jan Kratochvil <jan.kratochvil@redhat.com>
16 Remove a race from send_gdb "COMMAND\n".
18 Merge in: Patch4: gdb-6.3-rh-testlibunwind1fix-20041202.patch
20 --- /dev/null 2009-04-19 08:52:54.499000000 +0200
21 +++ gdb-6.8/gdb/testsuite/gdb.arch/ia64-libunwind.c 2009-04-30 19:15:16.000000000 +0200
23 +/* Copyright 2003, 2009 Free Software Foundation, Inc.
25 + This file is part of GDB.
27 + This program is free software; you can redistribute it and/or modify
28 + it under the terms of the GNU General Public License as published by
29 + the Free Software Foundation; either version 3 of the License, or
30 + (at your option) any later version.
32 + This program is distributed in the hope that it will be useful,
33 + but WITHOUT ANY WARRANTY; without even the implied warranty of
34 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
35 + GNU General Public License for more details.
37 + You should have received a copy of the GNU General Public License
38 + along with this program. If not, see <http://www.gnu.org/licenses/>. */
45 + printf ("hello world\n");
49 --- /dev/null 2009-04-19 08:52:54.499000000 +0200
50 +++ gdb-6.8/gdb/testsuite/gdb.arch/ia64-libunwind.exp 2009-04-30 19:19:22.000000000 +0200
52 +# Copyright 2003, 2009 Free Software Foundation, Inc.
54 +# This program is free software; you can redistribute it and/or modify
55 +# it under the terms of the GNU General Public License as published by
56 +# the Free Software Foundation; either version 2 of the License, or
57 +# (at your option) any later version.
59 +# This program is distributed in the hope that it will be useful,
60 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
61 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
62 +# GNU General Public License for more details.
64 +# You should have received a copy of the GNU General Public License
65 +# along with this program; if not, write to the Free Software
66 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
68 +# Please email any bugs, comments, and/or additions to this file to:
69 +# bug-gdb@prep.ai.mit.edu
71 +# This file was written by Jeff Johnston (jjohnstn@redhat.com)
73 +if ![istarget "ia64-*-*"] then {
77 +set testfile "ia64-libunwind"
78 +set srcfile ${testfile}.c
79 +set binfile ${objdir}/${subdir}/${testfile}
81 +if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug additional_flags=-w}] != "" } {
82 + gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
85 +if [get_compiler_info ${binfile}] {
91 +gdb_reinitialize_dir $srcdir/$subdir
94 +gdb_test "set debug arch 1"
95 +gdb_breakpoint "main"
98 +set test "libunwind message"
99 +gdb_test_multiple "" $test {
100 + -re "ia64_find_proc_info_x.*$gdb_prompt $" {