OLD | NEW |
1 /* Copyright (C) 2010-2012 Free Software Foundation, Inc. | 1 /* Copyright (C) 2010-2013 Free Software Foundation, Inc. |
2 | 2 |
3 This file is part of GDB. | 3 This file is part of GDB. |
4 | 4 |
5 This program is free software; you can redistribute it and/or modify | 5 This program is free software; you can redistribute it and/or modify |
6 it under the terms of the GNU General Public License as published by | 6 it under the terms of the GNU General Public License as published by |
7 the Free Software Foundation; either version 3 of the License, or | 7 the Free Software Foundation; either version 3 of the License, or |
8 (at your option) any later version. | 8 (at your option) any later version. |
9 | 9 |
10 This program is distributed in the hope that it will be useful, | 10 This program is distributed in the hope that it will be useful, |
11 but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
13 GNU General Public License for more details. | 13 GNU General Public License for more details. |
14 | 14 |
15 You should have received a copy of the GNU General Public License | 15 You should have received a copy of the GNU General Public License |
16 along with this program. If not, see <http://www.gnu.org/licenses/>. */ | 16 along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
17 | 17 |
18 #include "server.h" | 18 #include "server.h" |
19 | 19 |
20 struct regcache; | 20 struct regcache; |
| 21 struct target_desc; |
21 | 22 |
22 /* Some information relative to a given register set. */ | 23 /* Some information relative to a given register set. */ |
23 | 24 |
24 struct lynx_regset_info | 25 struct lynx_regset_info |
25 { | 26 { |
26 /* The ptrace request needed to get/set registers of this set. */ | 27 /* The ptrace request needed to get/set registers of this set. */ |
27 int get_request, set_request; | 28 int get_request, set_request; |
28 /* The size of the register set. */ | 29 /* The size of the register set. */ |
29 int size; | 30 int size; |
30 /* Fill the buffer BUF from the contents of the given REGCACHE. */ | 31 /* Fill the buffer BUF from the contents of the given REGCACHE. */ |
(...skipping 12 matching lines...) Expand all Loading... |
43 /* The target-specific operations for LynxOS support. */ | 44 /* The target-specific operations for LynxOS support. */ |
44 | 45 |
45 struct lynx_target_ops | 46 struct lynx_target_ops |
46 { | 47 { |
47 /* Architecture-specific setup. */ | 48 /* Architecture-specific setup. */ |
48 void (*arch_setup) (void); | 49 void (*arch_setup) (void); |
49 }; | 50 }; |
50 | 51 |
51 extern struct lynx_target_ops the_low_target; | 52 extern struct lynx_target_ops the_low_target; |
52 | 53 |
| 54 /* The inferior's target description. This is a global because the |
| 55 LynxOS ports support neither bi-arch nor multi-process. */ |
| 56 extern const struct target_desc *lynx_tdesc; |
OLD | NEW |