Browse Source

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/.
binutils-2_35-branch
Tom Tromey 6 years ago
committed by Tom Tromey
parent
commit
06cc9596e8
  1. 17
      gdb/ChangeLog
  2. 3
      gdb/event-loop.c
  3. 2
      gdb/event-top.c
  4. 2
      gdb/guile/scm-ports.c
  5. 2
      gdb/inflow.c
  6. 2
      gdb/infrun.c
  7. 2
      gdb/mingw-hdep.c
  8. 2
      gdb/posix-hdep.c
  9. 2
      gdb/ser-base.c
  10. 2
      gdb/ser-tcp.c
  11. 2
      gdb/ser-unix.c
  12. 2
      gdb/top.c
  13. 2
      gdb/ui-file.c
  14. 4
      gdbsupport/ChangeLog
  15. 0
      gdbsupport/gdb_select.h

17
gdb/ChangeLog

@ -1,3 +1,20 @@
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.

3
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.

2
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. */

2
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"

2
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"

2
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 */

2
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>

2
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. */

2
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>

2
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

2
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>

2
gdb/top.c

@ -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"

2
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"

4
gdbsupport/ChangeLog

@ -1,3 +1,7 @@
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.

0
gdb/gdb_select.h → gdbsupport/gdb_select.h

Loading…
Cancel
Save