ef5200c1f0
Changes from 2003-09-09 Jimi Xenidis <jimix@watson.ibm.com>: * config/rs6000/tm-rs6000.h (SOFTWARE_SINGLE_STEP): Delete macro. (SOFTWARE_SINGLE_STEP_P): Ditto. * config/powerpc/tm-ppc-eabi.h (SOFTWARE_SINGLE_STEP_P): Ditto. * config/powerpc/tm-linux.h (SOFTWARE_SINGLE_STEP): Ditto. (SOFTWARE_SINGLE_STEP_P): Ditto. * rs6000-tdep.c (rs6000_gdbarch_init): When AIX, set software_single_step to rs6000_software_single_step.
61 lines
2.2 KiB
C
61 lines
2.2 KiB
C
/* Definitions to target GDB to GNU/Linux on PowerPC.
|
|
|
|
Copyright 1992, 1993, 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. */
|
|
|
|
#ifndef TM_LINUX_H
|
|
#define TM_LINUX_H
|
|
|
|
#include "powerpc/tm-ppc-eabi.h"
|
|
/* Avoid warning from redefinition in tm-sysv4.h (included from tm-linux.h) */
|
|
#undef SKIP_TRAMPOLINE_CODE
|
|
#include "config/tm-linux.h"
|
|
|
|
/* We've multi-arched these. (Note that this completely undoes the
|
|
effect of config/tm-linux.h #including config/tm-sysv4.h.) */
|
|
#undef IN_SOLIB_CALL_TRAMPOLINE
|
|
#undef SKIP_TRAMPOLINE_CODE
|
|
|
|
/* Make sure nexti gets the help it needs for debugging assembly code
|
|
without symbols */
|
|
|
|
#define AT_SUBROUTINE_CALL_INSTRUCTION_TARGET(prevpc,stoppc) \
|
|
at_subroutine_call_instruction_target(prevpc,stoppc)
|
|
extern int at_subroutine_call_instruction_target();
|
|
|
|
extern int ppc_linux_in_sigtramp (CORE_ADDR pc, char *func_name);
|
|
#undef IN_SIGTRAMP
|
|
#define IN_SIGTRAMP(pc,func_name) ppc_linux_in_sigtramp (pc,func_name)
|
|
|
|
#if 0
|
|
#define CANNOT_FETCH_REGISTER(regno) ((regno) >= MQ_REGNUM)
|
|
#define CANNOT_STORE_REGISTER(regno) ((regno) >= MQ_REGNUM)
|
|
#endif
|
|
|
|
#if 0 /* If skip_prologue() isn't too greedy, we don't need this */
|
|
/* There is some problem with the debugging symbols generated by the
|
|
compiler such that the debugging symbol for the first line of a
|
|
function overlap with the function prologue. */
|
|
#define PROLOGUE_FIRSTLINE_OVERLAP
|
|
#endif
|
|
|
|
/* N_FUN symbols in shared libaries have 0 for their values and need
|
|
to be relocated. */
|
|
#define SOFUN_ADDRESS_MAYBE_MISSING
|
|
|
|
#endif /* #ifndef TM_LINUX_H */
|