Hello community, here is the log from the commit of package gdb checked in at Sat Jun 3 11:35:09 CEST 2006. -------- --- gdb/gdb.changes 2006-05-31 14:42:14.000000000 +0200 +++ gdb/gdb.changes 2006-06-03 10:05:13.000000000 +0200 @@ -1,0 +2,5 @@ +Sat Jun 3 10:04:56 CEST 2006 - schwab@suse.de + +- Update to gdb 6.5 RC 1. + +------------------------------------------------------------------- Old: ---- gdb-6.4.90.20060522.tar.bz2 ppc64-elf-get-synthetic-symtab.diff New: ---- gdb-6.4.90.tar.bz2 lr-frame-offset.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gdb.spec ++++++ --- /var/tmp/diff_new_pack.Z19MFZ/_old 2006-06-03 11:34:46.000000000 +0200 +++ /var/tmp/diff_new_pack.Z19MFZ/_new 2006-06-03 11:34:46.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package gdb (Version 6.4.90.20060522) +# spec file for package gdb (Version 6.4.90) # # Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -20,8 +20,8 @@ Group: Development/Tools/Debuggers Autoreqprov: on PreReq: %{install_info_prereq} -Version: 6.4.90.20060522 -Release: 2 +Version: 6.4.90 +Release: 1 Summary: The GNU Debugger Source: gdb-%{version}.tar.bz2 Patch1: gdb-misc.patch @@ -32,9 +32,9 @@ Patch7: ppc-dwarf2-cfi.patch Patch8: pie-relocate.diff Patch9: mst-solib-trampoline.diff -Patch10: ppc64-elf-get-synthetic-symtab.diff Patch11: loader_break.diff Patch12: ppc-long-double.diff +Patch13: lr-frame-offset.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -71,11 +71,11 @@ %patch7 %patch8 %patch9 -%patch10 cd gdb %patch11 cd .. %patch12 +%patch13 -p1 %build CFLAGS="$RPM_OPT_FLAGS" \ @@ -95,6 +95,8 @@ %install make install-gdb install-info-gdb DESTDIR="$RPM_BUILD_ROOT" +echo '#!/bin/sh +exec gdb --tui "$@"' > $RPM_BUILD_ROOT%{_bindir}/gdbtui rm -f $RPM_BUILD_ROOT%{_bindir}/run rm -f $RPM_BUILD_ROOT%{_mandir}/man1/run.1 @@ -131,6 +133,8 @@ %endif %changelog -n gdb +* Sat Jun 03 2006 - schwab@suse.de +- Update to gdb 6.5 RC 1. * Wed May 31 2006 - schwab@suse.de - Set long double size to 16 [#180103]. * Mon May 22 2006 - schwab@suse.de ++++++ gdb-6.4.90.20060522.tar.bz2 -> gdb-6.4.90.tar.bz2 ++++++ gdb/gdb-6.4.90.20060522.tar.bz2 gdb/gdb-6.4.90.tar.bz2 differ: char 11, line 1 ++++++ lr-frame-offset.diff ++++++
From nobody Fri Jun 2 13:36:44 2006 From: Anton Blanchard
Subject: [PATCH] Fix powerpc 64bit backtrace code To: gdb-patches@sourceware.org Date: Fri, 2 Jun 2006 12:38:24 +1000
Hi,
When backtracing a 64bit task on ppc64/Linux I notice we sometimes get
garbage for the PC:
#3 0xc00000006d337cd0 in ?? ()
#4 0x8822248200000001 in ?? ()
#5 0x4822248200000000 in ?? ()
Looking closer, it appears that gdb has missed the LR field and instead
got the CR field. On 32bit the LR is at SP + wordsize, however on 64bit
it is SP + 2*wordsize.
Knowing this I looked through the backtrace code and it looks like the
fallback is incorrect. If we fail to determine the stack layout
accurately we should make a guess based on the ABI. It turns out
tdep->lr_frame_offset was created for this purpose, but isnt used
anywhere.
Look OK?
Anton
---
2006-06-02 Anton Blanchard