1 |
1181 |
sfurman |
// OBSOLETE /* Parameters for VxWorks Intel 960's, for GDB, the GNU debugger.
|
2 |
|
|
// OBSOLETE Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1993, 1998, 1999
|
3 |
|
|
// OBSOLETE Free Software Foundation, Inc.
|
4 |
|
|
// OBSOLETE Contributed by Cygnus Support.
|
5 |
|
|
// OBSOLETE
|
6 |
|
|
// OBSOLETE This file is part of GDB.
|
7 |
|
|
// OBSOLETE
|
8 |
|
|
// OBSOLETE This program is free software; you can redistribute it and/or modify
|
9 |
|
|
// OBSOLETE it under the terms of the GNU General Public License as published by
|
10 |
|
|
// OBSOLETE the Free Software Foundation; either version 2 of the License, or
|
11 |
|
|
// OBSOLETE (at your option) any later version.
|
12 |
|
|
// OBSOLETE
|
13 |
|
|
// OBSOLETE This program is distributed in the hope that it will be useful,
|
14 |
|
|
// OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of
|
15 |
|
|
// OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
16 |
|
|
// OBSOLETE GNU General Public License for more details.
|
17 |
|
|
// OBSOLETE
|
18 |
|
|
// OBSOLETE You should have received a copy of the GNU General Public License
|
19 |
|
|
// OBSOLETE along with this program; if not, write to the Free Software
|
20 |
|
|
// OBSOLETE Foundation, Inc., 59 Temple Place - Suite 330,
|
21 |
|
|
// OBSOLETE Boston, MA 02111-1307, USA. */
|
22 |
|
|
// OBSOLETE
|
23 |
|
|
// OBSOLETE #include "i960/tm-i960.h"
|
24 |
|
|
// OBSOLETE #include "config/tm-vxworks.h"
|
25 |
|
|
// OBSOLETE
|
26 |
|
|
// OBSOLETE /* Under VxWorks the IP isn't filled in. Skip it, go with RIP, which has
|
27 |
|
|
// OBSOLETE the real value. */
|
28 |
|
|
// OBSOLETE #undef PC_REGNUM
|
29 |
|
|
// OBSOLETE #define PC_REGNUM RIP_REGNUM
|
30 |
|
|
// OBSOLETE
|
31 |
|
|
// OBSOLETE /* We have more complex, useful breakpoints on the target.
|
32 |
|
|
// OBSOLETE Amount ip must be decremented by after a breakpoint. */
|
33 |
|
|
// OBSOLETE
|
34 |
|
|
// OBSOLETE #define DECR_PC_AFTER_BREAK 0
|
35 |
|
|
// OBSOLETE
|
36 |
|
|
// OBSOLETE /* We are guaranteed to have a zero frame pointer at bottom of stack, too. */
|
37 |
|
|
// OBSOLETE
|
38 |
|
|
// OBSOLETE #define FRAME_CHAIN_VALID(chain, thisframe) nonnull_frame_chain_valid (chain, thisframe)
|
39 |
|
|
// OBSOLETE
|
40 |
|
|
// OBSOLETE /* Breakpoint patching is handled at the target end in VxWorks. */
|
41 |
|
|
// OBSOLETE /* #define BREAKPOINT {0x00, 0x3e, 0x00, 0x66} */
|
42 |
|
|
// OBSOLETE
|
43 |
|
|
// OBSOLETE /* Number of registers in a ptrace_getregs call. */
|
44 |
|
|
// OBSOLETE
|
45 |
|
|
// OBSOLETE #define VX_NUM_REGS (16 + 16 + 3)
|
46 |
|
|
// OBSOLETE
|
47 |
|
|
// OBSOLETE /* Number of registers in a ptrace_getfpregs call. */
|
48 |
|
|
// OBSOLETE
|
49 |
|
|
// OBSOLETE /* @@ Can't use this -- the rdb library for the 960 target
|
50 |
|
|
// OBSOLETE doesn't support setting or retrieving FP regs. KR */
|
51 |
|
|
// OBSOLETE
|
52 |
|
|
// OBSOLETE /* #define VX_SIZE_FPREGS (REGISTER_RAW_SIZE (FP0_REGNUM) * 4) */
|