Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(856)

Unified Diff: gdb/common/gdb_vecs.h

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gdb/common/gdb_thread_db.h ('k') | gdb/common/gdb_vecs.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 */
« no previous file with comments | « gdb/common/gdb_thread_db.h ('k') | gdb/common/gdb_vecs.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698