Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Kris Warkentin <kewarken@qnx.com>
To: "Gdb@Sources.Redhat.Com" <gdb@sources.redhat.com>
Subject: File locking of target executable
Date: Tue, 02 Mar 2004 21:08:00 -0000	[thread overview]
Message-ID: <4044F049.6060009@qnx.com> (raw)

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


             reply	other threads:[~2004-03-02 21:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-02 21:08 Kris Warkentin [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4044F049.6060009@qnx.com \
    --to=kewarken@qnx.com \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox