* symfile.h: Add prototype for iterate_over_msymbols().

* symtab.c (cplus_mangled_symbol):  Add function.
	* symtab.c (lookup_symbol):  Call cplus_mangled_symbol via
	iterate_over_msymbols to find demangled C++ symbol.
	* xcoffexec.c (relocate_minimal_symbol): Return meaningful
	value to iterate_over_msymbols().
	* xcoffexec.c (vmap_symtab):  Ignore return from iterate_over_
	msymbols().
This commit is contained in:
Fred Fish 1992-03-09 05:23:45 +00:00
parent a215e6f930
commit a846ac554c
2 changed files with 35 additions and 2 deletions

View File

@ -1,3 +1,18 @@
Sun Mar 8 21:17:48 1992 Fred Fish (fnf@cygnus.com)
* symfile.h: Add prototype for iterate_over_msymbols().
* symtab.c (cplus_mangled_symbol): Add function.
* symtab.c (lookup_symbol): Call cplus_mangled_symbol via
iterate_over_msymbols to find demangled C++ symbol.
* xcoffexec.c (relocate_minimal_symbol): Return meaningful
value to iterate_over_msymbols().
* xcoffexec.c (vmap_symtab): Ignore return from iterate_over_
msymbols().
Fri Mar 6 21:59:34 1992 K. Richard Pixley (rich@cygnus.com)
* Makefile.in: added check target.
Thu Mar 5 23:56:01 1992 John Gilmore (gnu at cygnus.com)
* ecoff.c: Move to ../bfd/coff-msym.c.
@ -11,6 +26,13 @@ Thu Mar 5 23:56:01 1992 John Gilmore (gnu at cygnus.com)
* mipsread.c (fixup_symtab): Also swap RFD's.
(parse_partial_symbols): Avoid bug on unknown symbol types.
* Makefile.in (VERSION): Roll to 4.4.5.
* mips-tdep.c (heuristic_proc_start): Avoid long delays
for remote MIPS by limiting heuristic to 200 byte search.
(heuristic_proc_desc): Byte-swapping.
(mips_print_register): Cope with failure of
read_relative_register_raw_bytes. Byte-swap integers for
printing.
* mips-pinsn.c (print_insn): Byte-swap instruction.
Thu Mar 5 12:32:09 1992 Stu Grossman (grossman at cygnus.com)
@ -32,6 +54,10 @@ Wed Mar 4 11:56:42 1992 Fred Fish (fnf@cygnus.com)
* xm-sysv4.h: Back out of change for missing prototypes.
* i386-tdep.c (get_longjmp_target): Add function.
Wed Mar 4 05:46:11 1992 K. Richard Pixley (rich@rtl.cygnus.com)
* Makefile.in: install man page too.
Tue Mar 3 15:11:52 1992 Michael Tiemann (tiemann@cygnus.com)
* All GDB files that #include defs.h: Removed stdio.h.
@ -226,6 +252,12 @@ Thu Feb 27 06:11:05 1992 John Gilmore (gnu at cygnus.com)
specifying a new symbol file.
(reread_symbols): Stat the file name, don't fstat the descriptor.
Wed Feb 26 18:04:40 1992 K. Richard Pixley (rich@cygnus.com)
* Makefile.in, configure.in: removed traces of namesubdir,
-subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced
copyrights to '92, changed some from Cygnus to FSF.
Tue Feb 25 19:31:19 1992 Stu Grossman (grossman at cygnus.com)
* dbxread.c (end_psymtab): Delete empty psymtabs.

View File

@ -330,7 +330,7 @@ map_vmap (bfd *bf, bfd *arch)
/* Called via iterate_over_msymbols to relocate minimal symbols */
static void
static PTR
relocate_minimal_symbol (objfile, msymbol, arg1, arg2, arg3)
struct objfile *objfile;
struct minimal_symbol *msymbol;
@ -340,6 +340,7 @@ relocate_minimal_symbol (objfile, msymbol, arg1, arg2, arg3)
{
if (msymbol->address < TEXT_SEGMENT_BASE)
msymbol -> address += (int) arg1;
return (NULL);
}
/* true, if symbol table and minimal symbol table are relocated. */
@ -404,7 +405,7 @@ struct stat *vip;
}
}
if (vp->tstart != old_start) {
iterate_over_msymbols (relocate_minimal_symbol,
(void) iterate_over_msymbols (relocate_minimal_symbol,
(PTR) (vp->tstart - old_start),
(PTR) NULL, (PTR) NULL);