* tui-file.h (fputs_unfiltered_hook): Remove.
[deliverable/binutils-gdb.git] / gdb / config / powerpc / tm-linux.h
CommitLineData
c877c8e6 1/* Definitions to target GDB to Linux on 386.
b6ba6518 2 Copyright 1992, 1993, 2000 Free Software Foundation, Inc.
c877c8e6
KB
3
4This file is part of GDB.
5
6This program is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 2 of the License, or
9(at your option) any later version.
10
11This program is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with this program; if not, write to the Free Software
18Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
19
20#ifndef TM_LINUX_H
21#define TM_LINUX_H
22
23#include "powerpc/tm-ppc-eabi.h"
50c9bd31
KB
24/* Avoid warning from redefinition in tm-sysv4.h (included from tm-linux.h) */
25#undef SKIP_TRAMPOLINE_CODE
26#include "tm-linux.h"
c877c8e6
KB
27
28/* We can single step on linux */
29#undef SOFTWARE_SINGLE_STEP
df087c62 30#define SOFTWARE_SINGLE_STEP(p,q) internal_error (__FILE__, __LINE__, "Will never execute!")
c877c8e6 31#undef SOFTWARE_SINGLE_STEP_P
b0ed3589 32#define SOFTWARE_SINGLE_STEP_P() 0
c877c8e6
KB
33
34/* Make sure nexti gets the help it needs for debugging assembly code
35 without symbols */
36
37#define AT_SUBROUTINE_CALL_INSTRUCTION_TARGET(prevpc,stoppc) \
38 at_subroutine_call_instruction_target(prevpc,stoppc)
39extern int at_subroutine_call_instruction_target();
40
41/* We _want_ the SVR4 section offset calculations (see syms_from_objfile()
42 in symfile.c) */
43#undef IBM6000_TARGET
44
c877c8e6
KB
45extern CORE_ADDR ppc_linux_skip_trampoline_code (CORE_ADDR pc);
46#undef SKIP_TRAMPOLINE_CODE
47#define SKIP_TRAMPOLINE_CODE(pc) ppc_linux_skip_trampoline_code (pc)
48
49extern int ppc_linux_in_sigtramp (CORE_ADDR pc, char *func_name);
50#undef IN_SIGTRAMP
51#define IN_SIGTRAMP(pc,func_name) ppc_linux_in_sigtramp (pc,func_name)
52
9aa1e687 53#if 0
c877c8e6
KB
54#define CANNOT_FETCH_REGISTER(regno) ((regno) >= MQ_REGNUM)
55#define CANNOT_STORE_REGISTER(regno) ((regno) >= MQ_REGNUM)
9aa1e687 56#endif
c877c8e6 57
c877c8e6
KB
58#if 0 /* If skip_prologue() isn't too greedy, we don't need this */
59/* There is some problem with the debugging symbols generated by the
60 compiler such that the debugging symbol for the first line of a
61 function overlap with the function prologue. */
62#define PROLOGUE_FIRSTLINE_OVERLAP
63#endif
64
50c9bd31
KB
65/* N_FUN symbols in shared libaries have 0 for their values and need
66 to be relocated. */
67#define SOFUN_ADDRESS_MAYBE_MISSING
c877c8e6
KB
68
69#endif /* #ifndef TM_LINUX_H */
This page took 0.08731 seconds and 4 git commands to generate.