This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Include <array> to declare std::array<>.


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a014b87a9ac665d2b92cfc66384d1af3ddd345dd

commit a014b87a9ac665d2b92cfc66384d1af3ddd345dd
Author: John Baldwin <jhb@FreeBSD.org>
Date:   Wed Nov 15 11:36:42 2017 -0800

    Include <array> to declare std::array<>.
    
    gdb/ChangeLog:
    
    	* symtab.h: Include <array>.

Diff:
---
 gdb/ChangeLog | 4 ++++
 gdb/symtab.h  | 1 +
 2 files changed, 5 insertions(+)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 85fd142..e86f542 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 7b8b5cc..e419d8c 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"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]