aboutsummaryrefslogtreecommitdiff
path: root/gdb/xcoffexec.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1993-02-11 07:57:35 +0000
committerJohn Gilmore <gnu@cygnus>1993-02-11 07:57:35 +0000
commitdd46978997bc1b45d023f36b34fba9fe290ed887 (patch)
tree8b8e352917805025c3a410432c5142bc76ab0a44 /gdb/xcoffexec.c
parent7413f20a5e7239807519f377b843750b31a7426f (diff)
downloadfsf-binutils-gdb-dd46978997bc1b45d023f36b34fba9fe290ed887.zip
fsf-binutils-gdb-dd46978997bc1b45d023f36b34fba9fe290ed887.tar.gz
fsf-binutils-gdb-dd46978997bc1b45d023f36b34fba9fe290ed887.tar.bz2
* stabsread.c (rs6000_builtin_type): Move function from
xcoffread.c:builtin_type. * xcoffread.c (builtin_type): Move to stabsread. Remove IBM6000_HOST dependency. Move misplaced comments. (various): Change printf's to complaints. (patch_block_stabs, process_xcoff_symbol case C_DECL): Add objfile argument to read_type calls under #if 0. (process_xcoff_symbol case C_RSYM): Fix typo in #ifdef. * xcoffexec.c (map_vmap): Don't allocate an objfile for the exec_file. * Makefile.in: xcoffread.o is not built by default. * config/rs6000.mh (NATDEPFILES): xcoffread.o is native only. * doc/gdbint.texinfo: Eliminate IBM6000_HOST, document IBM6000_TARGET.
Diffstat (limited to 'gdb/xcoffexec.c')
-rw-r--r--gdb/xcoffexec.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/xcoffexec.c b/gdb/xcoffexec.c
index c787e57..16232ac 100644
--- a/gdb/xcoffexec.c
+++ b/gdb/xcoffexec.c
@@ -332,19 +332,19 @@ map_vmap (bfd *bf, bfd *arch)
vmap_bfd.pvmap = vp;
bfd_map_over_sections (bf, sex_to_vmap, &vmap_bfd);
+#if 0
+ /* This is only needed if we want to load shared libraries no matter what.
+ Since we provide the choice of incremental loading of shared objects
+ now, we do not have to load them as default anymore. */
+
obj = lookup_objfile_bfd (bf);
if (exec_bfd && !obj) {
obj = allocate_objfile (bf, 0);
-#if 0
- /* This is only needed if we want to load shared libraries no matter what.
- Since we provide the choice of incremental loading of shared objects
- now, we do not have to load them as default anymore. */
-
syms_from_objfile (obj, 0, 0, 0);
new_symfile_objfile (obj, 0, 0);
-#endif
}
+#endif
/* find the end of the list, and append. */
for (vpp = &vmap; *vpp; vpp = &(*vpp)->nxt)