Commit Graph

162 Commits

Author SHA1 Message Date
John Gilmore d47d5315c8 * symfile.c (syms_from_bfd): New routine.
(add_symbol_file):  Call it to do the real work.
(syms_from_bfd):  Initialize entry_point before calling symfile_init.
* symtab.h, symfile.c, coffread.c, mipsread.c, dwarfread.c:
Avoid declaring or setting entry_point (symfile.h & symfile.c cope).
1991-10-26 08:02:23 +00:00
John Gilmore d8ce13268e * coffread.c (coff_symfile_read): Use xmalloc, not malloc.
* language.c, printcmd.c:  Lint.
        * language.h (get_frame_language):  Declare.
        * saber.suppress:  update.
        * stack.c (find_relative_frame):  Remove complex code that was
        #if 0'd, stick with simple code.  Lint.
	* saber.suppress:  Update a bit.
        * symfile.c (add_symbol_file_command):  Add "?" to question.
        * utils.c (parse_escape):  Avoid \a due to bdead compilers.
        * value.h:  Declare typedef_print.

        * valprint.c (val_print, type_print_base):  TYPE_CODE_RANGE less
        kludgey.
1991-09-28 01:35:29 +00:00
Stu Grossman 61a7292f6f lint 1991-08-22 22:50:50 +00:00
John Gilmore d11c44f1ee Roll in Tiemann changes for gcc -ansi. Fix assorted bugs. See ChangeLog. 1991-05-30 08:52:52 +00:00
Jim Kingdon e1ce8aa5ed The list of changes is too long to fit in the cvs log (since it truncates!).
Look at the ChangeLog for Apr 30 and May 1.
1991-05-02 04:28:42 +00:00
Jim Kingdon 7cc4387940 * symfile.c (fill_in_vptr_fieldno): Don't call check_stub_type.
Return void not int. (also declarations in symfile.h and value.h).
	Deal with multiple inheritance.
1991-04-26 23:00:55 +00:00
Jim Kingdon 2403f49b37 * blockframe.c, frame.h (reinit_frame_cache): New function.
solib.c (solib_add), symfile.c ({,add_}symbol_file_command):
	Use it.
1991-04-24 16:56:40 +00:00
Jim Kingdon b3fdaf3d36 * symfile.c (symbol_file_add): Add comment.
solib.c (solib_add): Don't malloc name passed to symbol_file_add.
1991-04-22 20:09:26 +00:00
Jim Kingdon e74d7b43a8 * symfile.c: Rename add_syms_command to add_symbol_file_command.
(_initialize_symfile, add_syms_addr_command):
	Rename add-syms to add-symbol-file.
1991-04-19 01:38:55 +00:00
John Gilmore 9d19971230 * symfile.c (clear_symtab_users_once, cashier_psymtab,
free_named_symtabs):  Move these routines from symmisc.c.
1991-04-19 01:09:45 +00:00
John Gilmore 0ef6f0192d Permit symbols to be superseded when new symbol files have
been read in, particularly for VxWorks.

        * symfile.c (symbol_file_add):  Use filtered printing and wrap it.
        If we have wiped out any old symbol tables, clean up at end of
        symbol reading.
        (symbol_file_command):  Don't reference symfile_fns if it's zero.
1991-04-13 22:37:48 +00:00
K. Richard Pixley bd5635a1e2 Initial revision 1991-03-28 16:26:26 +00:00