Make structs work on DECstation (sigh)
[binutils-gdb.git] / gdb / ChangeLog
index a2be86b181fe9dd10dae76797eac78f16ecf224e..6941e92e1f6028e9cca0f3f88da523d8a597d321 100644 (file)
@@ -1,3 +1,192 @@
+Wed Nov 27 01:23:41 1991  John Gilmore  (gnu at cygnus.com)
+
+       Fix bugs in C++ debugging.
+
+       * symtab.h:  target_type is not used in record types.
+       Eliminate TYPE_MAIN_VARIANT and TYPE_NEXT_VARIANT.  Eliminate
+       lookup_method_type.  Add TYPE_TYPE_SPECIFIC macro.
+
+       * symtab.c (lookup_member_type):  Don't chain them up, just
+       allocate one in symbol_obstack when we need one.
+       (allocate_stub_method):  Build stub in symbol_obstack.
+       (check_stub_method):  Move here from values.c.  Don't deallocate
+       stub; overwrite it.
+       (lookup_method_type):  Gone now.
+
+       * buildsym.c: Handle g++ v1 stabs a little bit better.
+       Change some C++ parsing error()s to complain()ts.
+       * buildsym.c, findvar.c, printcmd.c, symtab.c:  Make unions and
+       structs have the same representation and work the same as far as
+       C++ is concerned. 
+       * buildsym.c, symtab.c, values.c: Remove all references to
+       TYPE_MAIN_VARIANT and TYPE_NEXT_VARIANT.
+
+       * valops.c:  Improve comments and indentation.  Only call
+       check_stub_method when the stub flag is on.
+       * valprint.c:  Fix or mark minor bugs and unportabilities.
+       
+       * coffread.c (anonymous unions):  Allocate a cplus structure.
+
+       * mipsread.c:  Eliminate "template" types.  Build new, real
+       types whenever we need them.  Allocate cplus structures as needed.
+       Bulletproof the type parsing a bit more.  Mark storage leaks.
+       (parse_type):  Copy TYPE_TYPE_SPECIFIC when copying a real type
+       on top of a partial type.
+
+Fri Nov 22 16:39:57 1991  John Gilmore  (gnu at cygnus.com)
+
+       * inflow.c (terminal_inferior):  Check the results of ioctl's, and
+       print a message if any of them fail.
+       (terminal_ours_1):  Store result of ioctl's for debugging, but
+       don't print (the terminal isn't ours...).
+
+       * tm-tahoe.h (FRAME_ARGS_ADDRESS):  No need to offset from frame
+       pointer.
+
+       * m2-exp.y (MAX, MIN):  Rename to MAX_FUNC, MIN_FUNC to avoid
+       conflicts with system header files.
+
+Fri Nov 22 08:27:40 1991  John Gilmore  (gnu at cygnus.com)
+
+       * Roll VERSION to 4.2.95.
+
+       * buildsym.c, coredep.c, mem-break.c, xcoffread.c:  Put <stdio.h>
+       first, before defs.h.
+       * config/mh-i386sco: Override compiler to gcc, print warning.
+       * configure.in:  Handle i386-none-aout rather than i386-aout-none.
+       * infptrace.c, language.h, utils.c:  Lint.
+       * m2-exp.y:  #undef MAX and MIN in case system includes set them.
+       * xm-tahoe.h:  Set HOST_BYTE_ORDER.  Include system versions of
+       {BIG,LITTLE}_ENDIAN and the INT_MAX family first, to avoid
+       redefinition warnings.
+       * defs.h:  Reorder things so that the xm-file gets first crack
+       at #define's, followed by defs.h and then the tm-file.
+       * Makefile.in:  Remove spaces after 'ignore exit code' - flags.
+       Late-model BSD 'make's don't cope with them.
+
+Thu Nov 21 23:48:56 1991  John Gilmore  (gnu at cygnus.com)
+
+       * Makefile.in:  Roll new files into various lists.
+
+Thu Nov 21 18:26:11 1991  Fred Fish  (fnf at cygnus.com)
+
+       * dwarfread.c (struct_type):  Must initialize the c++ specific
+       portion of union types as well as struct types, since gdb attempts
+       to reference the c++ specific info for both types.
+
+Thu Nov 21 10:23:52 1991  John Gilmore  (gnu at cygnus.com)
+
+       * Makefile.in: Roll VERSION to 4.2.90.
+
+       * defs.h:  Incorporate param.h into defs.h.  All users changed.
+       * param-no-tm.h:  Change users to define TM_FILE_OVERRIDE instead.
+       * param.h, param-no-tm.h:  Removed.
+       * Update copyrights in all changed files.
+       * dbxread.c, dwarfread.c, inflow.c, infrun.c, m2-exp.y, putenv.c,
+       solib.c, symtab.h, tm-umax.h, valprint.c:  Lint.
+       * tm-convex.h, tm-hp300hpux.h, tm-merlin.h, tm-sparc.h,
+       xm-merlin.h:  Avoid host include files in target descriptions.
+       * getpagesize.h:  Removed, libiberty copes now.
+       * Makefile.in:  Remove getpagesize.h, param.h, param-no-tm.h.
+
+       * exec.c (exec_files_info):  If `verbose' is set, show file offset
+       as well.
+
+       * main.c:  Use getcwd rather than getwd.
+       * standalone.c:  Fake getcwd rather than getwd.
+       * xm-*.h:  Remove fake values of MAXPATHLEN.
+
+       * xcoffexec.c:  Add /* */ to #if 0'd thing to help ANSI.
+
+Wed Nov 20 18:35:56 1991  John Gilmore  (gnu at cygnus.com)
+
+       * Remove gdb/hp-include.  Support for HP a.out oddities should be
+       in BFD, not in GDB.  Move gdb/hp-include/a.out.h to include/a.out.hp.h.
+
+       * infptrace.c, tm-sun386.h:  Cashier <a.out.gnu.h>, remove refs.
+
+       * configure.in, xconfig, tconfig, Makefile.in, doc/gdbint.texinfo:
+       Makefile fragments for various hosts and targets now come from
+       gdb/config/mh-* and gdb/config/mt-*.  This is for consistency with
+       other config setups.
+
+       * rs6000-pinsn.c, rs6k-opcode.h:  Clean up.
+       * rs6k-opcode.def:  Delete.
+
+Wed Nov 20 05:04:40 1991  Fred Fish  (fnf at cygnus.com)
+
+       * dwarfread.c:  Recognize obsolete form of AT_element_list
+       attribute still used by at least one AT&T compiler, and possibly
+       more.
+
+Tue Nov 19 07:53:55 1991  Fred Fish  (fnf at cygnus.com)
+
+       * dwarfread.c (enum_type, struct_type):  Ignore names invented by
+       helpful compilers for anonymous structs, unions, and enums.
+
+       * c-exp.y, m2-exp.y:  Add defines for yymaxdepth, yy_yys, and
+       yy_yyv, so multiple parsers produced by SVR4 versions of yacc
+       can coexist in the same executable without collision.
+
+       * symtab.h:  Add declaration for lookup_template_type() to kill
+       compiler warnings about conversions from int to pointer.
+
+Mon Nov 18 17:45:18 1991  Fred Fish  (fnf at cygnus.com)
+
+       * procfs.c:  Move inclusion of defs.h to before param.h, as in
+       all the other source files that include both.  This is required
+       to supply some typedefs that are used in files included by param.h.
+
+       * m68k-tdep.c (m68k_skip_prologue):  Add generic m68k support for
+       skipping function prologues, ala the other cpu families (i386,
+       mips, m88k, etc).  Add the ability to skip movm and fmovm
+       instructions in the prologues.  Still needs support for profile
+       (-p compiled) prologue sequences (FIXME).
+
+       * tm-68k.h:  Change SKIP_PROLOGUE macro to use the new generic
+       m68k prologue skipping function by default.
+
+       * tm-altos.h, tm-isi.h:  Continue to use the old definition of
+       SKIP_PROLOGUE.
+
+Mon Nov 18 15:12:45 1991  John Gilmore  (gnu at cygnus.com)
+
+       * Makefile.in:  Remove tdesc stuff, and extra blanks before colons.
+       * blockframe.c:  Remove tdesc-related code.  Default
+       FRAME_CHAIN_COMBINE.
+       * infrun.c:  Remove tdesc-related code.
+       * m88k-tdep.c (frame_chain_combine, init_frame_pc):  Remove copies
+       of defaultable things.
+       * tm-m88k.h:  New file, common to all Moto 88k target configs.
+       Derived from tm-delta88.h.
+       * tm-delta88.h:  Use it.
+       * xm-m88k.h:  Common file for 88K hosts.  Remove obsolete stuff.
+       * xm-delta88.h:  Use it.
+       * tm-*.h:  Remove FRAME_CHAIN_COMBINE macros, since all are
+       default.
+       * coffread.c:  Remove tdesc stuff.
+       * tconfig/delta88, tconfig/m88k:  Remove tdesc stuff.
+       * xconfig/m88k:  Rename tm-88k.h to tm-m88k.h.
+
+Mon Nov 18 13:51:37 1991  Per Bothner  (bothner at cygnus.com)
+
+       * source.c (open_source_file):  If openp fails, try again
+       using just the base (non-directory) part of the filename.
+       This solves various annoying problems, such as when the
+       source was compiled with an absolute pathname - and the
+       source files have moved.  Or if the source was compiled
+       using a relative pathname, it can be more convenient
+       to just specific the source directory to the dir command.
+
+Mon Nov 18 00:04:41 1991  Fred Fish  (fnf at cygnus.com)
+
+       * cplus-dem.c (munge_function_name):  Add missing third arg to
+       instance of call to do_type().
+
+       * dwarfread.c:  Changes to match new dwarf.h.  Remove 
+       AT_deriv_list, AT_loclist, AT_incomplete, AT_const_data,
+       and AT_is_external.
+
 Sun Nov 17 16:20:53 1991  Michael Tiemann  (tiemann at rtl.cygnus.com)
 
        * symtab.h (struct type): Moved C++-specific fields into new type