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: [commit] delete corefile.c:close_exec_file


>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:

Joel> Ha ha ha!

Indeed :)

Joel> Attached is the patch that I just checked in as obvious.  Does it
Joel> simplify a bit your work?

Yes, I think it does, but there are still a lot of bfd_cache_close_all
calls to contend with.  Maybe these hid the fact that close_exec_file
did nothing.

I imagine at least some of these calls are needed on some platforms.
I haven't tried to test this yet.

Some of the calls seem a bit weird.  E.g., the one in
symbol_file_add_with_addrs_or_offsets, from this thread:

    http://sourceware.org/ml/gdb-patches/2004-07/msg00439.html

I'm still thinking about what options we have.

Tom


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