Hide Forgot
Created attachment 474965 [details] .mozconfig file Description of problem: gdb fails to debug firefox on rawhide Version-Release number of selected component (if applicable): gdb-7.2.50.20110117-13.fc15.i686 gcc-4.6.0-0.3.fc15.i686 How reproducible: Always Steps to Reproduce: 1. hg clone http://hg.mozilla.org/mozilla-central/ src 2. apply a patch from https://bugzilla.mozilla.org/show_bug.cgi?id=628252 3. copy the attached .mozconfig to src directory 4. build with "make -f client.mk build" 5. cd dist/bit 6. ./firefox -g -d gdb 7. (gdb) r Actual results: ../../gdb/dwarf2read.c:9438: internal-error: could not find partial DIE 0x303d3bd in cache [from module /home/komat/tmp592-b8/src/dist/bin/libxul.so]?
reproducer: http://people.redhat.com/jkratoch/gcc46.C
gdb -readnow can be used as a workaround.
Temporary fix is in: gdb-7.2.50.20110125-15.fc15
gdb-7.2.50.20110125-15.fc15 works for me, thanks.
This is a GCC bug. There is this upstream problem report http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47510 to track it.
I sent a patch: http://sourceware.org/ml/gdb-patches/2011-02/msg00029.html This works with the GCC after the patch in the GCC PR has been applied.
I checked in a different patch, updated for changes to GCC: http://sourceware.org/ml/gdb-patches/2011-03/msg00916.html
gdb-7.2.90.20110411-34.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/gdb-7.2.90.20110411-34.fc15
Package gdb-7.2.90.20110411-34.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing gdb-7.2.90.20110411-34.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/gdb-7.2.90.20110411-34.fc15 then log in and leave karma (feedback).
gdb-7.2.90.20110411-34.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.