Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137125 - GDB fails to get valid backtrace for PPC
Summary: GDB fails to get valid backtrace for PPC
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: PPC Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-17 15:56 UTC by Marcin Kurek
Modified: 2006-06-18 16:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
upstream patch to fix backtrace on ppc (gdb-powerpc-pic-prologue.patch,926 bytes, text/plain)
2006-06-17 15:58 UTC, Marcin Kurek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Kurek 2006-06-17 15:56:49 UTC
Fighting with xcb (https://bugs.freedesktop.org/show_bug.cgi?id=7261) bug I discovered that gdb fails to produce a valid backtrace on  PPC32 (I am not sure about PPC64) This bug is already fixed in upstream and I think it is a realy good idea to include it in to portage.
Comment 1 Marcin Kurek 2006-06-17 15:58:51 UTC
Created attachment 89419 [details]
upstream patch to fix backtrace on ppc

2005-12-10  Daniel Jacobowitz  <dan@codesourcery.com>

    PR tdep/2029
    Suggested by Till Straumann <strauman@slac.stanford.edu>:
    * rs6000-tdep.c (skip_prologue): Update check for later mtlr
    instructions.  Handle PIC bcl.
Comment 2 Tony Vroon (RETIRED) gentoo-dev 2006-06-18 16:37:03 UTC
I agree. This cleaned up 90% of the test backtraces I did. Thank you for the research and the bug report :)

This is in portage as gdb-6.4-r5.