1 // OBSOLETE /* Target machine description for MIPS running SVR4, for GDB.
2 // OBSOLETE Copyright 1994, 1995, 1998, 1999, 2000 Free Software Foundation, Inc.
4 // OBSOLETE This file is part of GDB.
6 // OBSOLETE This program is free software; you can redistribute it and/or modify
7 // OBSOLETE it under the terms of the GNU General Public License as published by
8 // OBSOLETE the Free Software Foundation; either version 2 of the License, or
9 // OBSOLETE (at your option) any later version.
11 // OBSOLETE This program is distributed in the hope that it will be useful,
12 // OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // OBSOLETE GNU General Public License for more details.
16 // OBSOLETE You should have received a copy of the GNU General Public License
17 // OBSOLETE along with this program; if not, write to the Free Software
18 // OBSOLETE Foundation, Inc., 59 Temple Place - Suite 330,
19 // OBSOLETE Boston, MA 02111-1307, USA. */
21 // OBSOLETE #include "mips/tm-mips.h"
22 // OBSOLETE #include "config/tm-sysv4.h"
24 // OBSOLETE /* The signal handler trampoline is called _sigtramp. */
25 // OBSOLETE #undef IN_SIGTRAMP
26 // OBSOLETE #define IN_SIGTRAMP(pc, name) ((name) && DEPRECATED_STREQ ("_sigtramp", name))
28 // OBSOLETE /* On entry to the signal handler trampoline, an ucontext is already
29 // OBSOLETE pushed on the stack. We can get at the saved registers via the
30 // OBSOLETE mcontext which is contained within the ucontext. */
31 // OBSOLETE #define SIGFRAME_BASE 0
32 // OBSOLETE #define SIGFRAME_REGSAVE_OFF (SIGFRAME_BASE + 40)
33 // OBSOLETE #define SIGFRAME_PC_OFF (SIGFRAME_BASE + 40 + 35 * 4)
34 // OBSOLETE #define SIGFRAME_FPREGSAVE_OFF (SIGFRAME_BASE + 40 + 36 * 4)
36 // OBSOLETE /* Convert a DWARF register number to a gdb REGNUM. */
37 // OBSOLETE #define DWARF_REG_TO_REGNUM(num) ((num) < 32 ? (num) : (num)+FP0_REGNUM-32)