[RFC,04/17] Move gdb_select.h to common/
Commit Message
This moves gdb_select.h to common/, so it can be used by other common
code.
gdb/ChangeLog
2019-02-24 Tom Tromey <tom@tromey.com>
* common/gdb_select.h: Move from...
* gdb_select.h: ... here.
* event-loop.c: Update include path.
* top.c: Update include path.
* ser-base.c: Update include path.
* ui-file.c: Update include path.
* ser-tcp.c: Update include path.
* guile/scm-ports.c: Update include path.
* posix-hdep.c: Update include path.
* ser-unix.c: Update include path.
* gdb_usleep.c: Update include path.
* mingw-hdep.c: Update include path.
* inflow.c: Update include path.
* event-top.c: Update include path.
---
gdb/ChangeLog | 17 +++++++++++++++++
gdb/{ => common}/gdb_select.h | 0
gdb/event-loop.c | 2 +-
gdb/event-top.c | 2 +-
gdb/gdb_usleep.c | 2 +-
gdb/guile/scm-ports.c | 2 +-
gdb/inflow.c | 2 +-
gdb/mingw-hdep.c | 2 +-
gdb/posix-hdep.c | 2 +-
gdb/ser-base.c | 2 +-
gdb/ser-tcp.c | 2 +-
gdb/ser-unix.c | 2 +-
gdb/top.c | 2 +-
gdb/ui-file.c | 2 +-
14 files changed, 29 insertions(+), 12 deletions(-)
rename gdb/{ => common}/gdb_select.h (100%)
similarity index 100%
rename from gdb/gdb_select.h
rename to gdb/common/gdb_select.h
@@ -31,7 +31,7 @@
#include <sys/types.h>
#include "common/gdb_sys_time.h"
-#include "gdb_select.h"
+#include "common/gdb_select.h"
#include "top.h"
/* Tell create_file_handler what events we are interested in.
@@ -39,7 +39,7 @@
#include "maint.h"
#include "common/buffer.h"
#include "ser-event.h"
-#include "gdb_select.h"
+#include "common/gdb_select.h"
/* readline include files. */
#include "readline/readline.h"
@@ -17,7 +17,7 @@
#include "defs.h"
#include "gdb_usleep.h"
-#include "gdb_select.h"
+#include "common/gdb_select.h"
#include "common/gdb_sys_time.h"
int
@@ -22,7 +22,7 @@
conventions, et.al. */
#include "defs.h"
-#include "gdb_select.h"
+#include "common/gdb_select.h"
#include "top.h"
#include "target.h"
#include "guile-internal.h"
@@ -27,7 +27,7 @@
#include "observable.h"
#include <signal.h>
#include <fcntl.h>
-#include "gdb_select.h"
+#include "common/gdb_select.h"
#include "inflow.h"
#include "gdbcmd.h"
@@ -22,7 +22,7 @@
#include "serial.h"
#include "event-loop.h"
-#include "gdb_select.h"
+#include "common/gdb_select.h"
#include "readline/readline.h"
#include <windows.h>
@@ -20,7 +20,7 @@
#include "defs.h"
#include "event-loop.h"
-#include "gdb_select.h"
+#include "common/gdb_select.h"
/* Wrapper for select. Nothing special needed on POSIX platforms. */
@@ -22,7 +22,7 @@
#include "ser-base.h"
#include "event-loop.h"
-#include "gdb_select.h"
+#include "common/gdb_select.h"
#include "common/gdb_sys_time.h"
#ifdef USE_WIN32API
#include <winsock2.h>
@@ -59,7 +59,7 @@
#endif
#include <signal.h>
-#include "gdb_select.h"
+#include "common/gdb_select.h"
#include <algorithm>
#ifndef HAVE_SOCKLEN_T
@@ -28,7 +28,7 @@
#include <sys/socket.h>
#include "common/gdb_sys_time.h"
-#include "gdb_select.h"
+#include "common/gdb_select.h"
#include "gdbcmd.h"
#include "common/filestuff.h"
#include <termios.h>
@@ -51,7 +51,7 @@
#include "filenames.h"
#include "frame.h"
#include "common/buffer.h"
-#include "gdb_select.h"
+#include "common/gdb_select.h"
#include "common/scope-exit.h"
/* readline include files. */
@@ -22,7 +22,7 @@
#include "defs.h"
#include "ui-file.h"
#include "gdb_obstack.h"
-#include "gdb_select.h"
+#include "common/gdb_select.h"
#include "common/filestuff.h"
null_file null_stream;