Hello community, here is the log from the commit of package gdb for openSUSE:Factory checked in at Thu Jun 18 01:34:37 CEST 2009. -------- --- gdb/gdb.changes 2009-05-27 18:11:15.000000000 +0200 +++ /mounts/work_src_done/STABLE/gdb/gdb.changes 2009-06-17 17:15:49.000000000 +0200 @@ -1,0 +2,7 @@ +Wed Jun 17 16:43:08 CEST 2009 - matz@suse.de + +- Apply fix for backtraces without unwind info again. [#390722] +- Disable gdb-6.5-bz218379-ppc-solib-trampoline-fix.patch, it's not + necessary anymore and breaks the above. + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- gdb-6.5-bz218379-ppc-solib-trampoline-fix.patch New: ---- fix-gdb-backtrace.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gdb.spec ++++++ --- /var/tmp/diff_new_pack.a23050/_old 2009-06-18 01:34:07.000000000 +0200 +++ /var/tmp/diff_new_pack.a23050/_new 2009-06-18 01:34:07.000000000 +0200 @@ -23,7 +23,7 @@ # NOTE: the FSF gdb versions are numbered N.M for official releases, like 6.3 # and, since January 2005, X.Y.Z.date for daily snapshots, like 6.3.50.20050112 # (daily snapshot from mailine), or 6.3.0.20040112 (head of the release branch). Version: 6.8.50.20090302 -Release: 5 +Release: 6 # The release always contains a leading reserved number, start it at 1. # `upstream' is not a part of `name' to stay fully rpm dependencies compatible for the testing. License: GNU Free Documentation License, Version 1.2 (GFDL 1.2); GPL v2 or later; GPL v3 or later @@ -161,7 +161,6 @@ # Fix bogus 0x0 unwind of the thread's topmost function clone(3) (BZ 216711). Patch214: gdb-6.5-bz216711-clone-is-outermost.patch # Try to reduce sideeffects of skipping ppc .so libs trampolines (BZ 218379). -Patch215: gdb-6.5-bz218379-ppc-solib-trampoline-fix.patch Patch216: gdb-6.5-bz218379-ppc-solib-trampoline-test.patch # Fix lockup on trampoline vs. its function lookup; unreproducible (BZ 218379). Patch217: gdb-6.5-bz218379-solib-trampoline-lookup-lock-fix.patch @@ -286,6 +285,7 @@ Patch1004: bnc492331.patch Patch1005: bnc329420-1.patch Patch1006: bnc329420-2.patch +Patch1007: fix-gdb-backtrace.diff BuildRequires: bison flex gettext glibc-devel ncurses-devel texinfo zlib-devel %if %{suse_version} < 1020 BuildRequires: expat @@ -444,7 +444,6 @@ %patch211 -p1 %patch213 -p1 %patch214 -p1 -%patch215 -p1 %patch216 -p1 %patch217 -p1 %patch225 -p1 @@ -513,6 +512,7 @@ %patch1004 -p1 %patch1005 -p1 %patch1006 +%patch1007 find -name "*.orig" | xargs rm -f ! find -name "*.rej" # Should not happen. %endif # 0%{!?_with_upstream:1} @@ -762,6 +762,10 @@ %endif %changelog +* Wed Jun 17 2009 matz@suse.de +- Apply fix for backtraces without unwind info again. [#390722] +- Disable gdb-6.5-bz218379-ppc-solib-trampoline-fix.patch, it's not + necessary anymore and breaks the above. * Wed May 27 2009 rguenther@suse.de - Merge FC11 update 23. - Fix crashes due to (missing) varobj revalidation, for VLA (for brc#377541). ++++++ fix-gdb-backtrace.diff ++++++ Index: gdb/i386-tdep.c =================================================================== --- gdb/i386-tdep.c.orig 2009-06-17 12:29:10.000000000 +0200 +++ gdb/i386-tdep.c 2009-06-17 12:36:56.000000000 +0200 @@ -1374,11 +1374,13 @@ i386_frame_cache (struct frame_info *thi /* This will be added back below. */ cache->saved_regs[I386_EIP_REGNUM] -= cache->base; } - else + else if (cache->pc) { get_frame_register (this_frame, I386_ESP_REGNUM, buf); cache->base = extract_unsigned_integer (buf, 4) + cache->sp_offset; } + else + cache->saved_regs[I386_EBP_REGNUM] = 0; } /* Now that we have the base address for the stack frame we can ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org