Browse Source
* config/alpha/alpha-linux.mt (DEPRECATED_TM_FILE): Set to tm-alpha.h. * config/alpha/tm-alphalinux.h: Delete file. * config/arm/linux.mt (DEPRECATED_TM_FILE): Set to tm-arm.h * config/arm/tm-linux.h: Delete file. * config/i386/tm-linux.h: Do not include "config/tm-linux.h". * config/ia64/tm-linux.h: Do not include "config/tm-linux.h". * config/m32r/linux.mt (DEPRECATED_TM_FILE): Remove. * config/mips/tm-linux.h: Do not include "config/tm-linux.h". * config/pa/linux.mt (DEPRECATED_TM_FILE): Set to tm-hppa.h. * config/pa/tm-linux.h: Delete file. * config/powerpc/tm-linux.h: Do not include "config/tm-linux.h". * config/s390/linux.mt (DEPRECATED_TM_FILE): Remove. * config/sh/linux.mt (DEPRECATED_TM_FILE): Set to tm-sh.h. * config/sh/tm-linux.h: Delete file. * alpha-linux-tdep.c: Include "symtab.h". (alpha_linux_init_abi): Call set_gdbarch_skip_trampoline_code. * i386-linux-tdep.c: Include "symtab.h". (i386_linux_init_abi): Call set_gdbarch_skip_trampoline_code. * ia64-linux-tdep.c: Include "symtab.h". (ia64_linux_init_abi): Call set_gdbarch_skip_trampoline_code. * m32r-linux-tdep.c: Include "symtab.h". (m32r_linux_init_abi): Call set_gdbarch_skip_trampoline_code. * mips-linux-tdep.c: Include "symtab.h". (mips_linux_init_abi): Call set_gdbarch_skip_trampoline_code. * sh-linux-tdep.c: Include "symtab.h". (sh_linux_init_abi): Call set_gdbarch_skip_trampoline_code. * s390-tdep.c (s390_gdbarch_init): Call set_gdbarch_skip_trampoline_code. * s390-nat.c: Do not include "tm.h". * Makefile.in (alpha-linux-tdep.o): Add dependency on $(symtab_h). (i386-linux-tdep.o): Likewise. (ia64-linux-tdep.o): Likewise. (m32r-linux-tdep.o): Likewise. (mips-linux-tdep.o): Likewise. (sh-linux-tdep.o): Likewise. (s390-nat.o): Remove dependency on $(tm_h).drow-reverse-20070409-branch
25 changed files with 72 additions and 192 deletions
@ -1,4 +1,4 @@ |
|||
# Target: Little-endian Alpha |
|||
TDEPFILES= alpha-tdep.o alpha-mdebug-tdep.o alpha-linux-tdep.o \ |
|||
solib.o solib-svr4.o solib-legacy.o |
|||
DEPRECATED_TM_FILE= tm-alphalinux.h |
|||
DEPRECATED_TM_FILE= tm-alpha.h |
|||
|
|||
@ -1,32 +0,0 @@ |
|||
/* Definitions to make GDB run on an Alpha box under GNU/Linux. The
|
|||
definitions here are used when the _target_ system is running |
|||
GNU/Linux. |
|||
|
|||
Copyright 1996, 1998, 1999, 2000, 2002, 2003, 2004 Free Software |
|||
Foundation, Inc. |
|||
|
|||
This file is part of GDB. |
|||
|
|||
This program is free software; you can redistribute it and/or modify |
|||
it under the terms of the GNU General Public License as published by |
|||
the Free Software Foundation; either version 2 of the License, or |
|||
(at your option) any later version. |
|||
|
|||
This program is distributed in the hope that it will be useful, |
|||
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
GNU General Public License for more details. |
|||
|
|||
You should have received a copy of the GNU General Public License |
|||
along with this program; if not, write to the Free Software |
|||
Foundation, Inc., 59 Temple Place - Suite 330, |
|||
Boston, MA 02111-1307, USA. */ |
|||
|
|||
#ifndef TM_LINUXALPHA_H |
|||
#define TM_LINUXALPHA_H |
|||
|
|||
#include "alpha/tm-alpha.h" |
|||
|
|||
#include "config/tm-linux.h" |
|||
|
|||
#endif /* TM_LINUXALPHA_H */ |
|||
@ -1,47 +0,0 @@ |
|||
/* Target definitions for GNU/Linux on ARM, for GDB.
|
|||
Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005 |
|||
Free Software Foundation, Inc. |
|||
|
|||
This file is part of GDB. |
|||
|
|||
This program is free software; you can redistribute it and/or modify |
|||
it under the terms of the GNU General Public License as published by |
|||
the Free Software Foundation; either version 2 of the License, or |
|||
(at your option) any later version. |
|||
|
|||
This program is distributed in the hope that it will be useful, |
|||
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
GNU General Public License for more details. |
|||
|
|||
You should have received a copy of the GNU General Public License |
|||
along with this program; if not, write to the Free Software |
|||
Foundation, Inc., 59 Temple Place - Suite 330, |
|||
Boston, MA 02111-1307, USA. */ |
|||
|
|||
#ifndef TM_ARMLINUX_H |
|||
#define TM_ARMLINUX_H |
|||
|
|||
/* Include the common ARM target definitions. */ |
|||
#include "arm/tm-arm.h" |
|||
|
|||
#include "config/tm-linux.h" |
|||
|
|||
/* We've multi-arched this. */ |
|||
#undef SKIP_TRAMPOLINE_CODE |
|||
|
|||
/* When we call a function in a shared library, and the PLT sends us
|
|||
into the dynamic linker to find the function's real address, we |
|||
need to skip over the dynamic linker call. This function decides |
|||
when to skip, and where to skip to. See the comments for |
|||
SKIP_SOLIB_RESOLVER at the top of infrun.c. */ |
|||
#if 0
|
|||
#undef IN_SOLIB_DYNSYM_RESOLVE_CODE |
|||
extern CORE_ADDR arm_in_solib_dynsym_resolve_code (CORE_ADDR pc, char *name); |
|||
#define IN_SOLIB_DYNSYM_RESOLVE_CODE arm_in_solib_dynsym_resolve_code |
|||
/* ScottB: Current definition is
|
|||
extern CORE_ADDR in_svr4_dynsym_resolve_code (CORE_ADDR pc, char *name); |
|||
#define IN_SOLIB_DYNSYM_RESOLVE_CODE in_svr4_dynsym_resolve_code */ |
|||
#endif |
|||
|
|||
#endif /* TM_ARMLINUX_H */ |
|||
@ -1,6 +1,5 @@ |
|||
# Target: Renesas M32R running GNU/Linux |
|||
TDEPFILES= m32r-tdep.o m32r-linux-tdep.o remote-m32r-sdi.o glibc-tdep.o solib.o solib-svr4.o solib-legacy.o symfile-mem.o |
|||
DEPRECATED_TM_FILE= config/tm-linux.h |
|||
|
|||
SIM_OBS = remote-sim.o |
|||
SIM = ../sim/m32r/libsim.a |
|||
|
|||
@ -1,3 +1,3 @@ |
|||
# Target: HP PA-RISC running Linux |
|||
TDEPFILES= hppa-tdep.o hppa-linux-tdep.o glibc-tdep.o solib.o solib-svr4.o symfile-mem.o |
|||
DEPRECATED_TM_FILE=tm-linux.h |
|||
DEPRECATED_TM_FILE=tm-hppa.h |
|||
|
|||
@ -1,29 +0,0 @@ |
|||
/* Definitions to target GDB to GNU/Linux on hppa-linux.
|
|||
Copyright 2004 Free Software Foundation, Inc. |
|||
|
|||
This file is part of GDB. |
|||
|
|||
This program is free software; you can redistribute it and/or modify |
|||
it under the terms of the GNU General Public License as published by |
|||
the Free Software Foundation; either version 2 of the License, or |
|||
(at your option) any later version. |
|||
|
|||
This program is distributed in the hope that it will be useful, |
|||
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
GNU General Public License for more details. |
|||
|
|||
You should have received a copy of the GNU General Public License |
|||
along with this program; if not, write to the Free Software |
|||
Foundation, Inc., 59 Temple Place - Suite 330, |
|||
Boston, MA 02111-1307, USA. */ |
|||
|
|||
#ifndef TM_LINUX_H |
|||
#define TM_LINUX_H |
|||
|
|||
#include "pa/tm-hppa.h" |
|||
#include "config/tm-linux.h" |
|||
|
|||
#undef SKIP_TRAMPOLINE_CODE |
|||
|
|||
#endif /* #ifndef TM_LINUX_H */ |
|||
@ -1,5 +1,2 @@ |
|||
# Target: S390 running Linux |
|||
DEPRECATED_TM_FILE= config/tm-linux.h |
|||
TDEPFILES=s390-tdep.o solib.o |
|||
# Post 5.0 tdep-files |
|||
TDEPFILES+=solib-svr4.o solib-legacy.o |
|||
TDEPFILES=s390-tdep.o solib.o solib-svr4.o solib-legacy.o |
|||
|
|||
@ -1,28 +0,0 @@ |
|||
/* Target-specific definitions for GNU/Linux running on a Renesas
|
|||
Super-H. |
|||
|
|||
Copyright 2000, 2002 Free Software Foundation, Inc. |
|||
|
|||
This file is part of GDB. |
|||
|
|||
This program is free software; you can redistribute it and/or modify |
|||
it under the terms of the GNU General Public License as published by |
|||
the Free Software Foundation; either version 2 of the License, or |
|||
(at your option) any later version. |
|||
|
|||
This program is distributed in the hope that it will be useful, |
|||
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
GNU General Public License for more details. |
|||
|
|||
You should have received a copy of the GNU General Public License |
|||
along with this program; if not, write to the Free Software |
|||
Foundation, Inc., 59 Temple Place - Suite 330, |
|||
Boston, MA 02111-1307, USA. */ |
|||
|
|||
/* Pull in GNU/Linux generic defs. */ |
|||
#include "config/tm-linux.h" |
|||
|
|||
/* Pull in sh-target defs */ |
|||
#include "sh/tm-sh.h" |
|||
|
|||
@ -1,28 +0,0 @@ |
|||
/* Native support for GNU/Linux, for GDB, the GNU debugger.
|
|||
Copyright 1999, 2000 |
|||
Free Software Foundation, Inc. |
|||
|
|||
This file is part of GDB. |
|||
|
|||
This program is free software; you can redistribute it and/or modify |
|||
it under the terms of the GNU General Public License as published by |
|||
the Free Software Foundation; either version 2 of the License, or |
|||
(at your option) any later version. |
|||
|
|||
This program is distributed in the hope that it will be useful, |
|||
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
GNU General Public License for more details. |
|||
|
|||
You should have received a copy of the GNU General Public License |
|||
along with this program; if not, write to the Free Software |
|||
Foundation, Inc., 59 Temple Place - Suite 330, |
|||
Boston, MA 02111-1307, USA. */ |
|||
|
|||
/* We need this file for the SOLIB_TRAMPOLINE stuff. */ |
|||
|
|||
/* If PC is in a shared library trampoline code, return the PC
|
|||
where the function itself actually starts. If not, return 0. */ |
|||
|
|||
#define SKIP_TRAMPOLINE_CODE(pc) find_solib_trampoline_target (pc) |
|||
|
|||
Loading…
Reference in new issue