This is the mail archive of the gdb-patches@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]

Re: RFA: fix PR mi/8138


>>>>> "Pedro" == Pedro Alves <pedro@codesourcery.com> writes:

>> +^done,sharedlibs=[lib=[from="0x00111360",to="0x00111498",syms-read="2",name="/lib/libexample.so"]]

Pedro> The =library-loaded event was added with the "from" and "to"
Pedro> fields left out on purpose.

I think it actually makes sense to emit something here, to let the MI
client distinguish between multiple copies of dlmopen()d libraries.

This may not be the best way to do it, though.

Pedro> I'm not objecting, but I'm almost certain that I remember
Pedro> someone bringing up that this MI command was missing, but
Pedro> it was then mentioned that there's no real need for it
Pedro> since the frontend should be getting everything it needs
Pedro> from the =library-loaded / =library-unloaded events.
Pedro> (This PR predates these events by a few years).

Yeah, I agree now.  I am going to drop this.

Tom


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