Bug 170275 - gdb unable to decode call stack
Summary: gdb unable to decode call stack
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: gdb
Version: 4.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Jeff Johnston
QA Contact: Jay Turner
URL:
Whiteboard:
Depends On: 160555
Blocks: 168429
TreeView+ depends on / blocked
 
Reported: 2005-10-10 14:35 UTC by Elena Zannoni
Modified: 2015-01-08 00:10 UTC (History)
5 users (show)

Fixed In Version: RHBA-2006-0106
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-03-07 18:20:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2006:0106 0 qe-ready SHIPPED_LIVE gdb bug fix update 2006-03-06 05:00:00 UTC

Comment 4 Jeff Johnston 2005-12-02 17:13:59 UTC
The patch referred to in comment #6 should not be removed from gdb.  When the pc
is zero, gdb is in essence missing debug information and may be lost.  In most
instances, attempting to backtrace past such a point results in garbage traces
that may not have an end condition (i.e. infinite backtraces).

To alleviate the problem specified here, a new set backtrace sub-command has
been added which gives the user the option of forcing a trace past a zero pc
value.  To use it:

set backtrace past-zero-pc on

By default, the option will be off.  The option can be later set off via:

set backtrace past-zero-pc off

The sub-command has been added as of gdb-6.3.0.0-1.91



Comment 9 Red Hat Bugzilla 2006-03-07 18:20:37 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2006-0106.html



Note You need to log in before you can comment on or make changes to this bug.