aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/mips/tm-mipsm3.h
blob: dbc10d7117ba991f87c1a5ac9e5fa340f9ec331b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
// OBSOLETE /* Definitions to make GDB run on a mips box under Mach 3.0
// OBSOLETE    Copyright 1992, 1993, 1998 Free Software Foundation, Inc.
// OBSOLETE 
// OBSOLETE    This file is part of GDB.
// OBSOLETE 
// OBSOLETE    This program is free software; you can redistribute it and/or modify
// OBSOLETE    it under the terms of the GNU General Public License as published by
// OBSOLETE    the Free Software Foundation; either version 2 of the License, or
// OBSOLETE    (at your option) any later version.
// OBSOLETE 
// OBSOLETE    This program is distributed in the hope that it will be useful,
// OBSOLETE    but WITHOUT ANY WARRANTY; without even the implied warranty of
// OBSOLETE    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// OBSOLETE    GNU General Public License for more details.
// OBSOLETE 
// OBSOLETE    You should have received a copy of the GNU General Public License
// OBSOLETE    along with this program; if not, write to the Free Software
// OBSOLETE    Foundation, Inc., 59 Temple Place - Suite 330,
// OBSOLETE    Boston, MA 02111-1307, USA.  */
// OBSOLETE 
// OBSOLETE /* Mach specific definitions for little endian mips (e.g. pmax)
// OBSOLETE  * running Mach 3.0
// OBSOLETE  *
// OBSOLETE  * Author: Jukka Virtanen <jtv@hut.fi>
// OBSOLETE  */
// OBSOLETE 
// OBSOLETE /* Include common definitions for Mach3 systems */
// OBSOLETE #include "config/nm-m3.h"
// OBSOLETE 
// OBSOLETE /* Define offsets to access CPROC stack when it does not have
// OBSOLETE  * a kernel thread.
// OBSOLETE  */
// OBSOLETE 
// OBSOLETE /* From mk/user/threads/mips/csw.s */
// OBSOLETE #define SAVED_FP	(12*4)
// OBSOLETE #define SAVED_PC	(13*4)
// OBSOLETE #define SAVED_BYTES	(14*4)
// OBSOLETE 
// OBSOLETE /* Using these, define our offsets to items strored in
// OBSOLETE  * cproc_switch in csw.s
// OBSOLETE  */
// OBSOLETE #define MACHINE_CPROC_SP_OFFSET SAVED_BYTES
// OBSOLETE #define MACHINE_CPROC_PC_OFFSET SAVED_PC
// OBSOLETE #define MACHINE_CPROC_FP_OFFSET SAVED_FP
// OBSOLETE 
// OBSOLETE /* Thread flavors used in setting the Trace state.
// OBSOLETE 
// OBSOLETE  * In <mach/machine/thread_status.h>
// OBSOLETE  */
// OBSOLETE #define TRACE_FLAVOR		MIPS_EXC_STATE
// OBSOLETE #define TRACE_FLAVOR_SIZE	MIPS_EXC_STATE_COUNT
// OBSOLETE #define TRACE_SET(x,state)	((struct mips_exc_state *)state)->cause = EXC_SST;
// OBSOLETE #define TRACE_CLEAR(x,state)	0
// OBSOLETE 
// OBSOLETE /* Mach supports attach/detach */
// OBSOLETE #define ATTACH_DETACH 1
// OBSOLETE 
// OBSOLETE #include "mips/tm-mips.h"
// OBSOLETE 
// OBSOLETE /* Address of end of user stack space.
// OBSOLETE  * for MACH, see <machine/vmparam.h>
// OBSOLETE  */
// OBSOLETE #undef  STACK_END_ADDR
// OBSOLETE #define STACK_END_ADDR USRSTACK
// OBSOLETE 
// OBSOLETE /* Output registers in tabular format */
// OBSOLETE #define TABULAR_REGISTER_OUTPUT