* elfread.c (record_minimal_symbol_and_info): Kludged to put
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 5e0dcadeade7aefc9e478046caf9e4921ae418ce..186dc6bb817bc060eb731f7c7b3b6b8aa9c4af03 100644 (file)
@@ -1,5 +1,154 @@
+Fri Jun 12 18:54:40 1992  John Gilmore  (gnu at cygnus.com)
+
+       * arm-pinsn.c, i960-pinsn.c, m68k-pinsn.c, mips-pinsn.c, 
+       ns32k-pinsn.c, pyr-pinsn.c, sparc-pinsn.c, tahoe-pinsn.c, 
+       vax-pinsn.c:  Remove reg_names decl (now in defs.h).
+
+       Solaris-2 support on SPARC:
+
+       * dbxread.c:  Add symbol_size to struct dbx_symfile_info.
+       Add symbol_size and file offsets to struct symloc.
+       Add static symbol_table_offset, string_table_offset,
+       file_string_table_offset, next_file_string_table_offset, 
+       last_function_name.
+       (add_old_header_file):  Convert error() to complain()t.
+       (dbx_symfile_read):  Get symbol size via the objfile.
+       Also get symbol_table_offset.
+       (dbx_symfile_init):  Record symbol size and count via the objfile.
+       (dbx_next_symbol_text):  Always add file_string_table_offset when
+       accessing string table.
+       (read_dbx_symtab):  Initialize file_string_table_offset to 0.
+       (SET_NAMESTRING):  Use the offset.
+       (end_psymtab):  Large kludge to determine addresses where source
+       files start and end (for the psymtab header).
+       (psymtab_to_symtab_1):  Set file_string_table_offset before reading.
+       Get this, symbol size, and symbol offset, from psymtab.
+       (read_ofile_symtab):  Don't back up one symbol for Solaris2.
+       Patch up last_source_start_addr if zero in N_SO.
+       (process_one_symbol):  Add variable function_start_offset.
+       ( "", N_FUN, N_LBRAC, N_RBRAC, N_SLINE):  Add ifdef for
+       BLOCK_ADDRESS_FUNCTION_RELATIVE.
+       ( "", N_OBJ, N_OPT):  Ignore.
+       (elfstab_build_psymtabs):  New function to read stabs out of
+       an ELF file.
+
+       * Makefile.in:  Accept $(BISON) even though we really want $(YACC).
+       (gdb):  use GLOBAL_CFLAGS when linking, too.
+       * partial-stab.h (N_UNDF):  Deal with Sol2 relative stringtab offsets.
+       (N_OBJ, N_OPT):  Ignore.
+       ('f', 'F'):  Save last function name.
+
+       * elfread.c (record_minimal_symbol_and_info):  Kludged to put
+       extra info in the minimal symbol.
+       (elf_symtab_read):  The extra info is the size of an ELF object,
+       which was kludged to us in the `udata' field of the BFD symbol.
+       Gag me with a crowbar...
+       (elf_symfile_read):  Keep track of both the absolute load address,
+       and the offset between load addr and symbols.  Handle STABS as
+       well as DWARF sections, passing the absolute load address to
+       elfstab_build_psymtabs.
+
+       * symfile.h:  Prototype elfstab_build_psymtabs.
+       * symfile.c:  Add almost-OK debug versions of add_psymbol_*to_list.
+
+       * xm-sysv4.h:  Add <limits.h> to avoid conflicting defns in defs.h.
+
+       * buildsym.h:  Add processing_acc_compilation flag.
+       * buildsym.c (read_sun_builtin_type, read_sun_floating_type):  New.
+       (define_symbol):  Skip arg types in function entries.  Resolve
+       overloaded 'P' which acc uses for prototypes of functions called
+       by this file.
+       (read_type: 'b', 'r'):  Handle Solaris2 builtin types.
+
+       * minsyms.c (prim_record_minimal_symbol_and_info):  Hack to
+       save size of ELF symbols.  FIXME.
+       * tm-sun4os5.h:  Rename to tm-sun4sol2.h.  Update defines for Sol2.
+       * xm-sun4os5.h:  Rename to xm-sun4sol2.h.  Hack more defines.
+
+       * configure.in:  Solaris config is sparc-sun-solaris2.
+       * config/sun4os5.m[ht]:  Rename to config/sun4sol2.m[ht]; new xm, tm.
+
+       * objfiles.c (free_objfile):  Eliminate storage leaks.  Contributed
+       by <Peter.Schauer@regent.e-technik.tu-muenchen.dbp.de>. 
+       * symfile.c (symfile_bfd_open):  Comment where name is freed.
+       * symmisc.c (extend_psymbol_list):  Comment where list is freed.
+
+Fri Jun 12 12:49:43 1992  Fred Fish  (fnf@cygnus.com)
+
+       * expprint.c (print_subexp):  Add missing ']'.
+       * defs.h (reg_names):  Fix declaration to match that in infcmd.c
+       * stack.c (reg_names):  Delete redundant (and inconsistent) decl.
+       * WHATS.NEW:  Point out improved C++ function name handling.
+       * gdbtypes.c (lookup_fundamental_type):  For now, use the same
+       type names for both implicitly and explicitly signed integral
+       types.  See comment in the source code.
+
+Thu Jun 11 12:31:50 1992  John Gilmore  (gnu at cygnus.com)
+
+       Two `long long' fixes from Robert R. Henry (rrh@dino.tera.com):
+       * defs.h (longest_to_int):  Avoid void arm of ?: in error case.
+       * expprint.c (print_subexp):  Fix printing of register names.
+
+Thu Jun 11 01:33:40 1992  John Gilmore  (gnu at cygnus.com)
+
+       * inferior.h (register_valid):  Declare.
+       * remote-udi.c, rs6000-xdep.c, sparc-xdep.c, tm-rs6000.h:  Remove decl.
+       * objfiles.h (ALL_OBJFILE_{SYMTABS,PSYMTABS,MSYMBOLS}):  Add
+       macros for traversing the data structures in a single objfile.
+       * tm-m88k.h, tm-sparc.h (REGISTER_NAMES):  Remove extra semicolon.
+       * tm-i960.h (REGISTER_NAMES):  Cosmetic change.
+       * infcmd.c:  Lint.
+
+Tue Jun  9 17:19:45 1992  Fred Fish  (fnf@cygnus.com)
+
+       * c-exp.y, m2-exp.y:  Move remapping defines for malloc and
+       realloc.  Add remapping defines for {yyss, yyssp, yyvs, yyvsp}.
+       * config/{amix.mh, i386v4.mh, ncr3000.mh, stratus.mh,
+       sun4os5.mh}:  Add definition for INSTALL using /usr/ucb/install.
+
+Tue Jun  9 16:29:19 1992  Stu Grossman  (grossman at cygnus.com)
+
+       * depend:  rebuild to account for remote-st2000.c.
+       * remote-st2000.c:  Almost works now.
+       * tm-st2000.h:  Need to turn on HAVE_68881, else things won't compile.
+
+Mon Jun  8 23:05:51 1992  Fred Fish  (fnf@cygnus.com)
+
+       * c-exp.y (yylex):  Recognize single-quoted strings that specify
+       tokens with embedded whitespace, such as C++ demangled names.
+       * defs.h (demangle_and_match, strcmp_iw, skip_quoted):  Prototypes.
+       * main.c (gdb_completer_quote_characters):  Add global variable.
+       * main.c (symbol_completion_function):  Total rewrite for C++
+       demangled name handling.
+       * main.c (skip_quoted):  New function.
+       * main.c (main):  Set rl_completer_quote_characters.
+       * symmisc.c (dump_symtab):  Print source language for symtab.   
+       * symtab.c (expensive_mangler):  Add prototype and function.
+       * symtab.c (completion_list_add_symbol):  Total rewrite for new
+       C++ demangled name handling.
+       * symtab.c (lookup_symbol): Check for demangled C++ symbol first,
+       other changes for demangled C++ symbol handling.
+       * symtab.c (lookup_demangled_block_symbol):  Use demangle_and_match.
+       * symtab.c (lookup_demangled_partial_symbol):  Use demangle_and_match.
+       * symtab.c (decode_line_1):  Recognize C++ demangled names on input.
+       * symtab.c (completion_list_add_symbol):  Total rewrite for new
+       C++ demangled name handling.
+       * symtab.c (expensive_mangler):  New function.
+       * utils.c (strcmp_iw, demangle_and_match):  New functions.
+       * xcoffread.c (aixcoff_symfile_read):  Fix prototype.
+
+Mon Jun  8 21:59:08 1992  John Gilmore  (gnu at cygnus.com)
+
+       * Makefile.in:  Roll VERSION to 4.5.4.
+       * Makefile.in, config/*.mh, config/*.mt:  Rename TM_CFLAGS
+       to MT_CFLAGS, XM_CFLAGS to MH_CFLAGS to match file names.
+       * config/sun4os5.mh:  Add MH_CFLAGS=-xs to save debug info.
+
 Mon Jun  8 14:17:42 1992  Stu Grossman  (grossman at cygnus.com)
 
+       * alldeps.mak:  Rebuild to account for new files.
+       * config/st2000.mt:  Use tm-st2000.h, not tm-68k.h.
+       * tm-st2000.h:  New file.
        * configure.in:  Tandem debug monitor (st2000) support.
        * remote-st2000.c, config/st2000.mt:  ditto.
 
This page took 0.025532 seconds and 4 git commands to generate.