Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in src/patchsets/gdb/6.7.1: README.history 50_all_gdb-deleted-children.patch
Date: Mon, 25 Feb 2008 05:54:55
Message-Id: E1JTWIf-00038L-1f@stork.gentoo.org
1 vapier 08/02/25 05:54:53
2
3 Modified: README.history
4 Added: 50_all_gdb-deleted-children.patch
5 Log:
6 fix from upstream #210636
7
8 Revision Changes Path
9 1.4 src/patchsets/gdb/6.7.1/README.history
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gdb/6.7.1/README.history?rev=1.4&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gdb/6.7.1/README.history?rev=1.4&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gdb/6.7.1/README.history?r1=1.3&r2=1.4
14
15 Index: README.history
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo/src/patchsets/gdb/6.7.1/README.history,v
18 retrieving revision 1.3
19 retrieving revision 1.4
20 diff -u -r1.3 -r1.4
21 --- README.history 30 Dec 2007 20:13:23 -0000 1.3
22 +++ README.history 25 Feb 2008 05:54:52 -0000 1.4
23 @@ -1,12 +1,16 @@
24 -1.2 [30.12.2007]
25 +1.3 25.02.2008
26 + U 10_all_gdb-6.6-duel.patch
27 + + 50_all_gdb-deleted-children.patch
28 +
29 +1.2 30.12.2007
30 U 10_all_gdb-6.6-duel.patch
31 U 11_all_gdb-6.6-duel-integrate.patch
32
33 -1.1 [29.12.2007]
34 +1.1 29.12.2007
35 + 10_all_gdb-6.6-duel.patch
36 + 11_all_gdb-6.6-duel-integrate.patch
37
38 -1.0 [29.10.2007]
39 +1.0 29.10.2007
40 + 35_all_gdb-6.3-security-errata-20050610.patch
41 + 45_all_gdb-hppa-offsets.patch
42 + 80_all_gdb-6.5-dwarf-stack-overflow.patch
43
44
45
46 1.1 src/patchsets/gdb/6.7.1/50_all_gdb-deleted-children.patch
47
48 file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gdb/6.7.1/50_all_gdb-deleted-children.patch?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gdb/6.7.1/50_all_gdb-deleted-children.patch?rev=1.1&content-type=text/plain
50
51 Index: 50_all_gdb-deleted-children.patch
52 ===================================================================
53 http://bugs.gentoo.org/210636
54 http://sourceware.org/ml/gdb-patches/2007-11/msg00136.html
55
56 2007-11-07 Vladimir Prus <vladimir@××××××××××××.com>
57
58 Fix crash when a variable object being deleted
59 has any of its children deleted previously.
60
61 * varobj.c (delete_variable_1): Don't recurse
62 into deleted children.
63
64 Index: varobj.c
65 ===================================================================
66 RCS file: /cvs/src/src/gdb/varobj.c,v
67 retrieving revision 1.96
68 retrieving revision 1.97
69 diff -u -p -r1.96 -r1.97
70 --- gdb/varobj.c 27 Sep 2007 18:04:12 -0000 1.96
71 +++ gdb/varobj.c 7 Nov 2007 20:06:29 -0000 1.97
72 @@ -1292,6 +1292,8 @@ delete_variable_1 (struct cpstack **resu
73 for (i = 0; i < VEC_length (varobj_p, var->children); ++i)
74 {
75 varobj_p child = VEC_index (varobj_p, var->children, i);
76 + if (!child)
77 + continue;
78 if (!remove_from_parent_p)
79 child->parent = NULL;
80 delete_variable_1 (resultp, delcountp, child, 0, only_children_p);
81
82
83
84 --
85 gentoo-commits@l.g.o mailing list