1 |
1181 |
sfurman |
// OBSOLETE /* Parameters for Intel 960 running MON960 monitor, for GDB, the GNU debugger.
|
2 |
|
|
// OBSOLETE Copyright 1990, 1991, 1996, 1999, 2000 Free Software Foundation, Inc.
|
3 |
|
|
// OBSOLETE Contributed by Intel Corporation and Cygnus Support.
|
4 |
|
|
// OBSOLETE
|
5 |
|
|
// OBSOLETE This file is part of GDB.
|
6 |
|
|
// OBSOLETE
|
7 |
|
|
// OBSOLETE This program is free software; you can redistribute it and/or modify
|
8 |
|
|
// OBSOLETE it under the terms of the GNU General Public License as published by
|
9 |
|
|
// OBSOLETE the Free Software Foundation; either version 2 of the License, or
|
10 |
|
|
// OBSOLETE (at your option) any later version.
|
11 |
|
|
// OBSOLETE
|
12 |
|
|
// OBSOLETE This program is distributed in the hope that it will be useful,
|
13 |
|
|
// OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14 |
|
|
// OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15 |
|
|
// OBSOLETE GNU General Public License for more details.
|
16 |
|
|
// OBSOLETE
|
17 |
|
|
// OBSOLETE You should have received a copy of the GNU General Public License
|
18 |
|
|
// OBSOLETE along with this program; if not, write to the Free Software
|
19 |
|
|
// OBSOLETE Foundation, Inc., 59 Temple Place - Suite 330,
|
20 |
|
|
// OBSOLETE Boston, MA 02111-1307, USA. */
|
21 |
|
|
// OBSOLETE
|
22 |
|
|
// OBSOLETE /*****************************************************************************
|
23 |
|
|
// OBSOLETE * Definitions to target GDB to an i960 debugged over a serial line.
|
24 |
|
|
// OBSOLETE ******************************************************************************/
|
25 |
|
|
// OBSOLETE
|
26 |
|
|
// OBSOLETE #include "i960/tm-i960.h"
|
27 |
|
|
// OBSOLETE
|
28 |
|
|
// OBSOLETE /* forward declarations */
|
29 |
|
|
// OBSOLETE struct frame_info;
|
30 |
|
|
// OBSOLETE
|
31 |
|
|
// OBSOLETE /* redefined from tm-i960.h */
|
32 |
|
|
// OBSOLETE /* Number of machine registers */
|
33 |
|
|
// OBSOLETE #undef NUM_REGS
|
34 |
|
|
// OBSOLETE #define NUM_REGS 40
|
35 |
|
|
// OBSOLETE
|
36 |
|
|
// OBSOLETE /* Initializer for an array of names of registers.
|
37 |
|
|
// OBSOLETE There should be NUM_REGS strings in this initializer. */
|
38 |
|
|
// OBSOLETE #undef REGISTER_NAMES
|
39 |
|
|
// OBSOLETE #define REGISTER_NAMES { \
|
40 |
|
|
// OBSOLETE /* 0 */ "pfp", "sp", "rip", "r3", "r4", "r5", "r6", "r7", \
|
41 |
|
|
// OBSOLETE /* 8 */ "r8", "r9", "r10", "r11", "r12", "r13", "r14", "r15",\
|
42 |
|
|
// OBSOLETE /* 16 */ "g0", "g1", "g2", "g3", "g4", "g5", "g6", "g7", \
|
43 |
|
|
// OBSOLETE /* 24 */ "g8", "g9", "g10", "g11", "g12", "g13", "g14", "fp", \
|
44 |
|
|
// OBSOLETE /* 32 */ "pc", "ac", "tc", "ip", "fp0", "fp1", "fp2", "fp3",\
|
45 |
|
|
// OBSOLETE }
|
46 |
|
|
// OBSOLETE
|
47 |
|
|
// OBSOLETE /* Override the standard gdb prompt when compiled for this target. */
|
48 |
|
|
// OBSOLETE
|
49 |
|
|
// OBSOLETE #define DEFAULT_PROMPT "(gdb960) "
|
50 |
|
|
// OBSOLETE
|
51 |
|
|
// OBSOLETE /* FRAME_CHAIN_VALID returns zero if the given frame is the outermost one
|
52 |
|
|
// OBSOLETE and has no caller.
|
53 |
|
|
// OBSOLETE
|
54 |
|
|
// OBSOLETE On the i960, each various target system type defines FRAME_CHAIN_VALID,
|
55 |
|
|
// OBSOLETE since it differs between Nindy, Mon960 and VxWorks, the currently supported
|
56 |
|
|
// OBSOLETE target types. */
|
57 |
|
|
// OBSOLETE
|
58 |
|
|
// OBSOLETE extern int mon960_frame_chain_valid (CORE_ADDR, struct frame_info *);
|
59 |
|
|
// OBSOLETE #define FRAME_CHAIN_VALID(chain, thisframe) mon960_frame_chain_valid (chain, thisframe)
|
60 |
|
|
// OBSOLETE
|
61 |
|
|
// OBSOLETE /* Sequence of bytes for breakpoint instruction */
|
62 |
|
|
// OBSOLETE
|
63 |
|
|
// OBSOLETE #define BREAKPOINT {0x00, 0x3e, 0x00, 0x66}
|
64 |
|
|
// OBSOLETE
|
65 |
|
|
// OBSOLETE /* Amount ip must be decremented by after a breakpoint.
|
66 |
|
|
// OBSOLETE * This is often the number of bytes in BREAKPOINT but not always.
|
67 |
|
|
// OBSOLETE */
|
68 |
|
|
// OBSOLETE
|
69 |
|
|
// OBSOLETE #define DECR_PC_AFTER_BREAK 4
|