Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* File locking of target executable
@ 2004-03-02 21:08 Kris Warkentin
  2004-03-02 20:40 ` Kris Warkentin
  0 siblings, 1 reply; 6+ messages in thread
From: Kris Warkentin @ 2004-03-02 21:08 UTC (permalink / raw)
  To: Gdb@Sources.Redhat.Com

I've observed (on Windows at least) that when I'm debugging an 
executable, I can't delete it.  Just having it the executable loaded in 
gdb is insufficient; it actually has to be running.  I didn't see 
anything on a casual sniff through the source but perhaps I'm missing 
some sort of lock procedure.

This comes up in the context of Eclipse: if you're debugging a project 
and try to rebuild, the make fails when it can't unlink the target app.  
It looks like under some circumstances gdb might use memory mapped 
files...could that be the culprit?

cheers,

Kris


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-03-08 17:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-02 21:08 File locking of target executable Kris Warkentin
2004-03-02 20:40 ` Kris Warkentin
2004-03-02 20:44   ` Daniel Jacobowitz
2004-03-02 20:52     ` Christopher Faylor
2004-03-02 20:55     ` Andrew Cagney
2004-03-08 17:55       ` Kris Warkentin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox