1 /* Copyright (C) 2010 Free Software Foundation, Inc.
3 This file is part of GDB.
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
7 the Free Software Foundation; either version 3 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
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/>. */
22 /* Some information relative to a given register set. */
24 struct lynx_regset_info
26 /* The ptrace request needed to get/set registers of this set. */
27 int get_request
, set_request
;
28 /* The size of the register set. */
30 /* Fill the buffer BUF from the contents of the given REGCACHE. */
31 void (*fill_function
) (struct regcache
*regcache
, char *buf
);
32 /* Store the register value in BUF in the given REGCACHE. */
33 void (*store_function
) (struct regcache
*regcache
, const char *buf
);
36 /* A list of regsets for the target being debugged, terminated by an entry
37 where the size is negative.
39 This list should be created by the target-specific code. */
41 extern struct lynx_regset_info lynx_target_regsets
[];
43 /* The target-specific operations for LynxOS support. */
45 struct lynx_target_ops
47 /* Architecture-specific setup. */
48 void (*arch_setup
) (void);
51 extern struct lynx_target_ops the_low_target
;