bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gdbmi exec-interrupt problem


From: Brian Mitchell
Subject: gdbmi exec-interrupt problem
Date: Wed, 14 Feb 2001 11:56:57 +1300

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.

Has anyone had this problem before?


Brian Mitchell
Celsius Technology Ltd
Ph: +64 9 366 7027
Email: address@hidden
www.celsiustechnology.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]