From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: Andrew Cagney Cc: GDB Discussion Subject: Re: gdb/remote - I/O Date: Mon, 14 May 2001 08:55:00 -0000 Message-id: <3AFEB7F2.6050803@cygnus.com> References: <3ABBDDE4.7C22709D@cygnus.com> X-SW-Source: 2001-05/msg00251.html Hello, Given the recent discussion on the qSymbol packet and a comment that the target should be able to initiate such an interaction, I'd like to propose the following as a possible interaction. <- T00;qSymbol;qIn; . i.e. the target can stop and drop a big hint that it would like to be probed for the given packet - here qSymbol and qIn The target has also bundled up some output data. -> qIn; Something goes in the ..... it might be bytes of input it might be something else <- "" packet not recognized <- "OK" nothing at present -> qSymbol.... <- .... -> qSumbol.... <- .... -> C The exchange is finished continue the target. The main point is that this allows the target to initiate an interaction by pigybacking what they want on a dummy ``T'' packet while at the same time leaving the host in control - all interactions still being host initiated. Andrew