This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug shlibs/11488] fsf gdb x86_64-apple-darwin crashes when loadinglibraries due to an endless loop


http://sourceware.org/bugzilla/show_bug.cgi?id=11488

--- Comment #17 from Fawzi Mohamed <fawzi at gmx dot ch> 2011-06-23 20:10:56 UTC ---
Hi Josh, you are welcome, now it should be even better, I hope to have fixed
all "blocking" bugs.

An overview for the reviewers:

Apple gdb simply ignores the eh_frame sections for the libraries without
embedded dwarf info, not using eh information (which was
http://sourceware.org/bugzilla/attachment.cgi?id=5808&action=diff ) but I find
that one should be able to use them, so I looked further and found the
"correct" fix.
As the path to it was a bit convoluted I have done a few improvements to pieces
of code that did fail as consequence of the original bug.

The "main" fix is
   http://sourceware.org/bugzilla/attachment.cgi?id=5816&action=diff
which fixes the mmaped read of sections.

I feel that
    http://sourceware.org/bugzilla/attachment.cgi?id=5817
which adds a check on the cie pointer is important and improves gdb robustness
and should also go in.

    http://sourceware.org/bugzilla/attachment.cgi?id=5814
adds the forgotten ignore of routine_64 load command, and should also go in

    http://sourceware.org/bugzilla/attachment.cgi?id=5809
is something that I have seen apple does and seems reasonable, but I have not
needed it, so I am not sure if it should go in

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]