* event-loop.h (GDB_READABLE, GDB_WRITABLE, GDB_EXCEPTION): Move to ...

* event-loop.c: ... here.
	* tui/tui-io.c (tui_readline_output): Rename parameter `code' to
	`error' for clarity.
	(tui_getc): Pass correct value for `error' parameter to
	tui_readline_output.
This commit is contained in:
Doug Evans
2010-05-25 15:48:44 +00:00
parent d19e70fbfa
commit 01f69b386b
4 changed files with 16 additions and 9 deletions

View File

@ -38,6 +38,13 @@
#include "gdb_assert.h"
#include "gdb_select.h"
/* Tell create_file_handler what events we are interested in.
This is used by the select version of the event loop. */
#define GDB_READABLE (1<<1)
#define GDB_WRITABLE (1<<2)
#define GDB_EXCEPTION (1<<3)
/* Data point to pass to the event handler. */
typedef union event_data
{