From 1eeba68641b9b75e2d780759c39a079d8ddda0fc Mon Sep 17 00:00:00 2001 From: Per Bothner Date: Sun, 29 Mar 1992 22:33:35 +0000 Subject: Merged in latest RS6000 diffs from Metin G. Ozisik. --- gdb/xcoffsolib.h | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 gdb/xcoffsolib.h (limited to 'gdb/xcoffsolib.h') diff --git a/gdb/xcoffsolib.h b/gdb/xcoffsolib.h new file mode 100644 index 0000000..9e5e4ef --- /dev/null +++ b/gdb/xcoffsolib.h @@ -0,0 +1,33 @@ +/* + the vmap struct is used to describe the virtual address space of + the target we are manipulating. The first entry is always the "exec" + file. Subsequent entries correspond to other objects that are + mapped into the address space of a process created from the "exec" file. + These are either in response to exec()ing the file, in which case all + shared libraries are loaded, or a "load" system call, followed by the + user's issuance of a "load" command. */ + +struct vmap { + struct vmap *nxt; /* ^ to next in chain */ + bfd *bfd; /* BFD for mappable object library */ + char *name; /* ^ to object file name */ + char *member; /* ^ to member name */ + CORE_ADDR tstart; /* virtual addr where member is mapped */ + CORE_ADDR tend; /* virtual upper bound of member */ + CORE_ADDR tadj; /* heuristically derived adjustment */ + CORE_ADDR dstart; /* virtual address of data start */ + CORE_ADDR dend; /* vitrual address of data end */ + + CORE_ADDR ostart; /* objext start ??? */ + unsigned loaded:1; /* True if symbols are loaded */ + unsigned reloced:1; /* True, if symbols relocated */ + unsigned padding:14; +}; + + +struct vmap_and_bfd { + bfd *pbfd; + struct vmap *pvmap; +}; + +extern struct vmap *vmap; -- cgit v1.1