aboutsummaryrefslogtreecommitdiff
path: root/gdb/serial.h
diff options
context:
space:
mode:
authorMartin Hunt <hunt@redhat.com>2001-12-04 21:44:37 +0000
committerMartin Hunt <hunt@redhat.com>2001-12-04 21:44:37 +0000
commit63b5bc2fef8801f01fd14786f7893d86fa5e92ee (patch)
tree9693671d2c297b85ac196d70216a7586f2b046d1 /gdb/serial.h
parentca9efc9063b7e94b26582c5b8d6c0c688d9678b6 (diff)
downloadgdb-63b5bc2fef8801f01fd14786f7893d86fa5e92ee.zip
gdb-63b5bc2fef8801f01fd14786f7893d86fa5e92ee.tar.gz
gdb-63b5bc2fef8801f01fd14786f7893d86fa5e92ee.tar.bz2
Add note to serial_open.
Diffstat (limited to 'gdb/serial.h')
-rw-r--r--gdb/serial.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/serial.h b/gdb/serial.h
index a0dbe72..97d68f3 100644
--- a/gdb/serial.h
+++ b/gdb/serial.h
@@ -32,7 +32,10 @@ typedef void *serial_ttystate;
struct serial;
/* Try to open NAME. Returns a new `struct serial *' on success, NULL
- on failure. */
+ on failure. Note that some open calls can block and, if possible,
+ should be written to be non-blocking, with calls to ui_look_hook
+ so they can be cancelled. An async interface for open could be
+ added to GDB if necessary. */
extern struct serial *serial_open (const char *name);