]>
Commit | Line | Data |
---|---|---|
58caa3dc DJ |
1 | /* Internal interfaces for the GNU/Linux specific target code for gdbserver. |
2 | Copyright 2002, Free Software Foundation, Inc. | |
3 | ||
4 | This file is part of GDB. | |
5 | ||
6 | This program is free software; you can redistribute it and/or modify | |
7 | it under the terms of the GNU General Public License as published by | |
8 | the Free Software Foundation; either version 2 of the License, or | |
9 | (at your option) any later version. | |
10 | ||
11 | This program is distributed in the hope that it will be useful, | |
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | GNU General Public License for more details. | |
15 | ||
16 | You should have received a copy of the GNU General Public License | |
17 | along with this program; if not, write to the Free Software | |
18 | Foundation, Inc., 59 Temple Place - Suite 330, | |
19 | Boston, MA 02111-1307, USA. */ | |
20 | ||
21 | #ifdef HAVE_LINUX_USR_REGISTERS | |
22 | extern int regmap[]; | |
23 | extern int num_regs; | |
24 | int cannot_fetch_register (int regno); | |
25 | int cannot_store_register (int regno); | |
26 | #endif | |
27 | ||
28 | #ifdef HAVE_LINUX_REGSETS | |
29 | typedef void (*regset_func) (void *); | |
30 | struct regset_info | |
31 | { | |
32 | int get_request, set_request; | |
33 | int size; | |
34 | regset_func fill_function, store_function; | |
35 | }; | |
36 | extern struct regset_info target_regsets[]; | |
37 | #endif |