2004-03-18 Andrew Cagney <cagney@redhat.com>
[deliverable/binutils-gdb.git] / gdb / config / mips / tm-linux.h
CommitLineData
92362027
AC
1/* Target-dependent definitions for GNU/Linux MIPS.
2
6de918a6 3 Copyright 2001, 2002, 2004 Free Software Foundation, Inc.
2aa830e4
DJ
4
5 This file is part of GDB.
6
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
11
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA. */
21
22#ifndef TM_MIPSLINUX_H
23#define TM_MIPSLINUX_H
24
25#include "mips/tm-mips.h"
26
27/* We don't want to inherit tm-mips.h's shared library trampoline code. */
28
2aa830e4
DJ
29#undef IN_SOLIB_RETURN_TRAMPOLINE
30#undef SKIP_TRAMPOLINE_CODE
31#undef IGNORE_HELPER_CALL
32
92362027 33/* GNU/Linux MIPS has __SIGRTMAX == 127. */
2aa830e4 34
bf072999 35#ifndef REALTIME_LO
e64c0717
DJ
36#define REALTIME_LO 32
37#define REALTIME_HI 128
bf072999 38#endif
2aa830e4 39
4f2e4a4f 40#include "config/tm-linux.h"
2aa830e4 41
2aa830e4
DJ
42/* We do single stepping in software. */
43
44#define SOFTWARE_SINGLE_STEP_P() 1
45#define SOFTWARE_SINGLE_STEP(sig,bp_p) mips_software_single_step (sig, bp_p)
46
47/* FIXME: This still needs to be implemented. */
48
dbfe4626
AC
49#undef DEPRECATED_IN_SIGTRAMP
50#define DEPRECATED_IN_SIGTRAMP(pc, name) (0)
2aa830e4 51
6de918a6
DJ
52#undef IN_SOLIB_DYNSYM_RESOLVE_CODE
53#define IN_SOLIB_DYNSYM_RESOLVE_CODE(PC) mips_linux_in_dynsym_resolve_code (PC)
54int mips_linux_in_dynsym_resolve_code (CORE_ADDR pc);
55
56/* We don't want all of tm-sysv4.h's shared library trampoline code either.
57 Note that by undefining IN_SOLIB_CALL_TRAMPOLINE here we will use the
58 gdbarch vector's version instead. */
59
60#undef IN_SOLIB_CALL_TRAMPOLINE
61
2aa830e4 62#endif /* TM_MIPSLINUX_H */
This page took 0.215382 seconds and 4 git commands to generate.