> I am using the gdbmi interface to talk to GDB. I can get the process
> running, but I can't stop it again using -exec-interrupt.
> 
> If I start gdb in a console:
> 
> gdb-mi -nw --interpreter=mi
> 
> and load and start my program:
> 
> GNU gdb 5.0 (20001125-1) (UI_OUT)
> Copyright 2000 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "i686-pc-cygwin".
> (gdb)
> file hello
> &"file hello\n"
> ^done
> (gdb)
> -exec-run
> ^running
> (gdb)
> 
> then the terminal locks up and I can't type any more commands, so I can't
> enter '-exec-interrupt' to stop the inferior process. Typing Ctrl-C does
> stop the process, but I would rather use the proper commands.

The -exec-interrupt command only works with async targets and the only 
async target is async-remote.

For the moment, send the GDB process a SIGINT.

        Andrew



_______________________________________________
Bug-gdb mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gdb

Reply via email to