mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-16 20:32:21 +08:00
* 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:
@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user