From 3a29589aa25e5621af389dd5f6245d83d3a8266c Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Fri, 13 Nov 2009 22:36:30 +0000 Subject: 2009-11-13 Kazu Hirata Maxim Kuvyrkov * 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. --- gdb/remote-fileio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/remote-fileio.h') diff --git a/gdb/remote-fileio.h b/gdb/remote-fileio.h index 7266e1d..82fd9c9 100644 --- a/gdb/remote-fileio.h +++ b/gdb/remote-fileio.h @@ -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); -- cgit v1.1