OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [gdb/] [config/] [i960/] [tm-vx960.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.