mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-30 12:44:10 +08:00
5ea03926ac
(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.
93 lines
3.6 KiB
C
93 lines
3.6 KiB
C
/* Parameters for target execution on an RS6000, for GDB, the GNU debugger.
|
|
|
|
Copyright 1986, 1987, 1989, 1991, 1992, 1993, 1994, 1995, 1996,
|
|
1997, 1998, 1999, 2000, 2004 Free Software Foundation, Inc.
|
|
|
|
Contributed by IBM Corporation.
|
|
|
|
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 frame_info;
|
|
|
|
/* Minimum possible text address in AIX */
|
|
|
|
#define TEXT_SEGMENT_BASE 0x10000000
|
|
|
|
/* Return whether PC in function NAME is in code that should be skipped when
|
|
single-stepping. */
|
|
|
|
#define IN_SOLIB_RETURN_TRAMPOLINE(pc, name) \
|
|
rs6000_in_solib_return_trampoline (pc, name)
|
|
extern int rs6000_in_solib_return_trampoline (CORE_ADDR, char *);
|
|
|
|
/* If PC is in some function-call trampoline code, return the PC
|
|
where the function itself actually starts. If not, return NULL. */
|
|
|
|
#define SKIP_TRAMPOLINE_CODE(pc) rs6000_skip_trampoline_code (pc)
|
|
extern CORE_ADDR rs6000_skip_trampoline_code (CORE_ADDR);
|
|
|
|
/* AIX has a couple of strange returns from wait(). */
|
|
|
|
#define CHILD_SPECIAL_WAITSTATUS(ourstatus, hoststatus) ( \
|
|
/* "stop after load" status. */ \
|
|
(hoststatus) == 0x57c ? (ourstatus)->kind = TARGET_WAITKIND_LOADED, 1 : \
|
|
\
|
|
/* signal 0. I have no idea why wait(2) returns with this status word. */ \
|
|
/* It looks harmless. */ \
|
|
(hoststatus) == 0x7f ? (ourstatus)->kind = TARGET_WAITKIND_SPURIOUS, 1 : \
|
|
\
|
|
/* A normal waitstatus. Let the usual macros deal with it. */ \
|
|
0)
|
|
|
|
/* In xcoff, we cannot process line numbers when we see them. This is
|
|
mainly because we don't know the boundaries of the include files. So,
|
|
we postpone that, and then enter and sort(?) the whole line table at
|
|
once, when we are closing the current symbol table in end_symtab(). */
|
|
|
|
#define PROCESS_LINENUMBER_HOOK() aix_process_linenos ()
|
|
extern void aix_process_linenos (void);
|
|
|
|
/* Register numbers of various important registers.
|
|
Note that some of these values are "real" register numbers,
|
|
and correspond to the general registers of the machine,
|
|
and some are "phony" register numbers which are too large
|
|
to be actual register numbers as far as the user is concerned
|
|
but do serve to get the desired values when passed to read_register. */
|
|
|
|
/* Don't use this in code specific to the RS6000 and its descendants;
|
|
use tdep->ppc_fp0_regnum instead. FP0_REGNUM will be deprecated
|
|
soon, but we still need to define it here for the uses in
|
|
architecture-independent code. */
|
|
#define FP0_REGNUM 32 /* Floating point register 0 */
|
|
|
|
/* Notice when a new child process is started. */
|
|
|
|
#define TARGET_CREATE_INFERIOR_HOOK rs6000_create_inferior
|
|
extern void rs6000_create_inferior (int);
|
|
|
|
/* Hook in rs6000-tdep.c for determining the TOC address when
|
|
calling functions in the inferior. */
|
|
|
|
extern CORE_ADDR (*rs6000_find_toc_address_hook) (CORE_ADDR);
|
|
|
|
/* Hook in rs6000-tdep.c to set the current architecture when starting a
|
|
child process. */
|
|
|
|
extern void (*rs6000_set_host_arch_hook) (int);
|
|
|