This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Grant's RDI STOP patch is in
- To: gdb-patches at sourceware dot cygnus dot com
- Subject: Grant's RDI STOP patch is in
- From: Fernando Nasser <fnasser at cygnus dot com>
- Date: Thu, 12 Oct 2000 23:29:35 +0000
- Organization: Red Hat Canada Ltd. - Toronto
Finally.
Thanks Grant. It works great!
2000-10-11 Fernando Nasser <fnasser@totem.to.cygnus.com>
From Grant Edwards <grante@visi.com>
This keeps the GUI alive while running an RDI target and lets the
STOP button be used to stop the target.
* remote-rdi.c (arm_rdi_stop): New function. Implements target_stop.
(init_rdi_ops): Set to_stop target vector entry to the above.
* rdi-share/ardi.c (stop_request): New variable. Tells when a stop
has been requested.
(angel_RDI_stop_request): New function. Registers that a stop has
been requested.
(angel_RDI_ExecuteOrStep): Add call to ui_loop_hook() in loop that
waits while target is executing. Initialize and reset stop_request.
* rdi-share/ardi.h: Add declaration of angel_RDI_stop_request().
--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser@cygnus.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9