Commit | Line | Data |
---|---|---|
ac8c974e AR |
1 | /* Internal interfaces for the QNX Neutrino specific target code for gdbserver. |
2 | Copyright (C) 2009 | |
3 | Free Software Foundation, Inc. | |
4 | ||
5 | This file is part of GDB. | |
6 | ||
7 | This program is free software; you can redistribute it and/or modify | |
8 | it under the terms of the GNU General Public License as published by | |
9 | the Free Software Foundation; either version 3 of the License, or | |
10 | (at your option) any later version. | |
11 | ||
12 | This program is distributed in the hope that it will be useful, | |
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | GNU General Public License for more details. | |
16 | ||
17 | You should have received a copy of the GNU General Public License | |
18 | along with this program. If not, see <http://www.gnu.org/licenses/>. */ | |
19 | ||
20 | #ifndef NTO_LOW_H | |
21 | #define NTO_LOW_H | |
22 | ||
23 | enum regset_type | |
24 | { | |
25 | NTO_REG_GENERAL, | |
26 | NTO_REG_FLOAT, | |
27 | NTO_REG_SYSTEM, | |
28 | NTO_REG_ALT, | |
29 | NTO_REG_END | |
30 | }; | |
31 | ||
32 | struct nto_target_ops | |
33 | { | |
34 | /* Architecture specific setup. */ | |
35 | void (*arch_setup) (void); | |
36 | int num_regs; | |
37 | int (*register_offset) (int gdbregno); | |
38 | const unsigned char *breakpoint; | |
39 | int breakpoint_len; | |
40 | }; | |
41 | ||
42 | extern struct nto_target_ops the_low_target; | |
43 | ||
44 | #endif | |
45 |