This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug shlibs/11488] fsf gdb x86_64-apple-darwin crashes when loadinglibraries due to an endless loop
- From: "fawzi at gmx dot ch" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 23 Jun 2011 20:12:56 +0000
- Subject: [Bug shlibs/11488] fsf gdb x86_64-apple-darwin crashes when loadinglibraries due to an endless loop
- Auto-submitted: auto-generated
- References: <bug-11488-4717@http.sourceware.org/bugzilla/>
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.