* symfile.c (allocate_symtab): New fn, consolidates the work
authorJohn Gilmore <gnu@cygnus>
Thu, 19 Sep 1991 02:32:35 +0000 (02:32 +0000)
committerJohn Gilmore <gnu@cygnus>
Thu, 19 Sep 1991 02:32:35 +0000 (02:32 +0000)
commit0c4d2cc2b3a353604c3320b867ce5d471fee1ecb
treeb4285f18987cb8dbaad3a36da33ddf59be8eed0f
parent6a3871df09221eac8f64e3137ba53d3190c3d311
* symfile.c (allocate_symtab):  New fn, consolidates the work
of allocating and initializing a new struct symtab.  Set the
language of the symtab based on its filename extension.
* symfile.h:  Declare it.
* mipsread.c (new_symtab):  Use it.  Minor formatting changes.
* dbxread.c (end_symtab):  Use it.

* mipsread.c (parse_symbol, case stParam and stProc):  Add #if 0'd
code for saving types of parameters with each function definition.
* dbxread.c (define_symbol, function and parameter cases):  Ditto.
(read_dbx_symtab, case N_DEFD):  Ignore.
(read_enum_type):  Recognize FALSE/TRUE enum as Modula-2 BOOLEAN
type.
(read_range_type):  Rename MAX_OF_TYPE to MAX_OF_C_TYPE, etc.
#if 0 out its uses, though, since they set a dead value.
* coffread.c (end_symtab):  Use allocate_symtab.
(process_coff_symbol):  #if 0'd for functions and params as above.
(read_enum_type):  Recognize Modula-2 BOOLEAN.
gdb/dbxread.c
gdb/mipsread.c
This page took 0.0302 seconds and 4 git commands to generate.