aboutsummaryrefslogtreecommitdiff
path: root/gdb/elfread.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-02-22 08:17:01 +0000
committerJohn Gilmore <gnu@cygnus>1992-02-22 08:17:01 +0000
commit021959e249f6aaddc39b5c61f692cd9155e33f52 (patch)
tree0b96c8808917805c20bbca995a14dc4140b4110f /gdb/elfread.c
parentf48e5efef7dfd67534c651172172f3ddb2b46e4d (diff)
downloadgdb-021959e249f6aaddc39b5c61f692cd9155e33f52.zip
gdb-021959e249f6aaddc39b5c61f692cd9155e33f52.tar.gz
gdb-021959e249f6aaddc39b5c61f692cd9155e33f52.tar.bz2
* xm-sun3os4.h, xm-sun4os4.h: Enable HAVE_MMAP.
* minsyms.c (install_minimal_symbols): Add bunches to any existing minsyms in the objfile. Avoid extra mallocation by working directly in the obstack. Remove ignored `mainline' parm. * coffread.c, dbxread.c, elfread.c, mipsread.c, solib.c, symtab.h, xcoffread.c: Change all callers. * FIXME: We should be able to eliminate MAINLINE from all the symbol readers now, with a small bit of work. * valops.c, value.h: Lint. * remote-vx.c: Add missing break; statement. Bugfix by Michael Sclafani, <sclafani@src.dec.com>.
Diffstat (limited to 'gdb/elfread.c')
-rw-r--r--gdb/elfread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/elfread.c b/gdb/elfread.c
index f1d7f49..8b72f80 100644
--- a/gdb/elfread.c
+++ b/gdb/elfread.c
@@ -313,7 +313,7 @@ elf_symfile_read (sf, addr, mainline)
/* Install any minimal symbols that have been collected as the current
minimal symbols for this objfile. */
- install_minimal_symbols (!mainline, sf -> objfile);
+ install_minimal_symbols (sf -> objfile);
do_cleanups (back_to);
}