2009-11-13 Kazu Hirata <kazu@codesourcery.com>
Maxim Kuvyrkov <maxim@codesourcery.com> * remote-fileio.c (remote_fileio_request): Send Ctrl-C if it is pending. * remote-fileio.h: Update the prototype for remote_fileio_request. * remote.c (struct remote_state): Add ctrlc_pending_p. (remote_open_1): Clear ctrlc_pending_p. (remote_stop_as): Set ctrlc_pending_p to 1. (remote_wait_as): Pass ctrlc_pending_p to remote_fileio_request.
This commit is contained in:
parent
3d8d5e79c0
commit
3a29589aa2
4 changed files with 57 additions and 17 deletions
|
@ -26,7 +26,7 @@ struct cmd_list_element;
|
|||
|
||||
/* Unified interface to remote fileio, called in remote.c from
|
||||
remote_wait () and remote_async_wait () */
|
||||
extern void remote_fileio_request (char *buf);
|
||||
extern void remote_fileio_request (char *buf, int ctrlc_pending_p);
|
||||
|
||||
/* Cleanup any remote fileio state. */
|
||||
extern void remote_fileio_reset (void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue