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: [PATCH] Make objfile::static_links an htab_up


>>>>> "Tom" == Tom Tromey <tom@tromey.com> writes:

Tom> This changes objfile::static_links to be an htab_up, so that ~objfile
Tom> no longer has to explicitly destroy it.

Tom> Tested by the buildbot.

Tom> gdb/ChangeLog
Tom> 2019-04-07  Tom Tromey  <tom@tromey.com>

Tom> 	* symfile.c (reread_symbols): Update.
Tom> 	* objfiles.c (objfile_register_static_link)
Tom> 	(objfile_lookup_static_link): Update
Tom> 	(~objfile) Don't delete static_links.
Tom> 	* objfiles.h (struct objfile) <static_links>: Now an htab_up.

I'm going to check this in now.

Tom


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