Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Kevin Buettner <kevinb@redhat.com>
To: gdb-patches@sources.redhat.com
Subject: Re: RFC: Don't kill the program after "file"
Date: Mon, 26 Jun 2006 19:00:00 -0000	[thread overview]
Message-ID: <20060626120020.020b6482@ironwood.lan> (raw)
In-Reply-To: <vt2r71r4i3z.fsf@theseus.home.>

On Wed, 14 Jun 2006 13:06:40 -0700
Jim Blandy <jimb@codesourcery.com> wrote:

> > Another thing which just
> > occured to me would be to make the file command succeed if you say "n"
> > at the query.
> 
> I think something like that is workable.  What if we simply left the
> killing to the 'kill' and 'run' commands, and let the prompt say:
> 
>     A program is being debugged already.
>     Are you sure you want to change the file?  (y or n)
> 
> Saying 'y' would not kill the program.
> 
> 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.

Kevin


  reply	other threads:[~2006-06-26 19:00 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 [this message]
2006-07-12 20:16     ` Daniel Jacobowitz
2006-07-24 20:36       ` Daniel Jacobowitz
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=20060626120020.020b6482@ironwood.lan \
    --to=kevinb@redhat.com \
    --cc=gdb-patches@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