Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Nick Roberts <nickrob@snap.net.nz>
To: Nikolay Molchanov <Nikolay.Molchanov@Sun.COM>
Cc: gdb@sourceware.org
Subject: Can I use -exec-interrupt to stop the inferior program?
Date: Tue, 16 May 2006 11:35:00 -0000	[thread overview]
Message-ID: <17513.1096.510561.610548@farnswood.snap.net.nz> (raw)
In-Reply-To: <4468F31E.8090805@Sun.COM>

 > (gdb)
 > run
 > &"run\n"
 > -exec-interrupt
 > ^done,reason="exited",exit-code="0100"
 > (gdb)
 > ^error,msg="mi_cmd_exec_interrupt: Inferior not executing."
 > (gdb)
 > 
 > 
 > Perhaps "-exec-interrupt" does not work in gdb 6.1?
 > If that's correct, can you tell me which version supports
 > "-exec-interrupt"?

It doesn't currently works as you would like i.e. asynchronously, even in
CVS.

Can you get around the problem by using SIGTSTP instead of SIGINT to stop
the program?  Thats what Emacs does.

-- 
Nick                                           http://www.inet.net.nz/~nickrob


  reply	other threads:[~2006-05-15 22:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-15 21:51 Nikolay Molchanov
2006-05-16 11:35 ` Nick Roberts [this message]
2006-05-18 16:19 ` Carlos Eduardo Rodrigues de Almeida
2006-10-11  6:47 Nikolay Molchanov
2006-10-11 13:49 ` Daniel Jacobowitz
2006-10-11 17:32   ` Eli Zaretskii

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=17513.1096.510561.610548@farnswood.snap.net.nz \
    --to=nickrob@snap.net.nz \
    --cc=Nikolay.Molchanov@Sun.COM \
    --cc=gdb@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