Jim Kingdon [Fri, 19 Apr 1991 17:28:32 +0000 (17:28 +0000)]
* Makefile.dist (cplus-dem.o): Hack in an #include "param.h"
before we compile it.
defs.h: Protect against multiple inclusion.
param.h: Include defs.h.
John Gilmore [Fri, 19 Apr 1991 01:55:07 +0000 (01:55 +0000)]
* symtab.h (GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK): New
defines for the blocks of a blockvector that contain global and
file-static symbols and the first of the smaller scope contours.
* symtab.c (lookup_symbol, find_pc_symtab, find_pc_line,
decode_line_1, make_symbol_completion_list): Use the above.
* symtab.c (list_symbols): Process the first symbol of the
static psymbols list.
(types_info): Restore this function from its untimely #if 0.
It's not perfect, but it is better than nothing.
(_initialize_symtab): Restore "info types".
Jim Kingdon [Fri, 19 Apr 1991 01:36:57 +0000 (01:36 +0000)]
* target.h: Add to_doc and target_preopen.
target.c: Add target_preopen and target_command.
Remove target_info.
(add_target): Call add_cmd and mess with targetlist->doc.
core.c, exec.c, remote-eb.c, remote-nindy.c, remote-vx.c,
remote-vx.68.c, inftarg.c, remote.c: Add doc field to target struct.
Call target_preopen from open routine.
John Gilmore [Sat, 13 Apr 1991 22:37:48 +0000 (22:37 +0000)]
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.
John Gilmore [Sat, 13 Apr 1991 22:31:54 +0000 (22:31 +0000)]
* symtab.h (GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK): New
defines for the blocks of a blockvector that contain global and
file-static symbols and the first of the smaller scope contours.
* mipsread.c: Use them.
* coffread.c (end_psymtab): Free named symtabs and psymtabs for
a file, once a new symtab has been read for it.
* mipsread.c: FIXME. We need to do the same for MIPS, but it
looks harder to determine the top-level block before it's been
queued to the psymtab list.
John Gilmore [Sat, 13 Apr 1991 22:29:36 +0000 (22:29 +0000)]
* coffread.c (end_psymtab): Free named symtabs and psymtabs for
a file, once a new symtab has been read for it.
* symtab.h (GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK): New
defines for the blocks of a blockvector that contain global and
file-static symbols and the first of the smaller scope contours.
* symtab.c (lookup_symbol, find_pc_symtab, find_pc_line,
decode_line_1, make_symbol_completion_list): Use the above.
* coffread.c (end_symtab, patch_opaque_types): Ditto.
John Gilmore [Sat, 13 Apr 1991 22:21:23 +0000 (22:21 +0000)]
* symtab.h (GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK): New
defines for the blocks of a blockvector that contain global and
file-static symbols and the first of the smaller scope contours.
John Gilmore [Sat, 13 Apr 1991 21:51:28 +0000 (21:51 +0000)]
Permit symbols to be superseded when new symbol files have
been read in, particularly for VxWorks.
* dbxread.c (read_dbx_symtab): Allow N_SOL to cleanly take us back
to the main file, as well as to include files. Also, put global
functions into the global psymtab, to make "i fun" work.
(end_psymtab): Free named symtabs and psymtabs for a file, once a
new psymtab for it has been read.
Michael Tiemann [Sat, 13 Apr 1991 13:06:16 +0000 (13:06 +0000)]
Don't depend `install' on `all'. Actually, the way things work, all
depends on things being incrementally installed, and install depends
on everything happening in a topological fashion.
This will need to be worked on further, but for now it's ok.