From dd46978997bc1b45d023f36b34fba9fe290ed887 Mon Sep 17 00:00:00 2001 From: John Gilmore Date: Thu, 11 Feb 1993 07:57:35 +0000 Subject: * 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. --- gdb/xcoffexec.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'gdb/xcoffexec.c') 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) -- cgit v1.1