This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PUSHED OBV] Include <array> to declare std::array<>.
- From: John Baldwin <jhb at FreeBSD dot org>
- To: gdb-patches at sourceware dot org
- Date: Wed, 15 Nov 2017 11:39:50 -0800
- Subject: [PUSHED OBV] Include <array> to declare std::array<>.
- Authentication-results: sourceware.org; auth=none
- References: <20171115193950.36568-1-jhb@FreeBSD.org>
gdb/ChangeLog:
* symtab.h: Include <array>.
---
gdb/ChangeLog | 4 ++++
gdb/symtab.h | 1 +
2 files changed, 5 insertions(+)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 85fd1420fa..e86f542aec 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2017-11-15 John Baldwin <jhb@FreeBSD.org>
+ * symtab.h: Include <array>.
+
+2017-11-15 John Baldwin <jhb@FreeBSD.org>
+
* bsd-kvm.c (bsd_kvm_cmd): Constify 'arg'.
(bsd_kvm_proc_cmd): Likewise.
diff --git a/gdb/symtab.h b/gdb/symtab.h
index 7b8b5cc640..e419d8c734 100644
--- a/gdb/symtab.h
+++ b/gdb/symtab.h
@@ -20,6 +20,7 @@
#if !defined (SYMTAB_H)
#define SYMTAB_H 1
+#include <array>
#include <vector>
#include <string>
#include "gdb_vecs.h"
--
2.13.3