Can I use -exec-interrupt to stop the inferior program?
Nick Roberts
nickrob@snap.net.nz
Tue May 16 11:35:00 GMT 2006
> (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
More information about the Gdb
mailing list