summaryrefslogtreecommitdiff
path: root/gdb/inflow.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-03-30 11:29:17 -0600
committerTom Tromey <tom@tromey.com>2019-03-30 11:36:53 -0600
commit268f4c4cd7b229f7f23ebbf6006973ebe0a05888 (patch)
treec97516c90aa5bf6ccb54c494c275339d42dc03aa /gdb/inflow.c
parentae2b14c73cd42b067e9687219155ed044210f0c1 (diff)
downloadbinutils-gdb-268f4c4cd7b229f7f23ebbf6006973ebe0a05888.tar.gz
Diffstat (limited to 'gdb/inflow.c')
-rw-r--r--gdb/inflow.c36
1 files changed, 20 insertions, 16 deletions
diff --git a/gdb/inflow.c b/gdb/inflow.c
index b71511308b3..6a56bf6acde 100644
--- a/gdb/inflow.c
+++ b/gdb/inflow.c
@@ -17,28 +17,32 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
-#include "frame.h"
-#include "inferior.h"
-#include "command.h"
-#include "serial.h"
-#include "terminal.h"
-#include "target.h"
-#include "gdbthread.h"
-#include "observable.h"
-#include <signal.h>
-#include <fcntl.h>
-#include "gdb_select.h"
-
#include "inflow.h"
-#include "gdbcmd.h"
+
+/* Standard C includes. */
+#include <fcntl.h>
+#include <signal.h>
+#ifdef HAVE_SYS_IOCTL_H
+#include <sys/ioctl.h>
+#endif
#ifdef HAVE_TERMIOS_H
#include <termios.h>
#endif
+
+/* Local subdirectory includes. */
#include "common/job-control.h"
-#ifdef HAVE_SYS_IOCTL_H
-#include <sys/ioctl.h>
-#endif
+/* Local includes. */
+#include "command.h"
+#include "frame.h"
+#include "gdb_select.h"
+#include "gdbcmd.h"
+#include "gdbthread.h"
+#include "inferior.h"
+#include "observable.h"
+#include "serial.h"
+#include "target.h"
+#include "terminal.h"
#ifndef O_NOCTTY
#define O_NOCTTY 0