First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 120091
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Toolchain Maintainers <toolchain@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ed Catmur <ed@catmur.co.uk>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
gdb-6.3-partial-die-20050503.patch gdb-6.3-partial-die-20050503.patch patch Ed Catmur 2006-01-23 12:47 0000 6.20 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 120091 depends on: Show dependency tree
Show dependency graph
Bug 120091 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-01-23 12:47 0000
Debugging non-stripped binaries, gdb prints e.g.

GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
dwarf2read.c:5468: internal-error: could not find partial DIE in cache

A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) n

dwarf2read.c:5468: internal-error: could not find partial DIE in cache

A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) n

Thereafter, trying to debug results in all sorts of nastiness:

Warning:
Cannot insert breakpoint 0.
Error accessing memory address 0x0: Input/output error.

Red Hat have a patch for this; the commit to Fedora is
https://www.redhat.com/archives/fedora-cvs-commits/2005-May/msg00100.html

The patch needs a small amount of massaging to apply to Gentoo gdb 6.4-r1. I
attach the adjusted patch, which corrects the bug.

Suggest the patch be added to Gentoo tree.

------- Comment #1 From Ed Catmur 2006-01-23 12:47:49 0000 -------
Created an attachment (id=77944) [edit]
gdb-6.3-partial-die-20050503.patch

------- Comment #2 From SpanKY 2006-01-23 15:29:32 0000 -------
added to 6.4-r2, thanks for the info

First Last Prev Next    No search results available      Search page      Enter new bug