summaryrefslogtreecommitdiff
path: root/gdb/python/py-gdb-readline.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/python/py-gdb-readline.c
parentae2b14c73cd42b067e9687219155ed044210f0c1 (diff)
downloadbinutils-gdb-users/tromey/sort-includes.tar.gz
Diffstat (limited to 'gdb/python/py-gdb-readline.c')
-rw-r--r--gdb/python/py-gdb-readline.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/gdb/python/py-gdb-readline.c b/gdb/python/py-gdb-readline.c
index 1e6cd739d6a..e022a3a6306 100644
--- a/gdb/python/py-gdb-readline.c
+++ b/gdb/python/py-gdb-readline.c
@@ -18,10 +18,16 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
+
+/* Local non-gdb includes. */
#include "python-internal.h"
-#include "top.h"
+
+/* Local subdirectory includes. */
#include "cli/cli-utils.h"
+/* Local includes. */
+#include "top.h"
+
/* Readline function suitable for PyOS_ReadlineFunctionPointer, which
is used for Python's interactive parser and raw_input. In both
cases, sys_stdin and sys_stdout are always stdin and stdout