diff options
author | Tom Tromey <tom@tromey.com> | 2020-04-13 12:42:59 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2020-04-13 14:10:03 -0600 |
commit | 06cc9596e8c8e431dcdfe2ce3f494e1431e95d6f (patch) | |
tree | 818bbfd82f66ffd6101f11d68f621f0b2fba9364 | |
parent | 8ae8e197961644c3621591d0ac5738e7efff64da (diff) | |
download | gdb-06cc9596e8c8e431dcdfe2ce3f494e1431e95d6f.zip gdb-06cc9596e8c8e431dcdfe2ce3f494e1431e95d6f.tar.gz gdb-06cc9596e8c8e431dcdfe2ce3f494e1431e95d6f.tar.bz2 |
Move gdb_select.h to gdbsupport/
This moves gdb_select.h to gdbsupport/, so it can be used by other
code there.
gdb/ChangeLog
2020-04-13 Tom Tromey <tom@tromey.com>
* gdb_select.h: Move to ../gdbsupport/.
* 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.
* infrun.c: Update include path.
* event-top.c: Update include path.
gdbsupport/ChangeLog
2020-04-13 Tom Tromey <tom@tromey.com>
* gdb_select.h: Move from ../gdb/.
-rw-r--r-- | gdb/ChangeLog | 17 | ||||
-rw-r--r-- | gdb/event-loop.c | 3 | ||||
-rw-r--r-- | gdb/event-top.c | 2 | ||||
-rw-r--r-- | gdb/guile/scm-ports.c | 2 | ||||
-rw-r--r-- | gdb/inflow.c | 2 | ||||
-rw-r--r-- | gdb/infrun.c | 2 | ||||
-rw-r--r-- | gdb/mingw-hdep.c | 2 | ||||
-rw-r--r-- | gdb/posix-hdep.c | 2 | ||||
-rw-r--r-- | gdb/ser-base.c | 2 | ||||
-rw-r--r-- | gdb/ser-tcp.c | 2 | ||||
-rw-r--r-- | gdb/ser-unix.c | 2 | ||||
-rw-r--r-- | gdb/top.c | 2 | ||||
-rw-r--r-- | gdb/ui-file.c | 2 | ||||
-rw-r--r-- | gdbsupport/ChangeLog | 4 | ||||
-rw-r--r-- | gdbsupport/gdb_select.h (renamed from gdb/gdb_select.h) | 0 |
15 files changed, 33 insertions, 13 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c0ac384..d8be389 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,22 @@ 2020-04-13 Tom Tromey <tom@tromey.com> + * gdb_select.h: Move to ../gdbsupport/. + * 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. + * infrun.c: Update include path. + * event-top.c: Update include path. + +2020-04-13 Tom Tromey <tom@tromey.com> + * configure: Rebuild. * configure.ac: Remove checks that are now in GDB_AC_COMMON. diff --git a/gdb/event-loop.c b/gdb/event-loop.c index 36df476..ae9d27e 100644 --- a/gdb/event-loop.c +++ b/gdb/event-loop.c @@ -32,8 +32,7 @@ #include <sys/types.h> #include "gdbsupport/gdb_sys_time.h" -#include "gdb_select.h" -#include "observable.h" +#include "gdbsupport/gdb_select.h" #include "top.h" /* Tell create_file_handler what events we are interested in. diff --git a/gdb/event-top.c b/gdb/event-top.c index 1bfc28e..965ecd5 100644 --- a/gdb/event-top.c +++ b/gdb/event-top.c @@ -39,7 +39,7 @@ #include "maint.h" #include "gdbsupport/buffer.h" #include "ser-event.h" -#include "gdb_select.h" +#include "gdbsupport/gdb_select.h" #include "gdbsupport/gdb-sigmask.h" /* readline include files. */ diff --git a/gdb/guile/scm-ports.c b/gdb/guile/scm-ports.c index 3f832dc..407d1d3 100644 --- a/gdb/guile/scm-ports.c +++ b/gdb/guile/scm-ports.c @@ -22,7 +22,7 @@ conventions, et.al. */ #include "defs.h" -#include "gdb_select.h" +#include "gdbsupport/gdb_select.h" #include "top.h" #include "target.h" #include "guile-internal.h" diff --git a/gdb/inflow.c b/gdb/inflow.c index e5e595e..1b8e819 100644 --- a/gdb/inflow.c +++ b/gdb/inflow.c @@ -27,7 +27,7 @@ #include "observable.h" #include <signal.h> #include <fcntl.h> -#include "gdb_select.h" +#include "gdbsupport/gdb_select.h" #include "inflow.h" #include "gdbcmd.h" diff --git a/gdb/infrun.c b/gdb/infrun.c index 8ff34c3..88105e0 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -64,7 +64,7 @@ #include "arch-utils.h" #include "gdbsupport/scope-exit.h" #include "gdbsupport/forward-scope-exit.h" -#include "gdb_select.h" +#include "gdbsupport/gdb_select.h" #include <unordered_map> /* Prototypes for local functions */ diff --git a/gdb/mingw-hdep.c b/gdb/mingw-hdep.c index cc42549..016cf2d 100644 --- a/gdb/mingw-hdep.c +++ b/gdb/mingw-hdep.c @@ -22,7 +22,7 @@ #include "serial.h" #include "event-loop.h" -#include "gdb_select.h" +#include "gdbsupport/gdb_select.h" #include <windows.h> diff --git a/gdb/posix-hdep.c b/gdb/posix-hdep.c index cca7241..e5754cd 100644 --- a/gdb/posix-hdep.c +++ b/gdb/posix-hdep.c @@ -20,7 +20,7 @@ #include "defs.h" #include "event-loop.h" -#include "gdb_select.h" +#include "gdbsupport/gdb_select.h" /* Wrapper for select. Nothing special needed on POSIX platforms. */ diff --git a/gdb/ser-base.c b/gdb/ser-base.c index 89d9a69..8231ec5 100644 --- a/gdb/ser-base.c +++ b/gdb/ser-base.c @@ -22,7 +22,7 @@ #include "ser-base.h" #include "event-loop.h" -#include "gdb_select.h" +#include "gdbsupport/gdb_select.h" #include "gdbsupport/gdb_sys_time.h" #ifdef USE_WIN32API #include <winsock2.h> diff --git a/gdb/ser-tcp.c b/gdb/ser-tcp.c index c558174..1c6d5a3 100644 --- a/gdb/ser-tcp.c +++ b/gdb/ser-tcp.c @@ -58,7 +58,7 @@ #endif #include <signal.h> -#include "gdb_select.h" +#include "gdbsupport/gdb_select.h" #include <algorithm> #ifndef HAVE_SOCKLEN_T diff --git a/gdb/ser-unix.c b/gdb/ser-unix.c index 8000e35..9a13acd 100644 --- a/gdb/ser-unix.c +++ b/gdb/ser-unix.c @@ -28,7 +28,7 @@ #include <sys/socket.h> #include "gdbsupport/gdb_sys_time.h" -#include "gdb_select.h" +#include "gdbsupport/gdb_select.h" #include "gdbcmd.h" #include "gdbsupport/filestuff.h" #include <termios.h> @@ -51,7 +51,7 @@ #include "filenames.h" #include "frame.h" #include "gdbsupport/buffer.h" -#include "gdb_select.h" +#include "gdbsupport/gdb_select.h" #include "gdbsupport/scope-exit.h" #include "gdbarch.h" #include "gdbsupport/pathstuff.h" diff --git a/gdb/ui-file.c b/gdb/ui-file.c index f3adbd0..a7b63a4 100644 --- a/gdb/ui-file.c +++ b/gdb/ui-file.c @@ -22,7 +22,7 @@ #include "defs.h" #include "ui-file.h" #include "gdb_obstack.h" -#include "gdb_select.h" +#include "gdbsupport/gdb_select.h" #include "gdbsupport/filestuff.h" #include "cli/cli-style.h" diff --git a/gdbsupport/ChangeLog b/gdbsupport/ChangeLog index 0d0ea87..880a6ae 100644 --- a/gdbsupport/ChangeLog +++ b/gdbsupport/ChangeLog @@ -1,5 +1,9 @@ 2020-04-13 Tom Tromey <tom@tromey.com> + * gdb_select.h: Move from ../gdb/. + +2020-04-13 Tom Tromey <tom@tromey.com> + * config.in, configure: Rebuild. * common.m4 (GDB_AC_COMMON): Check for poll.h, sys/poll.h, sys/select.h, and poll. diff --git a/gdb/gdb_select.h b/gdbsupport/gdb_select.h index 69021ac..69021ac 100644 --- a/gdb/gdb_select.h +++ b/gdbsupport/gdb_select.h |