diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-06-17 21:37:27 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-06-17 21:37:27 (GMT) |
commit | d600848c10b42b702e31257a81190ab2f4e844f1 (patch) | |
tree | 79e7270eeb52353a379e11e17592b851cc0a0a68 /patches/gdb/6.7.1/200-gdb-deleted-children.patch | |
parent | 9a236415c392142410340aaa3d3965793898cecd (diff) |
Add patches for gdb 6.7, 6.7.1 and 6.8, vampirised from the Gentoo CVS.
/trunk/patches/gdb/6.7.1/175-gdb-hppa-offsets.patch | 272 272 0 0 +++++++++++++++++++
/trunk/patches/gdb/6.7.1/200-gdb-deleted-children.patch | 26 26 0 0 ++
/trunk/patches/gdb/6.7.1/225-gdb-6.5-dwarf-stack-overflow.patch | 52 52 0 0 ++++
/trunk/patches/gdb/6.7.1/150-gdb-6.3-security-errata-20050610.patch | 205 205 0 0 ++++++++++++++
/trunk/patches/gdb/6.7/150-gdb-6.5-dwarf-stack-overflow.patch | 52 52 0 0 ++++
/trunk/patches/gdb/6.7/100-gdb-6.3-security-errata-20050610.patch | 205 205 0 0 ++++++++++++++
/trunk/patches/gdb/6.7/125-gdb-hppa-offsets.patch | 272 272 0 0 +++++++++++++++++++
/trunk/patches/gdb/6.8/100-gdb-6.5-dwarf-stack-overflow.patch | 52 52 0 0 ++++
/trunk/patches/gdb/6.8/200-gdb-tdep-opcode-include-workaround.patch | 33 33 0 0 ++
/trunk/patches/gdb/6.8/150-gdb-6.3-security-errata-20050610.patch | 205 205 0 0 ++++++++++++++
10 files changed, 1374 insertions(+)
Diffstat (limited to 'patches/gdb/6.7.1/200-gdb-deleted-children.patch')
-rw-r--r-- | patches/gdb/6.7.1/200-gdb-deleted-children.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/patches/gdb/6.7.1/200-gdb-deleted-children.patch b/patches/gdb/6.7.1/200-gdb-deleted-children.patch new file mode 100644 index 0000000..08bbba9 --- /dev/null +++ b/patches/gdb/6.7.1/200-gdb-deleted-children.patch @@ -0,0 +1,26 @@ +Original patch from gentoo: gentoo/src/patchsets/gdb/6.7.1/50_all_gdb-deleted-children.patch +-= BEGIN original header =- +http://bugs.gentoo.org/210636 +http://sourceware.org/ml/gdb-patches/2007-11/msg00136.html + +2007-11-07 Vladimir Prus <vladimir@codesourcery.com> + + Fix crash when a variable object being deleted + has any of its children deleted previously. + + * varobj.c (delete_variable_1): Don't recurse + into deleted children. + +-= END original header =- +diff -durN gdb-6.7.1.orig/gdb/varobj.c gdb-6.7.1/gdb/varobj.c +--- gdb-6.7.1.orig/gdb/varobj.c 2007-08-31 21:01:17.000000000 +0200 ++++ gdb-6.7.1/gdb/varobj.c 2008-06-17 23:27:45.000000000 +0200 +@@ -1295,6 +1295,8 @@ + for (i = 0; i < VEC_length (varobj_p, var->children); ++i) + { + varobj_p child = VEC_index (varobj_p, var->children, i); ++ if (!child) ++ continue; + if (!remove_from_parent_p) + child->parent = NULL; + delete_variable_1 (resultp, delcountp, child, 0, only_children_p); |