aboutsummaryrefslogtreecommitdiff
path: root/gdb/xcoffsolib.h
diff options
context:
space:
mode:
authorPeter Schauer <Peter.Schauer@mytum.de>1997-04-19 08:52:17 +0000
committerPeter Schauer <Peter.Schauer@mytum.de>1997-04-19 08:52:17 +0000
commit211b564e41c1258a7aefa6ad412b5c637c429e33 (patch)
treea0c7e0a2ba89062e93ed9335cbf242f1ffdcf4dc /gdb/xcoffsolib.h
parent27172171300d0f4c53e765cd3b1f72cc258a33ca (diff)
downloadgdb-211b564e41c1258a7aefa6ad412b5c637c429e33.zip
gdb-211b564e41c1258a7aefa6ad412b5c637c429e33.tar.gz
gdb-211b564e41c1258a7aefa6ad412b5c637c429e33.tar.bz2
* config/powerpc/tm-ppc-aix4.h, config/rs6000/tm-rs6000-aix4.h
(DONT_RELOCATE_SYMFILE_OBJFILE): Removed. * xcoffsolib.h (struct vmap): Add new members tvma, toffs and dvma, remove tadj. * exec.c (bfdsec_to_vmap): Initialize new vmap members, initialize tstart and dstart with section VMA. * rs6000-nat.c (vmap_symtab): Relocate relative to the VMA in the object file. (vmap_ldinfo, xcoff_relocate_core): Adjust tstart by section offset of the text section, remove DONT_RELOCATE_SYMFILE_OBJFILE hack. (vmap_exec): Relocate relative to the VMA in the object file, relocate .bss section as well. (xcoff_relocate_core): No longer adjust section addresses by VMA. * rs6000-tdep.c (find_toc_address): Change type of tocbase to CORE_ADDR. * xcoffread.c (secnum_to_bfd_section): New routine to get BFD section from CS section number. (scan_xcoff_symtab): Make toc_offset section relative. * symtab.c (total_number_of_methods): Avoid core dump if baseclass type is still undefined.
Diffstat (limited to 'gdb/xcoffsolib.h')
-rw-r--r--gdb/xcoffsolib.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/gdb/xcoffsolib.h b/gdb/xcoffsolib.h
index 2b75d22..6ef98cb 100644
--- a/gdb/xcoffsolib.h
+++ b/gdb/xcoffsolib.h
@@ -1,5 +1,5 @@
/* Data structures for RS/6000 shared libraries, for GDB.
- Copyright 1991, 1992, 1994 Free Software Foundation, Inc.
+ Copyright 1991, 1992, 1994, 1997 Free Software Foundation, Inc.
This file is part of GDB.
@@ -32,9 +32,11 @@ struct vmap {
char *member; /* ptr 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 tvma; /* virtual addr of text section in object file */
+ CORE_ADDR toffs; /* offset of text section in object file */
CORE_ADDR dstart; /* virtual address of data start */
- CORE_ADDR dend; /* vitrual address of data end */
+ CORE_ADDR dend; /* virtual address of data end */
+ CORE_ADDR dvma; /* virtual addr of data section in object file */
/* This is NULL for the exec-file. */
struct objfile *objfile;