OLD | NEW |
1 /* The IGEN simulator generator for GDB, the GNU Debugger. | 1 /* Some commonly-used VEC types. |
2 | 2 |
3 Copyright 2002, 2007-2012 Free Software Foundation, Inc. | 3 Copyright (C) 2012 Free Software Foundation, Inc. |
4 | |
5 Contributed by Andrew Cagney. | |
6 | 4 |
7 This file is part of GDB. | 5 This file is part of GDB. |
8 | 6 |
9 This program is free software; you can redistribute it and/or modify | 7 This program is free software; you can redistribute it and/or modify |
10 it under the terms of the GNU General Public License as published by | 8 it under the terms of the GNU General Public License as published by |
11 the Free Software Foundation; either version 3 of the License, or | 9 the Free Software Foundation; either version 3 of the License, or |
12 (at your option) any later version. | 10 (at your option) any later version. |
13 | 11 |
14 This program is distributed in the hope that it will be useful, | 12 This program is distributed in the hope that it will be useful, |
15 but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 but WITHOUT ANY WARRANTY; without even the implied warranty of |
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
17 GNU General Public License for more details. | 15 GNU General Public License for more details. |
18 | 16 |
19 You should have received a copy of the GNU General Public License | 17 You should have received a copy of the GNU General Public License |
20 along with this program. If not, see <http://www.gnu.org/licenses/>. */ | 18 along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
21 | 19 |
22 | 20 |
23 #include "misc.h" | 21 #ifndef GDB_VECS_H |
24 #include "lf.h" | 22 #define GDB_VECS_H |
25 #include "table.h" | |
26 | 23 |
27 #include "filter.h" | 24 #include "vec.h" |
28 | 25 |
29 #include "ld-decode.h" | 26 struct probe; |
30 #include "ld-insn.h" | |
31 | 27 |
32 #include "gen-model.h" | 28 DEF_VEC_P (char_ptr); |
33 | 29 |
34 #ifndef NULL | 30 DEF_VEC_P (const_char_ptr); |
35 #define NULL 0 | |
36 #endif | |
37 | 31 |
| 32 /* From utils.c: */ |
38 | 33 |
39 void | 34 extern void free_char_ptr_vec (VEC (char_ptr) *char_ptr_vec); |
40 gen_model_h (lf *file, insn_table *table) | |
41 { | |
42 lf_print__this_file_is_empty (file, "suffering bit rot"); | |
43 } | |
44 | 35 |
| 36 extern struct cleanup * |
| 37 make_cleanup_free_char_ptr_vec (VEC (char_ptr) *char_ptr_vec); |
45 | 38 |
46 void | 39 extern void dirnames_to_char_ptr_vec_append (VEC (char_ptr) **vecp, |
47 gen_model_c (lf *file, insn_table *table) | 40 » » » » » const char *dirnames); |
48 { | 41 |
49 lf_print__this_file_is_empty (file, "suffering bit rot"); | 42 extern VEC (char_ptr) *dirnames_to_char_ptr_vec (const char *dirnames); |
50 } | 43 |
| 44 typedef struct probe *probe_p; |
| 45 DEF_VEC_P (probe_p); |
| 46 |
| 47 #endif /* GDB_VECS_H */ |
OLD | NEW |