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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gdb-7.2/] [gdb-7.2-or32-1.0rc3/] [gdb/] [config/] [rs6000/] [nm-rs6000.h] - Blame information for rev 513

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 330 jeremybenn
/* IBM RS/6000 native-dependent macros for GDB, the GNU debugger.
2
   Copyright 1986, 1987, 1989, 1991, 1992, 1994, 1996, 1999, 2000, 2001, 2007,
3
   2008, 2009, 2010 Free Software Foundation, Inc.
4
 
5
   This file is part of GDB.
6
 
7
   This program is free software; you can redistribute it and/or modify
8
   it under the terms of the GNU General Public License as published by
9
   the Free Software Foundation; either version 3 of the License, or
10
   (at your option) any later version.
11
 
12
   This program is distributed in the hope that it will be useful,
13
   but WITHOUT ANY WARRANTY; without even the implied warranty of
14
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
   GNU General Public License for more details.
16
 
17
   You should have received a copy of the GNU General Public License
18
   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
19
 
20
/* When a child process is just starting, we sneak in and relocate
21
   the symbol table (and other stuff) after the dynamic linker has
22
   figured out where they go.  */
23
 
24
#define SOLIB_CREATE_INFERIOR_HOOK(PID) \
25
  do {                                  \
26
    xcoff_relocate_symtab (PID);        \
27
  } while (0)
28
 
29
/* When a target process or core-file has been attached, we sneak in
30
   and figure out where the shared libraries have got to.  */
31
 
32
#define SOLIB_ADD(a, b, c, d)   \
33
  if (PIDGET (inferior_ptid))   \
34
    /* Attach to process.  */  \
35
    xcoff_relocate_symtab (PIDGET (inferior_ptid)); \
36
  else          \
37
    /* Core file.  */ \
38
    xcoff_relocate_core (c);
39
 
40
extern void xcoff_relocate_symtab (unsigned int);
41
struct target_ops;
42
extern void xcoff_relocate_core (struct target_ops *);
43
 
44
/* If ADDR lies in a shared library, return its name.  */
45
 
46
#define PC_SOLIB(PC)    xcoff_solib_address(PC)
47
extern char *xcoff_solib_address (CORE_ADDR);
48
 
49
/* Flag for machine-specific stuff in shared files.  FIXME */
50
#define DEPRECATED_IBM6000_TARGET
51
 

powered by: WebSVN 2.1.0

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