* elfread.c (record_minimal_symbol_and_info): Kludged to put
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 889d3d5b4d8bcb5411bfc8d599155371b6378657..186dc6bb817bc060eb731f7c7b3b6b8aa9c4af03 100644 (file)
@@ -1,3 +1,309 @@
+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.
+
+Fri Jun  5 11:51:01 1992  John Gilmore  (gnu at cygnus.com)
+
+       * blockframe.c (inside_entry_file, inside_main_func,
+       inside_entry_func):  Return 0 if no symbols; avoid crashing.
+
+Wed Jun  3 17:48:04 1992  John Gilmore  (gnu@cygnus.com)
+
+       * xcoffread.c (read_xcoff_symtab):  Set c_sclass from n_sclass
+       without masking, since it is signed and will later be compared
+       against signed quantities.  The right fix is probably to make
+       it all unsigned, but this is a small, safe fix for this release.
+       FIXME -- make the real change sometime soon.
+
+Mon Jun  1 16:16:12 1992  Michael Tiemann  (tiemann@cygnus.com)
+
+       * remote-vx.c (vx_load_command,add_symbol_stub): Default READNOW
+       parameter in call to `symbol_file_add' to 0.
+
+       * xm-sun4os4.h (MALLOC_INCOMPATIBLE): Define it.
+
+Sun May 31 06:38:27 1992  Michael Tiemann  (tiemann@cygnus.com)
+
+       * configure.in: Handle -m680[01234]0-wrs.
+
+Fri May 29 22:16:02 1992  Michael Tiemann  (tiemann@rtl.cygnus.com)
+
+       * m68k-pinsn.c (print_insn_arg): Pass &EXT_FORMAT_68881 to
+       `ieee_extended_to_double'.
+
+Wed May 27 09:27:57 1992  John Gilmore  (gnu at cygnus.com)
+
+       * valops.c (value_assign):  Lint, by Pierre Willard.
+
+Tue May 19 19:38:10 1992  John Gilmore  (gnu at cygnus.com)
+
+       * coredep.c (fetch_core_registers):  Remove premature warning,
+       which triggers on DECstation even though all regs are accessible.
+
+       * m68k-pinsn.c (print_insn_arg):  Use new macros to get
+       sign-extension of instruction fields even on unsigned-char hosts.
+       Bug found by Fred J Roeber, fjr@sgfb.ssd.ray.com.
+
+       88K changes inspired by Ted Lemon (uunet!lupine!mellon):
+       * tm-m88k.h, tm-umax.h:  Avoid sizeof() in REGISTER_xxx macros,
+       since they define the target, not the host.
+       * m88k-pinsn.c:  Fix typo.
+
+Thu May 14 01:16:48 1992  John Gilmore  (gnu at cygnus.com)
+
+       * valarith.c (value_zerop):  -0.0 is still zero.
+       * eval.c (evaluate_subexp):  Avoid NaN anomalies in float compares.
+       Patches by Paul Eggert <eggert@twinsun.com>.
+
+Mon May 18 13:53:51 1992  Stu Grossman  (grossman at cygnus.com)
+
+       * alldeps.mak, depend:  re-make to account for ser-*.c.
+
+Sun May 17 16:51:20 1992  Fred Fish  (fnf@cygnus.com)
+
+       * inflow.c (new_tty):  Temporarily ignore SIGTTOU when
+       disconnecting from controlling terminal, to avoid gdb hanging
+       on SVR4.  Fixes bug reported by Oliver Okrongli.
+       * procfs.c (PROC_NAME_FMT):  Change format to match default used
+       by system, as suggested by Oliver Okrongli.
+       * tm-68k.h (FRAME_FIND_SAVED_REGS):  Apply missing parentheses
+       bug fix from Brent Townshend (bst%tt@cam.ORG).
+       * c-exp.y (nonempty_typelist):  Fix memory overrun bug reported
+       by turlais@rechser.total.fr.
+       * dwarfread.c (decode_subscr_data):  Fix bug in calculation of
+       length of non-zero lowerbound arrays.  Bug fix from Peggy Fieland.
+       * objfiles.h (unlink_objfile):  Add prototype.
+       * objfiles.c (unlink_objfile):  Add function.
+       * objfiles.c (free_objfile):  Call unlink_objfile.
+       * objfiles.c (allocate_objfile):  Call unlink_objfile on newly
+       remapped objfiles.  Bug reported by hahn@sunshine.labs.tek.com.
+       Also, discard old possibly bogus sf struct.
+       * symfile.c (symbol_file_add):  Call init_entry_point_info() and
+       find_sym_fns() for remapped symbol files, in case of any changes
+       since the last mapping.
+
+Wed May 13 18:28:20 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
+
+       * findvar.c (read_relative_register_raw_bytes): use the raw size
+       of a register to bcopy, rather than the host's sizeof(CORE_ADDR).
+
+Tue May 12 17:44:39 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
+
+       Changes to support GDB running on DOS using GO32 and H8 support
+
+       * defs.h: if xm.h doesn't define FOPEN_RB, include "fopen-same.h",
+       allowing hosts with different text and binary file formats to
+       work.
+       * coffread.c (read_coff_symtab): changed calling convention and
+       operation - now it opens its own file with FOPEN_RB rather than
+       duping and fdopening the provided handle.
+       * dbxread.c, cplus-dem.c: #include mangling.
+       * exec.c: If O_BINARY isn't defined, set it to 0, call openp for
+       binary files oring in the right bit.
+       * utils.c, terminal.h, inflow.c: hackery because dos doesn't have terminals.
+       * remote-hms.c: cleanup to use the new remote serial stuff
+       * serial.h, ser-termios.c, ser-go32.c: newfiles to provide host
+       independent remote terminal I/O.
+       * remote.c: if DONT_USE_REMOTE not defined, then don't use it.
+       * source.c (openp): fix off by one problem removing / - can now
+       open a source file in the root directory with DOS.
+       * values.c (value_as_pointer): remove bogus address bits from
+       long. (unpack_long): unpack into unsigned long/short if pointer.
+
+Tue May 12 14:15:48 1992  Stu Grossman  (grossman at cygnus.com)
+
+       * infrun.c (child_attach):  Don't allow gdb to attach to itself.
+       It gets permanently stuck in many OSes.
+       * breakpoint.c, infcmd.c, infrun.c, utils.c:  Change many printfs
+       to printf_filtered.
+       * breakpoint.c: Improve help text for info breakpoints.
+
+Mon May 11 14:17:18 1992  John Gilmore  (gnu at cygnus.com)
+
+       * README:  Add pointer to internals doc, and describe reading
+       info files.
+       * utils.c (print_sys_errmsg):  Use stderr.  Reported by Pierre Willard.
+       * symtab.c (output_source_filename):  Remove old glop for wrapping
+       lines, use wrap_here.  Reported by Pierre Willard (pierre@la.tce.com).
+
+Thu May  7 11:45:03 1992  John Gilmore  (gnu at cygnus.com)
+
+       * Makefile.in:  version.c should depend on Makefile, not Makefile.in.
+       * munch:  Add sort -u to avoid duplications.
+       * symtab.c (lookup_symbol):  Improve Stu's fix of 22 April.
+       Improved fix by hahn@sunshine.labs.tek.com (Doug Hahn).
+
+Mon May 11 13:27:46 1992  Fred Fish  (fnf@cygnus.com)
+
+       * cplus-dem.c (demangle_signature):  Recognize misplaced '_' to
+       avoid infinite loops while demangling bogus mangled names.
+       * valprint.c (type_print_base):  Minor fix for GNU style guide
+       conformance.
+
+Sat May  9 18:02:17 1992  Fred Fish  (fnf at fishpond)
+
+       * Makefile.in (VERSION):  Bump to 4.5.3
+       * Makefile.in (DEMANGLE_OPTS):  Remove obsolete -Dnounderscore
+       * Makefile.in (demangle):  New target to create standalone
+       demangler with same code and options as internal demangler.
+       * cplus-dem.c:  Massive restructuring, rewriting, cleanups, etc
+       to support ARM style and Lucid style demangling, improve
+       maintainability, fix several demangling bugs.  More changes
+       to follow.
+       * defs.h (strstr):  Add ANSI compatible prototype.
+       * valprint.c (type_print_1):  Demangle using ansi option.
+       * config/ncr3000.mt (DEMANGLE_OPTS):  Remove -Dnounderscore.
+
 Sat May  9 14:47:28 1992  Stu Grossman  (grossman at cygnus.com)
 
        * xcoffexec.c (vmap_exec):  Don't assume .text and .data are the
@@ -8,15 +314,17 @@ Fri May  8 11:42:15 1992  Per Bothner  (bothner@rtl.cygnus.com)
        * mipsread.c (parse_procedure):  Return rather than using
        uninitialized variable 'b'.
 
-Fri May  8 07:48:27 1992  K. Richard Pixley  (rich@cygnus.com)
+Fri May  8 07:48:27 1992  Stu Grossman  (grossman at cygnus.com)
 
        * Makefile.in, remote-udi.c, remote-vx.c, 29k-share/dfe/mini2udi.c,
        29k-share/dfe/yank.c, vx-share/xdr_ptrace.c, vx-share/xdr_regs.c:
        Remove -I29k-share, -Ivx-share from Makefile.in.  Make #includes
        relative to each source file.
 
+Fri May  8 07:48:27 1992  K. Richard Pixley  (rich@cygnus.com)
+
        * Makefile.in: propogate INSTALL, INSTALL_DATA, INSTALL_PROGRAM on
-         recursions.
+       recursions.
 
 Thu May  7 10:00:52 1992  Stu Grossman  (grossman at cygnus.com)
 
This page took 0.027588 seconds and 4 git commands to generate.