This is the mail archive of the gdb-patches@sources.redhat.com 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: [RFA] win32: bfd_cache_close after kill


+
+  /* Release file handles in BFD.  */
+  ALL_OBJFILES (obj)
+    {
+      if (obj->obfd)
+	bfd_cache_close (obj->obfd);
+    }
+  bfd_cache_close (exec_bfd);

Hmm, unstead of waiting until kill should GDB simply do this when finished processing each objfile? Users also complain that they can't rebuild their executable while GDB is debugging.


BFD might also be ok with a new bfd_cache_close_all (void) method - simplify the code needed to do the close letting us put calls in more places.

Andrew



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