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

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.


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