diff options
author | Tom Tromey <tromey@adacore.com> | 2022-08-30 11:30:13 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2022-08-31 10:42:51 -0600 |
commit | 51cacdb50fd2ac2240172a63140e56c0adb41742 (patch) | |
tree | 836cba445806d7e9b152d31615b0a79bc423476e /gdb/top.h | |
parent | 4749b84b51bcaa59acfb8bda5d9e134432528cf9 (diff) | |
download | gdb-51cacdb50fd2ac2240172a63140e56c0adb41742.zip gdb-51cacdb50fd2ac2240172a63140e56c0adb41742.tar.gz gdb-51cacdb50fd2ac2240172a63140e56c0adb41742.tar.bz2 |
Let ui::input_fd be -1
This changes gdb so that, if ui::input_fd is set to -1, then it will
not be registered with the event loop. This is useful for the DAP
support code I wrote, but as it turns out to also be useful to
Insight, it seems best to check it in separately.
Diffstat (limited to 'gdb/top.h')
-rw-r--r-- | gdb/top.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -118,7 +118,8 @@ struct ui FILE *errstream; /* The file descriptor for the input stream, so that we can register - it with the event loop. */ + it with the event loop. This can be set to -1 to prevent this + registration. */ int input_fd; /* Whether ISATTY returns true on input_fd. Cached here because |