diff options
author | Doug Evans <dje@google.com> | 2010-05-03 20:53:21 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2010-05-03 20:53:21 +0000 |
commit | 24b066ba2b90ef215c6c414ae1d15f79a8addefc (patch) | |
tree | f27d08952131519af6cbcb930aefad2ff9cd3496 /gdb/completer.h | |
parent | 1ac77ea1639caba28809b36835f0c97c29a32378 (diff) | |
download | gdb-24b066ba2b90ef215c6c414ae1d15f79a8addefc.zip gdb-24b066ba2b90ef215c6c414ae1d15f79a8addefc.tar.gz gdb-24b066ba2b90ef215c6c414ae1d15f79a8addefc.tar.bz2 |
* event-loop.c (struct callback_event): New struct.
(callback_list): New global.
(append_callback_event, delete_callback_event): New functions.
(process_callback): New function.
(start_event_loop): Call it.
* remote-utils.c (NOT_SCHEDULED): Define.
(readchar_buf, readchar_bufcnt, readchar_bufp): New static globals,
moved out of readchar.
(readchar): Rewrite. Call reschedule before returning.
(reset_readchar): New function.
(remote_close): Call it.
(process_remaining, reschedule): New functions.
* server.h (callback_handler_func): New typedef.
(append_callback_event, delete_callback_event): Declare.
Diffstat (limited to 'gdb/completer.h')
0 files changed, 0 insertions, 0 deletions