* hppa-tdep.c (hppa_push_arguments): Allocate enough space for
[deliverable/binutils-gdb.git] / gdb / xcoffsolib.h
CommitLineData
5140562f
JG
1/* Data structures for RS/6000 shared libraries, for GDB.
2 Copyright 1991, 1992 Free Software Foundation, Inc.
3
4This file is part of GDB.
5
6This program is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 2 of the License, or
9(at your option) any later version.
10
11This program is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with this program; if not, write to the Free Software
18Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
19
1eeba686
PB
20/*
21 the vmap struct is used to describe the virtual address space of
22 the target we are manipulating. The first entry is always the "exec"
23 file. Subsequent entries correspond to other objects that are
24 mapped into the address space of a process created from the "exec" file.
25 These are either in response to exec()ing the file, in which case all
26 shared libraries are loaded, or a "load" system call, followed by the
27 user's issuance of a "load" command. */
28
29struct vmap {
30 struct vmap *nxt; /* ^ to next in chain */
31 bfd *bfd; /* BFD for mappable object library */
32 char *name; /* ^ to object file name */
33 char *member; /* ^ to member name */
34 CORE_ADDR tstart; /* virtual addr where member is mapped */
35 CORE_ADDR tend; /* virtual upper bound of member */
36 CORE_ADDR tadj; /* heuristically derived adjustment */
37 CORE_ADDR dstart; /* virtual address of data start */
38 CORE_ADDR dend; /* vitrual address of data end */
39
2aefe6e4
JK
40 /* This is NULL for the exec-file. */
41 struct objfile *objfile;
42
1eeba686 43 unsigned loaded:1; /* True if symbols are loaded */
3c02636b 44 unsigned padding:15;
1eeba686
PB
45};
46
47
48struct vmap_and_bfd {
49 bfd *pbfd;
50 struct vmap *pvmap;
51};
52
53extern struct vmap *vmap;
2aefe6e4
JK
54
55void
56add_text_to_loadinfo PARAMS ((CORE_ADDR textaddr, CORE_ADDR dataaddr));
57
This page took 0.091165 seconds and 4 git commands to generate.