1 /* IBM RS/6000 native-dependent macros for GDB, the GNU debugger.
2 Copyright 1986, 1987, 1989, 1991, 1992, 1994 Free Software Foundation, Inc.
4 This file is part of GDB.
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. */
21 /* Do implement the attach and detach commands. */
25 #define PTRACE_ATTACH PT_ATTACH
26 #define PTRACE_DETACH PT_DETACH
28 /* Override copies of {fetch,store}_inferior_registers in infptrace.c. */
30 #define FETCH_INFERIOR_REGISTERS
32 /* When a child process is just starting, we sneak in and relocate
33 the symbol table (and other stuff) after the dynamic linker has
34 figured out where they go. */
36 #define SOLIB_CREATE_INFERIOR_HOOK(PID) \
38 xcoff_relocate_symtab (PID); \
41 /* When a target process or core-file has been attached, we sneak in
42 and figure out where the shared libraries have got to. */
44 #define SOLIB_ADD(a, b, c) \
46 /* Attach to process. */ \
47 xcoff_relocate_symtab (inferior_pid); \
50 xcoff_relocate_core (c);
52 extern void xcoff_relocate_symtab
PARAMS ((unsigned int));
56 extern void xcoff_relocate_core
PARAMS ((struct target_ops
*));
58 /* Return sizeof user struct to callers in less machine dependent routines */
60 #define KERNEL_U_SIZE kernel_u_size()
61 extern int kernel_u_size
PARAMS ((void));
This page took 0.032666 seconds and 5 git commands to generate.