Oodles of changes. The most important is adding support for stabs
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 1f50deb908a860406557f1575d05cd14f2ac0652..925b66d9fdd22338c255358dec98e92232df4b1b 100644 (file)
@@ -1,3 +1,210 @@
+Mon Dec 23 13:54:35 1991  Per Bothner  (bothner at cygnus.com)
+
+       * m68k-opcode.h, mips-opcode.h, sparc-opcode.h:  Deleted.
+       * m68k-pinsn.c, mips-pinsn.c, sparc-pinsn.c:
+       Include <opcode/FOO.h> instead of <FOO-opcode.h>.
+
+       * symtab.h, symtab.c, coffread.c, dwarfread.c, symmisc.c,
+       dbxread.c:  The TYPE_CPLUS_SPECIFIC structure is now only
+       allocated when it is needed.  Until it is needed, it points
+       to a shared statically allocated structure.
+
+       * buildsym.h, buildsym.c, dbxread.c: Remove the kludgy code
+       in read_ofile_symtab to recognize two initial N_SO stabs,
+       and let process_on_symbol handle it.  This is cleaner, more
+       efficient, and lets mipsread.c share the same code.
+
+       * symfile.h, partial-stab.h:  Move ADD_PSYMBOL_VT_TO_LIST
+       and related macros to here ...
+       * dbxread.c: ... from here.
+       * symmisc.c:  Move the "overflow" handling from
+       ADD_PSYMBOL_VT_TO_LIST macro into new function extend_psymbol_list.
+       * dwarfread.c:  Re-write add_psymbol_to_list to use
+       ADD_PSYMBOL_VT_TO_LIST macro.
+
+       * mipsread.c: Extend mipsread.c to handle stabs-style symbols
+       encapsulated in ecoff symbols.  This enable full g++ debugging.  
+       * partial-stab.h:  Move the code for pre-scanning symbols
+       and building psymtabs to an include file, out from dbxread.c.
+       This way, the same code can also be used by mipsread.c.
+       * dbxread.c, buildsym.h:  Various changes to allow some functions
+       to be used by mipsread.c (also some arguable stylistic changes).
+
+       * tm-mips.h:  Define BLOCK_ADDRESS_ABSOLUTE, at least for now,
+       since mips-tfile puts relocatable addresses into LBRAC/RBRAC
+       stabs.
+
+       * mipsread.c:  Replace code to handle ambiguous tag blocks.
+       Instead of allocating a TYPE_CODE_UNDEF, guess (by looking
+       at types and offsets) if a tag is a struct, union, or enum.
+       Still patch it later if we find out for sure.
+       * mipsread.c:  In various ways, replace Forin's
+       ideo-syncratic code by code that fits better with the
+       rest of gdb, for both stabs-based and ecoff-based symtabs.
+       E.g.  use end_psymtab; don't do extra passes over FDR table to
+       pre-partition global data; don't use external symbols to
+       create static/global symbols (just put them in the
+       misc_vector); use ADD_PSYMBOL_TO_LIST macro; don't
+       sort psymtabs or symtabs; use obstacks more.
+
+       * symtab.c, mipsread.c, dbxread.c, buildsym.c:
+       ANSIfy: Replace bcopy by memcpy, bzero by memset.
+
+Sun Dec 22 19:31:04 1991  Fred Fish  (fnf at cygnus.com)
+
+       * solib.c (locate_base):  Fix uninitialized variable that was 
+       causing return of random value to callee.
+
+       * config/mh-amix, config/mh-i386v4:  Change to find alloca by
+       compiling and linking alloca.c, even when it is not strictly
+       required.  Also arrange to link with -ltermlib rather than
+       -ltermcap.
+
+       * Makefile.in:  Move TERMCAP definition to prior to inclusion
+       of host makefile fragments so it can be overridden.
+
+Fri Dec 20 16:33:39 1991  John Gilmore  (gnu at cygnus.com)
+
+       * xcoffread.c (read_symbol_lineno):  Logic error in incrementing
+       symbol table entry number.  (From Metin Ozisik.)
+
+Fri Dec 20 11:36:38 1991  Fred Fish  (fnf at cygnus.com)
+
+       * config/mh-i386v4:  Change XM_CLIBS to "-lc /usr/ucblib/libucb.a"
+       so compiles with native compilers (without builtin alloca) can
+       pick up the version from the bsd emulation library.  However, we
+       search the standard C library first so we don't pick up lots of
+       other broken stuff from libucb.a, that we *don't* want.
+
+       * configure.in, tm-amix.h, tm-i386v4.h, xm-amix.h, xm-i386v4.h:
+       Change svr4 references to sysv4.
+
+       * source.c:  Move declaration of external function index to
+       front of file so it is in scope for all references.
+
+       * utils.c (error, fatal):  Make definitions consistent with
+       defs.h declarations (declared as "volatile void").
+
+Fri Dec 20 10:55:36 1991  John Gilmore  (gnu at cygnus.com)
+
+       * rs6k-opcode.h:  Bugfix sfe and stbrx.  By Al Kossow.
+
+Wed Dec 18 17:09:06 1991  Stu Grossman  (grossman at cygnus.com)
+
+       * command.h, defs.h, eval.h, expression.h, remote-sa.sparc.c,
+       sparc-tdep.c, symtab.h, target.h, value.h, vx-share/ptrace.h,
+       vx-share/xdr_ptrace.h, vx-share/xdr_rdb.h:  ANSIfy enums.
+
+Mon Dec 16 12:31:46 1991  Fred Fish  (fnf at cygnus.com)
+
+       * config/mt-amix, config/mt-i386v4:  Add solib.o to TDEPFILES
+       for these SVR4 systems.
+
+       * symfile.c (symbol_file_add):  When verbose is set, print
+       the names of files from which symbols are being loaded, as
+       when from_tty is true.
+
+       * solib.c:  Completely reorganized (rewritten) to support
+       SVR4 shared libraries in a manner very close to the original
+       SunOS implementation.  This support is expected to change and
+       become more general at some future time.  The SVR4 version
+       does not yet work for attached processes, for example.
+
+       * dwarfread.c:  Arrange in dwarf_build_psymtabs() for the 
+       relocation address to be valid whether or not symbols are
+       being read from a shared library or an executable.  Use the
+       relocation address recorded in the psymtab when reading
+       full symbol tables (in read_ofile_symtab).  Ensure that the
+       relocated address ranges are recorded in partial symtabs.
+
+       * elfread.c:  Add new function elf_interpreter() to return the
+       string from the ELF ".interp" section.  This is the interpreter
+       that the kernel tries to run and feed the executable to.
+       Expand arguments to record_misc_function to include a type arg.
+       Modify elf_symtab_read() to supply the type arg, and to do symbol
+       relocations for symbols read in from shared libraries.
+
+       * procfs.c:  Add new functions proc_base_address() and
+       proc_address_to_fd(), used by shared library support.
+
+       * tm-svr4.h:  Add macros to support SVR4 shared libraries.
+       Definitions for SOLIB_ADD, SOLIB_CREATE_INFERIOR_HOOK,
+       CLEAR_SOLIB, and DISABLE_UNSETTABLE_BREAK.
+
+Fri Dec 13 20:11:26 1991  John Gilmore  (gnu at cygnus.com)
+
+       * infrun.c, remote-eb.c, remote-nindy.c, remote-vx.c:  Remove
+       unused START_INFERIOR_HOOK.
+
+       * remote-eb.c:  Change timeout to 24 seconds (*10 fits in byte)
+       to account for slow loading from floppies.
+       (eb_create_inferior):  New fn, from eb_start and
+       nindy_create_inferior.
+       (eb_close):  Only use log_file if nonzero.
+       (eb_xfer_inferior_memory):  If not writing, then read!
+       (eb_read_inferior_memory, eb_write_inferior_memory):  Return length.
+       (eb_kill):  A new no-op.
+       (eb_mourn_inferior):  Remove breakpoints, then generically weep.
+
+Fri Dec 13 16:09:23 1991  Fred Fish  (fnf at cygnus.com)
+
+       * breakpoint.c, findvar.c, infrun.c, putenv.c, stack.c:  Fix
+       miscellaneous comparisons of integer with NULL that elicit
+       compiler warnings about comparison of integer with pointer, when
+       NULL is ((void *) 0) rather than just a bare 0.
+
+Wed Dec 11 13:02:58 1991  John Gilmore  (gnu at cygnus.com)
+
+       * breakpoint.c (breakpoint_re_set_one):  Disable each breakpoint
+       while we reset it, in case of problems.  Print breakpoint number
+       in error messages.
+
+       * buildsym.c (read_struct_type):  Avoid sun3 compiler bug with
+       foo[--n].
+
+       * source.c (find_source_lines): If getting file mod time fails,
+       don't warn.
+
+       * target.c (target_xfer_memory):  If errno is set, return it,
+       rather than EIO.
+
+Tue Dec 10 04:07:22 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
+
+       * Makefile.in: infodir belongs in datadir.
+
+Sun Dec  8 21:13:33 1991  Michael Tiemann  (tiemann at sphagnum.cygnus.com)
+
+       * symtab.h (struct fn_field): Add new fields `is_private',
+       `is_protected', `is_stub', making room by reducing the size of
+       `voffset'.
+       (struct fn_fieldlist): Delete the fields `private_fn_field_bits'
+       and `protected_fn_field_bits'.
+       (TYPE_FN_{PRIVATE,PROTECTED}_BITS): Deleted.
+       (SET_TYPE_FN_{PRIVATE,PROTECTED}): Deleted.
+       (TYPE_FN_{PRIVATE,PROTECTED}): Deleted.
+       (TYPE_FN_FIELD_{STUB,PRIVATE,PROTECTED}): New macros.
+       * valops.c, valprint.c, symtab.c: All callers updated.
+
+       * buildsym.c (read_struct_type): Delete the `visibility' field
+       from `struct next_fnfield', and rework code so that visibility
+       info is stored into the fn_field directly.  Also, hacked to set
+       TYPE_FN_FIELD_STUB for both static and normal member functions.
+
+Sat Dec  7 18:13:11 1991  Fred Fish  (fnf at cygnus.com)
+
+       * i386-tdep.c:  Fix a problem on i386 systems where buffered code
+       stream access was failing to take into account the minimum size
+       granularity of the code section.  For now, the buffering is simply
+       disabled.  There is a similar problem in the i386 disassember code
+       that has not yet been fixed (FIXME).
+
+       * gmalloc.c:  Use macros to hide some of the ugly casting required
+       in the previously applied fix for pointers with high bits set.
+
+Sat Dec  7 16:49:35 1991  John Gilmore  (gnu at cygnus.com)
+
+       * Makefile.in:  Roll VERSION to 4.3.1.
+
 Sat Dec  7 04:12:35 1991  John Gilmore  (gnu at cygnus.com)
 
        GDB-4.3 release!
@@ -18,12 +225,28 @@ Sat Dec  7 04:12:35 1991  John Gilmore  (gnu at cygnus.com)
        operator is machine dependent for negative operands, thus it is
        possible for it to end up negative.  From Fred Fish.
 
+Sat Dec  7 00:00:15 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
+
+       * Makefile.in: install using INSTALL_PROGRAM and INSTALL_DATA.
+         added clean-info.  added some standards.text support and made it
+         look like our other Makefiles.
+
+       * configure.in: mark this directory target dependent.  configure
+         now runs entirely in objdir so make existence tests and
+         references against ${srcdir}.
+
 Fri Dec  6 08:30:36 1991  Fred Fish  (fnf at cygnus.com)
 
        * dwarfread.c (enum_type, struct_type):  Fixes for opaque and
        anonymous enumerations, structures, and unions.  Now passes all
        the current gdb test suite tests.
 
+Thu Dec  5 22:46:13 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
+
+       * Makefile.in: idestdir and ddestdir go away.  Added copyrights
+         and shift gpl to v2.  Added ChangeLog if it didn't exist. docdir
+         and mandir now keyed off datadir by default.
+
 Thu Dec  5 21:53:21 1991  John Gilmore  (gnu at cygnus.com)
 
        * symtab.c (decode_line_1):  If SKIP_PROLOGUE leaves us in
This page took 0.02661 seconds and 4 git commands to generate.