* breakpoint.c, buildsym.c, c-exp.y, coffread.c, command.c,
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index c3669adea85410c9c05c38e4ef2a286e5062a86a..9f07240d582ea60ab4065942daccdcdfbf47e72e 100644 (file)
@@ -1,5 +1,381 @@
+Fri Jul  3 20:18:26 1992  Fred Fish  (fnf@cygnus.com)
+
+       * breakpoint.c, buildsym.c, c-exp.y, coffread.c, command.c,
+       core.c, cplus-dem.c, dbxread.c, dwarfread.c, elfread.c, environ.c,
+       eval.c, findvar.c, gdbtypes.c, hppabsd-tdep.c, hppahpux-tdep.c,
+       i386-tdep.c, ieee-float.c, infcmd.c, inflow.c, infptrace.c,
+       infrun.c, m2-exp.y, mipsread.c, objfiles.c, parse.c, procfs.c,
+       putenv.c, remote-mm.c, remote-vx.c, solib.c, sparc-tdep.c,
+       sparc-xdep.c, stack.c, symfile.c, symtab.c, symtab.h, target.c,
+       tm-i386v.h, tm-sparc.h, utils.c, valarith.c, valops.c, valprint.c,
+       values.c, xcoffread.c:
+       Remove "(void)" casts from function calls where the return value
+       is ignored, in accordance with GNU coding standards.
+
+Fri Jul  3 00:00:49 1992  John Gilmore  (gnu at cygnus.com)
+
+       * dbxread.c (process_one_symbol):  Ignore N_MAIN, N_ENDM for Solaris.
+       * partial-stab.h:  Ignore N_ENDM.
+       * elfread.c (elf_symtab_read):  Ignore symbols that don't have a
+       CODE or DATA section attachment.  This eliminates a lot of random
+       values from shared libraries, which screw up the ordinary symbols
+       in the address ranges they happen to overlap.
+       * buildsym.c (define_symbol):  Eliminate special tests
+       for function types; move into "function" cases in switch statement.
+       (define_symbol: 'f', 'F', 'P'):  Process all parameter types
+       in case they define new type numbers.  But ignore them (FIXME).
+       ('k', 'B'):  Ignore const and volatile if we see them (FIXME).
+       (read_sun_builtin_type):  Add commentary.
+
+Tue Jun 30 02:25:10 1992  John Gilmore  (gnu at cygnus.com)
+
+       * tm-mips.h (GDB_TARGET_IS_MIPS):  Define for mips-xdep.c.
+       (READ_MIPS_FORMAT, COFF_FORMAT):  Remove, unused now.
+       * mips-xdep.c:  Remove most include files (unused, caused errs).
+       (fetch_core_registers):  Use right parameters in dummy fn.
+
+Mon Jun 29 18:30:57 1992  John Gilmore  (gnu at cygnus.com)
+
+       * buildsym.c (scan_file_globals):  Beware the null file.
+       Fix from Jim Williams.
+
+       * stack.c (return_command):  Evaluate expression *before* popping
+       off the stack frames!  Fix inspired by Jim Williams.
+       (up_silently_command, down_silently_command):  No sel frame is error.
+
+       * defs.h (memcpy, memset):  Conditionalize decls on
+       #ifndef MEM_FNS_DECLARED, since DECstation differs.
+       (alloca):  Break out the STDC and non-STDC alloca cases, to make
+       it work on old preprocessors as well as "picky ANSI" ones.
+       * xm-mips.h (memcpy, memset):  Declare, and set MEM_FNS_DECLARED.
+
+       * mips-tdep.c (heuristic_proc_start):  Zero arg produces zero.
+       * utils.c (fputs_demangled):  Rename SLOP since DECstation system
+       header files define it!
+
+       * tm-29k.h (BREAKPOINT):  Allow it to be overridden with -D.
+
+Mon Jun 29 16:30:25 1992  Fred Fish  (fnf@cygnus.com)
+
+       * dbxread.c, i386-pinsn.c, i386-tdep.c, regex.c, solib.c, symmisc.c,
+       symtab.h, tm-i386v4.h, valprint.c, values.c:  Lint.
+       * breakpoint.c, c-exp.y, coffread.c, command.c, environ.c, eval.c,
+       findvar.c, infcmd.c, infptrace.c, infrun.c, m2-exp.y, parse.c,
+       putenv.c, solib.c, sparc-xdep.c, symtab.c, tm-i386v.h, tm-sparc.h,
+       utils.c, valarith.c, valops.c, valprint.c, values.c:
+       Replace bcopy() use with memcpy(), which is more standard and can
+       take advantage of gcc's builtin functions for increased performance.
+       * breakpoint.c, buildsym.c, coffread.c, dbxread.c, i386-tdep.c,
+       ieee-float.c, infcmd.c, sparc-tdep.c, stack.c, symtab.c, symtab.h,
+       target.c, values.c:
+       Replace bzero() use with memset(), which is more standard and can
+       take advantage of gcc's builtin functions for increased performance.
+       * i386-tdep.c, main.c, valprint.c:
+       Replace bcmp() use with memcmp(), which is more standard and can
+       take advantage of gcc's builtin functions for increased performance.
+
+Sun Jun 28 13:30:22 1992  Fred Fish  (fnf@cygnus.com)
+
+       * remote.c (remote_wait):  Fix cast on signal() call.
+       * defs.h (alloca):  More diddling with alloca.  Have to ensure
+       that it has a prototype, so that if alloca is defined as a macro
+       that takes an arg, the definition is seen as a use of a macro
+       that takes an arg, to satisfy picky ANSI preprocessors.
+
+Sat Jun 27 12:12:20 1992  Fred Fish  (fnf@cygnus.com)
+
+       * sparc-pinsn.c:  Use <string.h> rather than "string.h", for
+       consistency with all other gdb files.
+       * cadillac.c:  Use <string.h> rather than <strings.h>.
+       * cadillac.c (kernel_dispatch):  Convert rindex usage to strrchr.
+       * Makefile.in (MAKE):  Remove definition for consistency with
+       other Makefile.in files and to fix problem with recursive makes.
+
+Fri Jun 26 19:03:23 1992  John Gilmore  (gnu at cygnus.com)
+
+       * hppahpux-xdep.c (child_xfer_memory):  Avoid PT_WDUSER because it
+       crashes H-PUX.
+
+Fri Jun 26 11:09:10 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
+
+       * source.c (print_source_lines): for DOS interoperability; don't
+       print CR (013) as ^M.
+
+Thu Jun 25 15:18:42 1992  Stu Grossman  (grossman at cygnus.com)
+
+       * dbxread.c (dbx_symfile_init):  Move more code under hp9000s800
+       conditional.
+       * hppabsd-core.c:  Don't include "param.h", include <sys/param.h>
+       instead.
+       * remote.c (remote_wait):  Cast signal to void * to avoid warning
+       from busted HP compiler.
+
+       * partial-stab.h (N_SO):  Rearrange code a little so that all SO
+       stabs cause end_psymtab to be called.
+
+       * buildsym.c (read_sun_builtin_type):  Handle new FCS Sun CC
+       compiler feature of putting 'c' into basic type descriptors for
+       all forms of char.
+
+       * procfs.c (child_resume):  Work around Solaris (on Sparc) lossage
+       where there is no place for nPC in prrun struct.
+
+Thu Jun 25 12:06:00 1992  Fred Fish  (fnf@cygnus.com)
+
+       * mipsread.c:  Pass NULL name pointer to init_type, not 0.
+       * gdbtypes.c (init_type):  Use copy of typename on type_obstack.
+       * dwarfread.c (enum_type):  Save enum names on type_obstack.
+       * dwarfread.c (struct_type):  Save member name on type_obstack.
+       * symtab.c (_initialize_symtab):  Fix misspelling.
+       * regex.c (store_jump, insert_jump):  Return void.
+
+Thu Jun 25 04:00:10 1992  John Gilmore  (gnu at cygnus.com)
+
+       * defs.h (PARAMS):  Move to ../include/ansidecl.h.
+       (alloca):  Declare return type on SPARC, since Sun doesn't.
+       (*_BYTE_ORDER):  Improve comment:  *must* be defined.
+
+       * tm-hppa.h:  New file, architectural definition of HP PA.
+       * tm-hppabsd.h, tm-hppahpux.h:  Shrink to deltas from tm-hppa.h.
+
+       * am29k-pinsn.c, am29k-tdep.c, copying.awk, copying.c,
+       hppa-coredep.c, hppa-pinsn.c, hppabsd-core.c, hppabsd-tdep.c,
+       hppabsd-xdep.c, hppahpux-tdep.c, hppahpux-xdep.c, remote-udi.c,
+       ser-go32.c, xcoffsolib.c:  Remove <stdio.h> which is already in
+       "defs.h".
+
+       * hppa-coredep.c, hppa-pinsn.c, hppabsd-core.c, hppabsd-tdep.c,
+       hppabsd-xdep.c, hppahpux-tdep.c, hppahpux-xdep.c, xcoffsolib.c,
+       xcoffsolib.h, xm-go32.h, xm-hppabsd.h, xm-hppahpux.h:  Copyrights.
+
+Wed Jun 24 12:53:20 1992  John Gilmore  (gnu at cygnus.com)
+
+       * printcmd.c (output_command):  Thinko.
+       (x_command):  Only set remembered size/format if cmd succeeds.
+
+       * dbxread.c (read_ofile_symtab):  Remove N_CATCH special case,
+       since it is no longer used and burns time for every symbol read.
+       (process_one_symbol):  Treat N_CATCH like default (complain).
+
+Wed Jun 24 00:26:56 1992  Stu Grossman  (grossman at cygnus.com)
+
+       * partial-stab.h (case N_TEXT):  Fix fencepost error when
+       detecting start of new symbol info after reading symtab for a
+       module with a zero length TEXT segment.
+
+Tue Jun 23 21:46:26 1992  Fred Fish  (fnf@cygnus.com)
+
+       * Makefile.in (VERSION):  Bump to 4.5.6.
+       * coffread.c (coff_end_symtab):  Cast 2nd arg of complain() to
+       correct type.
+       * defs.h (NORETURN):  Define away for Lucid compiler.
+       * remote.c (remote_timer, remote_interrupt):  Signal handlers
+       take one int arg.
+       * ser-termios.c (serial_write, serial_close):  Return whatever
+       value the write/close call returns, rather than falling off end.
+       * inferior.h (PTRACE_ARG3_TYPE):  Third arg to ptrace is int on
+       more systems than it is "char *".  Define PTRACE_ARG3_TYPE to
+       default to int.
+       * infptrace.c, hppabsd-xdep.c, hppahpux-xdep.c, i386-xdep.c,
+       inferior.h (call_ptrace):  Use PTRACE_ARG3_TYPE to declare type
+       of third arg.
+       * a68v-xdep.c, arm-xdep.c, convex-xdep.c, hp300ux-xdep.c, infrun.c,
+       m88k-xdep.c, mach386-xdep.c, mips-xdep.c, os68k-xdep.c, pyr-tdep.c,
+       pyr-xdep.c, rs6000-xdep.c, sparc-xdep.c, sun3-xdep.c, sun386-xdep.c,
+       symm-xdep.c, ultra3-xdep.c:  Use PTRACE_ARG3_TYPE to cast ptrace
+       argument 3.
+       * sparc-xdep.c, a68v-xdep.c (fetch_inferior_registers,
+       store_inferior_registers): Supply missing fourth argument to
+       ptrace().
+       * cadillac.c (kernel_dispatch):  Make return type void.
+       * cadillac.c (iosig):  Signal handlers take one int arg.
+       * valprint.c (val_print_fields):  Call fprint_symbol to get
+       automatic C++ demangling for mangled field names.
+
+Mon Jun 22 20:18:06 1992  Fred Fish  (fnf@cygnus.com)
+
+       * command.c (add_abbrev_prefix_cmd):  Fix misspelling in comment.
+       * dwarfread.c (enum_type):  Fix misspelling in comment.
+       * valprint.c (val_print_fields, cplus_val_print):  Minor
+       adjustment to printing of C++ class structures to more closely
+       match format for printing C structures, with and without setting
+       pretty print.
+
+Mon Jun 22 17:19:02 1992  Per Bothner  (bothner@cygnus.com)
+
+       * infrun.c (wait_for_inferior):  Don't test for SIGEMT
+       (which is not a Posix signal) if it isn't defined.
+       * tm-linux.h, xm-linux.h, config/linux.m[ht], configure.in:
+       New port to Linux (a free Unix clone for 386 machines).
+
+Sat Jun 20 19:19:52 1992  John Gilmore  (gnu at cygnus.com)
+
+       COFF changes for dealing better with EPI 29K C compiler output.
+
+       * coffread.c (record_minimal_symbol):  Pass the minsym type to it.
+       Callers changed.
+       (coff_end_symtab):  Sort blocks if needed.  Complain if misordered.
+       (read_coff_symtab):  Move patch_opaque_types call from
+       coff_symfile_read.  Restrict it to symtabs from this objfile.
+       (process_coff_symbol: C_TPDEF):  Don't put ordinary foward
+       references on opaque type chain; just let coff_lookup_type handle 'em.
+       (decode_type):  Complain about tagndx values on
+       non-struct/union/enum types, which the EPI compiler tends to produce.
+
+       * symtab.c (list_symbols):  Make minimal symbol variable-finding work.
+
+       * tm-68k.h (FIX_CALL_DUMMY): Avoid alignment and byte order
+       dependency.
+
+       * elfread.c (elf_symfile_read):  Update bfd_elf_find_section
+       usage to match new prototype.  Include libbfd.h to get prototype.
+
+       * source.c (find_source_lines):  Handle large st_size fields.
+
+Sat Jun 20 16:28:39 1992  Fred Fish  (fnf@cygnus.com)
+
+       * infcmd.c (jump_command):  Use cleanups to avoid memory leaks.
+       * stack.c (return_command):  Use cleanups to avoid memory leaks.
+
+Fri Jun 19 19:06:41 1992  John Gilmore  (gnu at cygnus.com)
+
+       * remote-adapt.c, remote-eb.c, remote-mm.c:  Lint.  Fix
+       INT_REGNUM to INTE_REGNUM.
+
+       * tm-29k.h (SDB_REG_TO_REGNUM):  Add for EPI 29K C compiler.
+
+Fri Jun 19 15:30:15 1992  Stu Grossman  (grossman at cygnus.com)
+
+       * configure.in, dbxread.c, hppa-coredep.c, hppa-pinsn.c,
+       hppabsd-core.c, hppabsd-tdep.c, hppabsd-xdep.c, hppahpux-tdep.c,
+       hppahpux-xdep.c, munch, partial-stab.h, tm-hppabsd.h,
+       tm-hppahpux.h, xm-hppabsd.h, xm-hppahpux.h:  HPPA merge.
+
+       * Makefile.in (c-exp.tab.c, m2-exp.tab.c):  Filter out bogus extern
+       declarations of malloc/realloc/free that are inserted by some
+       versions of yacc.
+       * m2-exp.y:  Prevent conflicts with TRUE and FALSE tokens by
+       #undeffing them.
+       * xm-rs6000.h:  Declare malloc/realloc/free appropriately.  Yet
+       another decl of strdup (this really ought to come from libiberty.h!).
+
+Fri Jun 19 10:28:05 1992  John Gilmore  (gnu at cygnus.com)
+
+       * remote.c (getpkt):  Error if input exceeds buffer size.
+       (_initialize_remote):  `set remotedebug' enables packet trace.
+
+       * dbxread.c (process_one_symbol:N_FUN):  GCC now produces relative
+       N_SLINE's, etc, just like Sun cc on Solaris2.   
+
+       * am29k-tdep.c (read_register_stack, write_register_stack):
+       Change RSTACK_HIGH_ADDR to rstack_high_address, a user-settable
+       variable.  Add `set' and `show' commands for it.
+       * doc/gdb.texinfo:  Document it.
+
+Thu Jun 18 19:35:22 1992  Fred Fish  (fnf@cygnus.com)
+
+       * valprint.c (type_print_1):  Plug memory leak.  Print all
+       C++ syms as demangled, not just functions.
+       * buildsym.c (read_range_type):  When we find a signed char
+       type, do a lookup of signed char, not plain char.  Plain char's
+       still get looked up as plain char's elsewhere.
+
+Thu Jun 18 18:59:04 1992  John Gilmore  (gnu at cygnus.com)
+
+       * eval.c:  Avoid residue-by-zero when evaluating without side effects.
+       (Bug and fix found by Pierre Willard.)
+
+Wed Jun 17 13:08:33 1992  Stu Grossman  (grossman at cygnus.com)
+
+       * xm-rs6000.h:  Fix decls for malloc, realloc, and free.
+
+       * xm-rs6000.h:  Add decl for strdup().
+
+       * tm-rs6000.h:  Remove #include of inferior.h.  Fixes many
+       compilation errors.
+
+       * breakpoint.c (enable_command, disable_command):  Without args,
+       should only affect normal breakpoints and watchpoints.
+
+       * m68k-pinsn.c (print_insn_arg):  Make register be const.
+       * xcoffexec.c:  Remove ' from comment.
+       * xm-sun3os4.h:  Define MALLOC_INCOMPATIBLE to avoid conflicts
+       with decls of malloc in c-exp.tab.c (as produced by yacc).
+       There's got to be a better way to do this...
+
+Wed Jun 17 11:10:40 1992  Fred Fish  (fnf@cygnus.com)
+
+       * partial-stab.h: Convert single rindex use to strrchr.
+       * mipsread.c, dbxread.c:  Remove troublesome inclusion of non-
+       standard <strings.h> file, now that the only single use of
+       rindex in the gdb source files is gone.
+
+Tue Jun 16 22:17:49 1992  Fred Fish  (fnf@cygnus.com)
+
+       * mipsread.c:  Undo ill effects from including <strings.h>,
+       which #defines index to be strchr.  Unfortunately, index is
+       a member of a symbol table structure that can't be changed.
+       * mipsread.c:  tm-mips.h includes coff/symconst.h and coff/sym.h,
+       remove redundant #include's.
+
+Tue Jun 16 14:15:51 1992  Stu Grossman  (grossman at cygnus.com)
+
+       * mipsread.c:  #include <strings.h> for rindex().
+
+Tue Jun 16 09:01:49 1992  Fred Fish  (fnf@cygnus.com)
+
+       * xcoffexec.c (map_vmap):  Turn comment into a real C comment.
+
+Mon Jun 15 18:41:23 1992  Stu Grossman  (grossman at cygnus.com)
+
+       * dbxread.c (process_one_symbol), partial-stab.h:  Ignore
+       extraneous SO stabs from busted C++ compilers.
+
+Mon Jun 15 12:21:45 1992  Fred Fish  (fnf@cygnus.com)
+
+       * Makefile.in (VERSION):  Bump to 4.5.5.
+       * symtab.c (decode_line_1):  Until C++ support stabilizes, when
+       C++ lookups fail, print possibly helpful hint about completion.
+       * cplus-dem.c (demangle_signature):  Fix ARM style demangling
+       for static data members.
+       * dbxread.c (dbx_psymtab_to_symtab_1):  Fix prototype.
+       * config/ncr3000.mh (INSTALL):  Don't use /usr/ucb/install,
+       it's broken on ncr3000's.
+
+Mon Jun 15 07:21:00 1992  Fred Fish  (fnf@cygnus.com)
+
+       * dwarfread.c (decode_modified_type):  Change type of first arg.
+       Change 'modifier' to char from unsigned char.  Cast single use
+       that needs to be unsigned char.
+       * symtab.h (SYMBOL_BASEREG_VALID):  Explain disabling.
+       * utils.c (strdup_demangled):  Add function.
+       * defs.h (strdup_demangled):  Add prototype.
+       * stack.c (return_command):  Demangle C++ function names for query.
+       * infcmd.c (jump_command):  Demangle C++ function names for query.
+       * cplus-dem.c (consume_count):  New function and prototype.
+       * cplus-dem.c (demangle_class, gnu_special, demangle_func_type,
+       do_type):  Replace conversion code with consume_count().
+       * cplus-dem.c (gnu_special):  Fix demangled of static members.
+       * source.c (list_command):  Print demangled function names
+       when appropriate.  Fix supplied by Peter Schauer.
+
+Mon Jun 15 01:45:48 1992  John Gilmore  (gnu at cygnus.com)
+
+       * sparc-tdep.c:  Clean up slightly for Solaris2.
+
+       * buildsym.c (define_symbol):  Nameless types are now on several
+       platforms; generalize them and un-ifdef them to make Solaris 2
+       work.
+
 Sun Jun 14 10:55:51 1992  John Gilmore  (gnu at cygnus.com)
 
+       * infcmd.c:  Fix typo (reported by Rob Savoye).
+       * xm-sun4sol2.h (gregset_t):  Thinko in register set definition.
+       * symtab.h:  Disable SYMBOL_BASEREG_VALID until it works.
+       * dbxread.c (dbx_psymtab_to_symtab_1):  Renamed from
+       psymtab_to_symtab_1.  Use current psymtab's sym_offset and symbol_size,
+       rather than the one for the first file in the dependency chain.
+
        * dbxread.c (end_psymtab):  Only reset texthigh if it's not already
        set.  Don't reset our own texthigh, or dependency-only pst's, in
        scanning all the rest of the psymtabs.
This page took 0.028568 seconds and 4 git commands to generate.