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

Unified Diff: gdb/gdb_vecs.h

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 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/gdb_proc_service.h ('k') | gdb/gdbarch.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gdb/gdb_vecs.h
diff --git a/sim/igen/gen-model.c b/gdb/gdb_vecs.h
similarity index 52%
copy from sim/igen/gen-model.c
copy to gdb/gdb_vecs.h
index b7e4df4dff63e89fe29d9c8c6780a77f0d43706a..d6de54a92665f0df0189cd725c97945d3196ee1e 100644
--- a/sim/igen/gen-model.c
+++ b/gdb/gdb_vecs.h
@@ -1,8 +1,6 @@
-/* The IGEN simulator generator for GDB, the GNU Debugger.
+/* Some commonly-used VEC types.
- Copyright 2002, 2007-2012 Free Software Foundation, Inc.
-
- Contributed by Andrew Cagney.
+ Copyright (C) 2012 Free Software Foundation, Inc.
This file is part of GDB.
@@ -20,31 +18,30 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "misc.h"
-#include "lf.h"
-#include "table.h"
+#ifndef GDB_VECS_H
+#define GDB_VECS_H
+
+#include "vec.h"
+
+struct probe;
+
+DEF_VEC_P (char_ptr);
-#include "filter.h"
+DEF_VEC_P (const_char_ptr);
-#include "ld-decode.h"
-#include "ld-insn.h"
+/* From utils.c: */
-#include "gen-model.h"
+extern void free_char_ptr_vec (VEC (char_ptr) *char_ptr_vec);
-#ifndef NULL
-#define NULL 0
-#endif
+extern struct cleanup *
+ make_cleanup_free_char_ptr_vec (VEC (char_ptr) *char_ptr_vec);
+extern void dirnames_to_char_ptr_vec_append (VEC (char_ptr) **vecp,
+ const char *dirnames);
-void
-gen_model_h (lf *file, insn_table *table)
-{
- lf_print__this_file_is_empty (file, "suffering bit rot");
-}
+extern VEC (char_ptr) *dirnames_to_char_ptr_vec (const char *dirnames);
+typedef struct probe *probe_p;
+DEF_VEC_P (probe_p);
-void
-gen_model_c (lf *file, insn_table *table)
-{
- lf_print__this_file_is_empty (file, "suffering bit rot");
-}
+#endif /* GDB_VECS_H */
« no previous file with comments | « gdb/gdb_proc_service.h ('k') | gdb/gdbarch.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698