1 /* Native-dependent definitions for Linux/MIPS.
2 Copyright 1996, 2001 Free Software Foundation, Inc.
4 This file is part of GDB.
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. */
21 #ifndef NM_MIPSLINUX_H
22 #define NM_MIPSLINUX_H
24 #define MIPS_GNULINUX_TARGET
28 /* Return sizeof user struct to callers in less machine dependent
29 routines. Hard coded for cross-compilation friendliness. */
31 #define KERNEL_U_SIZE 504
33 /* ptrace register ``addresses'' are absolute. */
35 #define U_REGS_OFFSET 0
37 /* ptrace transfers longs, and expects addresses as longs. */
39 #define PTRACE_ARG3_TYPE long
40 #define PTRACE_XFER_TYPE long
42 #define REGISTER_U_ADDR(addr, blockend, regno) \
43 (addr) = mips_register_addr ((regno),(blockend))
45 int mips_linux_cannot_fetch_register (int regno
);
46 int mips_linux_cannot_store_register (int regno
);
47 #define CANNOT_FETCH_REGISTER(regno) mips_linux_cannot_fetch_register (regno)
48 #define CANNOT_STORE_REGISTER(regno) mips_linux_cannot_store_register (regno)
50 #endif /* NM_MIPSLINUX_H */
This page took 0.030478 seconds and 4 git commands to generate.