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: RFC: fix PR mi/10693


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

Tom> I would appreciate comments on this.
[ symbols-loaded = 0 always ]

Pedro> - What about info_sharedlibrary_command's update_solib_list call?

Pedro> - I haven't really checked, but do we now need to care about 
Pedro>   exceptions between reading the shared library, and
Pedro>   calling the observer leaving the frontend out of sync?
Pedro>   (e.g., quits, or some other error thrown while reading debug
Pedro>   info or printing something).

I think I am going to drop this.  I have been considering changing
symbol-loading for some multi-inferior cases, and it seems to me that if
a front end really needs to know about whether symbols are loaded, then
we should be emitting new notifications for changes in this area.

So I think we should instead just document that symbols-loaded is
emitted for compatibility but is not actually useful.

Tom


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