This is the mail archive of the
mailing list for the GDB project.
Re: [patch+7.4] reread.exp 7.3->7.4 regression
>>>>> "Ulrich" == Ulrich Weigand <firstname.lastname@example.org> writes:
Ulrich> I really think this ought to be fixed in reread_symbols; freeing the old
Ulrich> OBFD needs to be done *after* all the callbacks to cleanup objfile data
Ulrich> have completed.
Also see free_objfile, which calls objfile_free_data before closing the
This, btw, is the main reason that I like Jan's old patch to unify
re-reading with freeing -- it automatically means consistency.
Perhaps Pedro's problems with that patch could be alleviated by having
"destroy in place" and "initialize in place" functions that both
free_objfile and reread_symbols could use.