2 http://sourceware.org/ml/archer/2010-q2/msg00031.html
4 --- ./gdb/testsuite/gdb.cp/cxxexec.cc 1970-01-01 01:00:00.000000000 +0100
5 +++ ./gdb/testsuite/gdb.cp/cxxexec.cc 2010-05-29 01:18:56.000000000 +0200
7 +/* This test script is part of GDB, the GNU debugger.
9 + Copyright 2010 Free Software Foundation, Inc.
11 + This program is free software; you can redistribute it and/or modify
12 + it under the terms of the GNU General Public License as published by
13 + the Free Software Foundation; either version 3 of the License, or
14 + (at your option) any later version.
16 + This program is distributed in the hope that it will be useful,
17 + but WITHOUT ANY WARRANTY; without even the implied warranty of
18 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 + GNU General Public License for more details.
21 + You should have received a copy of the GNU General Public License
22 + along with this program. If not, see <http://www.gnu.org/licenses/>. */
29 + execlp ("true", "true", NULL);
32 --- ./gdb/testsuite/gdb.cp/cxxexec.exp 1970-01-01 01:00:00.000000000 +0100
33 +++ ./gdb/testsuite/gdb.cp/cxxexec.exp 2010-05-29 01:29:25.000000000 +0200
35 +# Copyright 2010 Free Software Foundation, Inc.
37 +# This program is free software; you can redistribute it and/or modify
38 +# it under the terms of the GNU General Public License as published by
39 +# the Free Software Foundation; either version 3 of the License, or
40 +# (at your option) any later version.
42 +# This program is distributed in the hope that it will be useful,
43 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
44 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
45 +# GNU General Public License for more details.
47 +# You should have received a copy of the GNU General Public License
48 +# along with this program. If not, see <http://www.gnu.org/licenses/>.
50 +if { [skip_cplus_tests] } { continue }
53 +if { [prepare_for_testing ${testfile}.exp ${testfile} ${testfile}.cc {c++ debug}] } {
59 +# We could stop after `continue' again at `main'.
62 +set test "p _Unwind_DebugHook"
63 +gdb_test_multiple $test $test {
64 + -re " = .* 0x\[0-9a-f\].*\r\n$gdb_prompt $" {
67 + -re "\r\nNo symbol .*\r\n$gdb_prompt $" {
69 + untested ${testfile}.exp
75 +gdb_test_multiple $test $test {
76 + -re "Cannot access memory at address 0x\[0-9a-f\]+\r\n$gdb_prompt $" {
79 + -re "\r\n$gdb_prompt $" {
84 +# `info inferiors' can show <null> on older GDBs.
85 +gdb_test "info threads" "info threads" "program finished"