
(nto-procfs.o): Likewise. * mips-linux-tdep.c: Include "solib.h". * nto-procfs.c: Likewise. * config/nm-linux.h: Do not include "solib.h". * config/nm-nbsd.h: Likewise. * config/tm-linux.h: Likewise. * config/alpha/nm-osf.h: Likewise. * config/frv/tm-frv.h: Likewise. * config/i386/nm-fbsh.h: Likewise. * config/i386/nm-i386gnu.h: Likewise. * config/i386/nm-i386sco5.h: Likewise. * config/i386/nm-i386sol2.h: Likewise. * config/i386/nm-i386v4.h: Likewise. * config/i386/nm-i386v42mp.h: Likewise. * config/i386/tm-i386sol2.h: Likewise. * config/i386/tm-nto.h: Likewise. * config/mips/nm-irix5.h: Likewise. * config/mips/tm-nbsd.h: Likewise. * config/pa/tm-hppah.h: Likewise. * config/powerpc/tm-ppc-eabi.h: Likewise. * config/rs6000/tm-rs6000.h: Likewise. * config/sh/tm-nbsd.h: Likewise. * config/sparc/nm-sol2.h: Likewise. * config/sparc/tm-sol2.h: Likewise. * config/arm/nbsdaout.mh: Remove NAT_FILE. * config/i386/nbsdaout.mh: Likewise. * config/i386/nbsdelf.mh: Likewise. * config/i386/obsdaout.mh: Likewise. * config/m68k/nbsdaout.mh: Likewise. * config/m68k/obsd.mh: Likewise. * config/sparc/nbsdaout.mh: Likewise. * config/cris/cris.mt: Remove DEPRECATED_TM_FILE. * config/i386/linux64.mt: Likewise. * config/m68k/linux.mt: Likewise. * config/m68k/nbsd.mt: Likewise. * config/sparc/linux.mt: Likewise. * config/sparc/linux64.mt: Likewise. * config/vax/nbsd.mt: Likewise.
48 lines
1.6 KiB
C
48 lines
1.6 KiB
C
/* Native support for GNU/Linux.
|
|
|
|
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. */
|
|
|
|
struct target_ops;
|
|
|
|
/* GNU/Linux is SVR4-ish but its /proc file system isn't. */
|
|
#undef USE_PROC_FS
|
|
|
|
/* Since we're building a native debugger, we can include <signal.h>
|
|
to find the range of real-time signals. */
|
|
|
|
#include <signal.h>
|
|
|
|
#ifdef __SIGRTMIN
|
|
#define REALTIME_LO __SIGRTMIN
|
|
#define REALTIME_HI (__SIGRTMAX + 1)
|
|
#endif
|
|
|
|
extern void lin_lwp_attach_lwp (ptid_t ptid, int verbose);
|
|
#define ATTACH_LWP(ptid, verbose) lin_lwp_attach_lwp ((ptid), (verbose))
|
|
|
|
extern void lin_thread_get_thread_signals (sigset_t *mask);
|
|
#define GET_THREAD_SIGNALS(mask) lin_thread_get_thread_signals (mask)
|
|
|
|
/* Use elf_gregset_t and elf_fpregset_t, rather than
|
|
gregset_t and fpregset_t. */
|
|
|
|
#define GDB_GREGSET_T elf_gregset_t
|
|
#define GDB_FPREGSET_T elf_fpregset_t
|