This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFC: fix PR mi/10693
- From: Tom Tromey <tromey at redhat dot com>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 04 Feb 2011 09:15:04 -0700
- Subject: Re: RFC: fix PR mi/10693
- References: <m3oc7oldow.fsf@fleche.redhat.com> <201101102348.04761.pedro@codesourcery.com>
>>>>> "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