summaryrefslogtreecommitdiff
path: root/gdb/rust-lang.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/rust-lang.c
parentae2b14c73cd42b067e9687219155ed044210f0c1 (diff)
downloadbinutils-gdb-users/tromey/sort-includes.tar.gz
Diffstat (limited to 'gdb/rust-lang.c')
-rw-r--r--gdb/rust-lang.c16
1 files changed, 11 insertions, 5 deletions
diff --git a/gdb/rust-lang.c b/gdb/rust-lang.c
index 0c6c13d738e..e1cb95e6499 100644
--- a/gdb/rust-lang.c
+++ b/gdb/rust-lang.c
@@ -18,25 +18,31 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
+#include "rust-lang.h"
+/* Standard C includes. */
#include <ctype.h>
+/* Standard C++ includes. */
+#include <algorithm>
+#include <string>
+#include <vector>
+
+/* Local non-gdb includes. */
+#include "demangle.h"
+
+/* Local includes. */
#include "block.h"
#include "c-lang.h"
#include "charset.h"
#include "cp-support.h"
-#include "demangle.h"
#include "gdbarch.h"
#include "infcall.h"
#include "objfiles.h"
#include "psymtab.h"
-#include "rust-lang.h"
#include "typeprint.h"
#include "valprint.h"
#include "varobj.h"
-#include <algorithm>
-#include <string>
-#include <vector>
/* See rust-lang.h. */