As discussed on gdb-patches, this removes the readline hack from the
mingw-hdep.c version of gdb_select. It's believed that this is not
needed any more. See:
https://sourceware.org/ml/gdb-patches/2019-03/msg00465.html
gdb/ChangeLog
2019-08-12 Tom Tromey <tom@tromey.com>
* mingw-hdep.c (gdb_select): Remove readline hack.
+2019-08-12 Tom Tromey <tom@tromey.com>
+
+ * mingw-hdep.c (gdb_select): Remove readline hack.
+
2019-08-09 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
* blockframe.c (find_pc_partial_function): Set *block to nullptr
#include "event-loop.h"
#include "gdb_select.h"
-#include "readline/readline.h"
#include <windows.h>
}
}
- /* With multi-threaded SIGINT handling, there is a race between the
- readline signal handler and GDB. It may still be in
- rl_prep_terminal in another thread. Do not return until it is
- done; we can check the state here because we never longjmp from
- signal handlers on Windows. */
- while (RL_ISSTATE (RL_STATE_SIGHANDLER))
- Sleep (1);
-
return num_ready;
}