Index: gdb/common/gdb_vecs.h |
diff --git a/gdb/gdb_vecs.h b/gdb/common/gdb_vecs.h |
similarity index 89% |
rename from gdb/gdb_vecs.h |
rename to gdb/common/gdb_vecs.h |
index d6de54a92665f0df0189cd725c97945d3196ee1e..7df3001c9b33308f5a6b9085f7c1a3c0a2377da5 100644 |
--- a/gdb/gdb_vecs.h |
+++ b/gdb/common/gdb_vecs.h |
@@ -1,6 +1,6 @@ |
/* Some commonly-used VEC types. |
- Copyright (C) 2012 Free Software Foundation, Inc. |
+ Copyright (C) 2012-2013 Free Software Foundation, Inc. |
This file is part of GDB. |
@@ -17,19 +17,19 @@ |
You should have received a copy of the GNU General Public License |
along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
- |
#ifndef GDB_VECS_H |
#define GDB_VECS_H |
#include "vec.h" |
-struct probe; |
+typedef char *char_ptr; |
+typedef const char *const_char_ptr; |
DEF_VEC_P (char_ptr); |
DEF_VEC_P (const_char_ptr); |
-/* From utils.c: */ |
+DEF_VEC_I (int); |
extern void free_char_ptr_vec (VEC (char_ptr) *char_ptr_vec); |
@@ -41,7 +41,4 @@ extern void dirnames_to_char_ptr_vec_append (VEC (char_ptr) **vecp, |
extern VEC (char_ptr) *dirnames_to_char_ptr_vec (const char *dirnames); |
-typedef struct probe *probe_p; |
-DEF_VEC_P (probe_p); |
- |
#endif /* GDB_VECS_H */ |