OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.0/] [gdb/] [config/] [rs6000/] [nm-rs6000.h] - Blame information for rev 106

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 106 markom
/* IBM RS/6000 native-dependent macros for GDB, the GNU debugger.
2
   Copyright 1986, 1987, 1989, 1991, 1992, 1994 Free Software Foundation, Inc.
3
 
4
   This file is part of GDB.
5
 
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.
10
 
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.
15
 
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.  */
20
 
21
/* Do implement the attach and detach commands.  */
22
 
23
#define ATTACH_DETACH
24
 
25
#define PTRACE_ATTACH PT_ATTACH
26
#define PTRACE_DETACH PT_DETACH
27
 
28
/* Override copies of {fetch,store}_inferior_registers in infptrace.c.  */
29
 
30
#define FETCH_INFERIOR_REGISTERS
31
 
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.  */
35
 
36
#define SOLIB_CREATE_INFERIOR_HOOK(PID) \
37
  do {                                  \
38
    xcoff_relocate_symtab (PID);        \
39
  } while (0)
40
 
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.  */
43
 
44
#define SOLIB_ADD(a, b, c)      \
45
  if (inferior_pid)     \
46
    /* Attach to process.  */  \
47
    xcoff_relocate_symtab (inferior_pid); \
48
  else          \
49
    /* Core file.  */ \
50
    xcoff_relocate_core (c);
51
 
52
extern void xcoff_relocate_symtab PARAMS ((unsigned int));
53
struct target_ops;
54
extern void xcoff_relocate_core PARAMS ((struct target_ops *));
55
 
56
/* Return sizeof user struct to callers in less machine dependent routines */
57
 
58
#define KERNEL_U_SIZE kernel_u_size()
59
extern int kernel_u_size PARAMS ((void));

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.