Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: gdb-patches@sourceware.org
Subject: Re: RFC: Don't kill the program after "file"
Date: Mon, 24 Jul 2006 20:36:00 -0000	[thread overview]
Message-ID: <20060724203600.GF15759@nevyn.them.org> (raw)
In-Reply-To: <20060712201609.GQ24622@nevyn.them.org>

On Wed, Jul 12, 2006 at 04:16:09PM -0400, Daniel Jacobowitz wrote:
> > > This would mean that 'exec-file; run' when a program is running would
> > > ask the user two questions: one to confirm the file change, and then
> > > another to confirm the kill before restarting.
> > 
> > Jim's proposal sounds reasonable to me.
> 
> Me too!  Here is an implementation.  It gives the prompt suggested by
> Jim if there is a TTY, calls error if the user declines (which prevents
> "file" from trying to do "symbol-file" afterwards), and otherwise
> succeeds.  "file" never kills the running program.
> 
> Any opinions on this patch?  Shall I commit it?  Tested on
> x86_64-pc-linux-gnu.

I've committed this.

-- 
Daniel Jacobowitz
CodeSourcery


  reply	other threads:[~2006-07-24 20:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-13 20:50 Daniel Jacobowitz
2006-06-14 19:55 ` Jim Blandy
2006-06-14 20:06 ` Jim Blandy
2006-06-26 19:00   ` Kevin Buettner
2006-07-12 20:16     ` Daniel Jacobowitz
2006-07-24 20:36       ` Daniel Jacobowitz [this message]
2006-08-01 20:17 Fred Fish
2006-08-01 22:11 ` Daniel Jacobowitz
2006-08-10 20:08   ` Fred Fish
2006-08-17 18:48   ` Daniel Jacobowitz

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=20060724203600.GF15759@nevyn.them.org \
    --to=drow@false.org \
    --cc=gdb-patches@sourceware.org \
    /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