3 2007-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5 * linux-nat.c (iterate_over_lwps): Fixed missing LWP initialization for
8 2007-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10 * gdb.base/follow-child.exp, gdb.base/follow-child.c: New files.
12 2007-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16 2008-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
20 2008-08-25 Jan Kratochvil <jan.kratochvil@redhat.com>
22 Remove the fix as causing an assertion failure for
23 gdb.base/checkpoint.exp and it is no longer needed for
24 gdb.base/follow-child.exp .
26 Index: gdb-6.8cvs20080219/gdb/testsuite/gdb.base/follow-child.c
27 ===================================================================
28 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
29 +++ gdb-6.8cvs20080219/gdb/testsuite/gdb.base/follow-child.c 2008-02-22 08:14:04.000000000 +0100
31 +/* This testcase is part of GDB, the GNU debugger.
33 + Copyright 2007 Free Software Foundation, Inc.
35 + This program is free software; you can redistribute it and/or modify
36 + it under the terms of the GNU General Public License as published by
37 + the Free Software Foundation; either version 2 of the License, or
38 + (at your option) any later version.
40 + This program is distributed in the hope that it will be useful,
41 + but WITHOUT ANY WARRANTY; without even the implied warranty of
42 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
43 + GNU General Public License for more details.
45 + You should have received a copy of the GNU General Public License
46 + along with this program; if not, write to the Free Software
47 + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
49 + Please email any bugs, comments, and/or additions to this file to:
50 + bug-gdb@prep.ai.mit.edu */
60 Index: gdb-6.8cvs20080219/gdb/testsuite/gdb.base/follow-child.exp
61 ===================================================================
62 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
63 +++ gdb-6.8cvs20080219/gdb/testsuite/gdb.base/follow-child.exp 2008-02-22 08:14:17.000000000 +0100
65 +# Copyright 2007 Free Software Foundation, Inc.
67 +# This program is free software; you can redistribute it and/or modify
68 +# it under the terms of the GNU General Public License as published by
69 +# the Free Software Foundation; either version 2 of the License, or
70 +# (at your option) any later version.
72 +# This program is distributed in the hope that it will be useful,
73 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
74 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
75 +# GNU General Public License for more details.
77 +# You should have received a copy of the GNU General Public License
78 +# along with this program; if not, write to the Free Software
79 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
81 +if $tracelevel then {
88 +set testfile follow-child
89 +set srcfile ${testfile}.c
90 +set binfile ${objdir}/${subdir}/${testfile}
91 +if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
92 + untested "Couldn't compile test program"
96 +# Get things started.
100 +gdb_reinitialize_dir $srcdir/$subdir
103 +# For C programs, "start" should stop in main().
105 +gdb_test "set follow-fork-mode child" ""
107 +# GDB_RUN_CMD already checks for `Starting program:'.
112 +gdb_test_multiple "" $test {
113 + -re "Program received signal SIGINT.*$gdb_prompt $" {
116 + -re "\\\[New process \[0-9\]+\\\]" {