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, 9 Jun 2011 14:32:55 +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
Fawzi Mohamed <fawzi at gmx dot ch> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fawzi at gmx dot ch
--- Comment #5 from Fawzi Mohamed <fawzi at gmx dot ch> 2011-06-09 14:32:34 UTC ---
I traced this problem to libobjc.A.dylib (i.e. the objective-c runtime).
It seems that there is something into it that cannot be parsed correctly by
decode_frame_entry.
apple-gdb simply doesn't try to run it on it (in fact on any mach-o lib without
info).
A simple hack would be to also not look into it, and indeed it works, but I
suppose that the decision to run it on all objects by default (unlike apple
that resorts to the minima info and exported symbols) was done on purpose by
fsf, so one should fix the parsing.
I will try to look a bit more in detail into it.
--
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.