[Lldb-commits] [PATCH] Add =shlibs-added/=shlibs-removed notifications (MI)

jingham at apple.com jingham at apple.com
Wed Mar 11 10:13:28 PDT 2015


The Apple gdb implementation of the MI and the FSF version are different in quite a few respects.  

The MI was added by Cygnus long ago for an project that died stillborn, and so its original form was never used for a real IDE.  After that it languished for a while till we started using it for ProjectBuilder not quite so long ago.  We added/changed many things to make it work IRL, but that was on a NeXT based fork of gdb that was pretty different from the then current FSF gdb, so these changes were not submitted back.  Then when the FSF community revived the MI for Eclipse & the Emacs MI mode etc. they needed to make similar additions/modifications but since that was done independently the choices made were slightly different.

Did anybody outside ProjectBuilder use Apple's version of the MI interfaces?  Unless there are important clients for that flavor, it seems like it would be better to use the FSF versions where they differ.

Jim


> On Mar 11, 2015, at 9:41 AM, Hafiz Abid Qadeer <abidh.haq at gmail.com> wrote:
> 
> That probably was in Apple fork of gdb. @jasonmolenda may know the history. There is no such event in current gdb.
> 
> As you will see on the link below, "library-loaded" event is used.
> https://sourceware.org/gdb/onlinedocs/gdb/GDB_002fMI-Async-Records.html
> 
> I will dig more deeper to see how this is being used but it seems to me that you either have to use the "library-loaded" event or use this code for OSX only.
> 
> 
> REPOSITORY
>  rL LLVM
> 
> http://reviews.llvm.org/D8201
> 
> EMAIL PREFERENCES
>  http://reviews.llvm.org/settings/panel/emailpreferences/
> 
> 





More information about the lldb-commits mailing list