source: rtems/c/src/lib/libbsp/mips/shared/gdbstub/gdb_if.h @ fc82e71

4.104.114.84.95
Last change on this file since fc82e71 was fc82e71, checked in by Joel Sherrill <joel.sherrill@…>, on 02/08/02 at 21:26:00

2002-02-08 Joel Sherrill <joel@…>

  • Makefile, stubinit.S, r46kstub.ld, ioaddr.h: Removed as unused with RTEMS.
  • r46kstub.c: Renamed to mips-stub.c.
  • mips-stub.c: New file -- was r46kstub.c.
  • memlimits.h: New file was limits.h.
  • limits.h: Removed.
  • r4600.h: Eliminated need for this file.
  • README: Updated.
    • gdb_if.h: Added CVS Id.
  • mips-stub.c: Attempt to deal with MIPS1 versus MIPS3.
  • Property mode set to 100644
File size: 1.8 KB
Line 
1/*
2 * gdb_if.h - definition of the interface between the stub and gdb
3 *
4 *                   THIS SOFTWARE IS NOT COPYRIGHTED
5 *
6 *  The following software is offered for use in the public domain.
7 *  There is no warranty with regard to this software or its performance
8 *  and the user must accept the software "AS IS" with all faults.
9 *
10 *  THE CONTRIBUTORS DISCLAIM ANY WARRANTIES, EXPRESS OR IMPLIED, WITH
11 *  REGARD TO THIS SOFTWARE INCLUDING BUT NOT LIMITED TO THE WARRANTIES
12 *  OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
13 *
14 *  $Id$
15 */
16
17#ifndef _GDB_IF_H
18#define _GDB_IF_H
19
20/*
21 * MIPS registers, numbered in the order in which gdb expects to see them.
22 */
23#define ZERO            0
24#define AT              1
25#define V0              2
26#define V1              3
27#define A0              4
28#define A1              5
29#define A2              6
30#define A3              7
31
32#define T0              8
33#define T1              9
34#define T2              10
35#define T3              11
36#define T4              12
37#define T5              13
38#define T6              14
39#define T7              15
40
41#define S0              16
42#define S1              17
43#define S2              18
44#define S3              19
45#define S4              20
46#define S5              21
47#define S6              22
48#define S7              23
49
50#define T8              24
51#define T9              25
52#define K0              26
53#define K1              27
54#define GP              28
55#define SP              29
56#define S8              30
57#define RA              31
58
59#define SR              32
60#define LO              33
61#define HI              34
62#define BAD_VA          35
63#define CAUSE           36
64#define PC              37
65
66#define F0              38
67#define F1              39
68#define F2              40
69#define F3              41
70#define F4              42
71#define F5              43
72#define F6              44
73#define F7              45
74
75#define F8              46
76#define F9              47
77#define F10             48
78#define F11             49
79#define F12             50
80#define F13             51
81#define F14             52
82#define F15             53
83
84#define F16             54
85#define F17             55
86#define F18             56
87#define F19             57
88#define F20             58
89#define F21             59
90#define F22             60
91#define F23             61
92
93#define F24             62
94#define F25             63
95#define F26             64
96#define F27             65
97#define F28             66
98#define F29             67
99#define F30             68
100#define F31             69
101
102#define FCSR            70
103#define FIRR            71
104
105#define NUM_REGS        72
106
107#endif /* _GDB_IF_H */
Note: See TracBrowser for help on using the repository browser.