* environ.c (set_in_environ): Remove G960BASE and G960BIN; they are
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 9d62b788c7df109416d12102da0ee71bb9226e7e..d4f1d285abffb72be88973bf490f2e25b2166ca8 100644 (file)
@@ -1,3 +1,477 @@
+Mon Aug  9 09:53:45 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * environ.c (set_in_environ): Remove G960BASE and G960BIN; they are
+       no longer used.
+
+       * gdbcore.h: New variable gnutarget.
+       * core.c: Add commands to set and show it.
+       * Callers to bfd_*open*: Pass gnutarget instead of NULL as target.
+       * environ.c (set_in_environ): For GNUTARGET, use set_gnutarget not
+       putenv.
+
+       * symtab.c (decode_line_1): Give error on unmatched single quote.
+
+Sun Aug  8 13:59:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * ser-unix.c (hardwire_send_break) [HAVE_SGTTY]: Use select not usleep.
+
+       * remote.c: Add comments about 'd', 'r', and unrecognized requests.
+
+       * inflow.c (terminal_init_inferior): Don't muck with tty state if
+       gdb_has_a_terminal() is false.
+
+Sun Aug  8 10:07:47 1993  Fred Fish  (fnf@cygnus.com)
+
+       * dwarfread.c (record_minimal_symbol):  Remove prototype and
+       function.
+       * dwarfread.c (add_partial_symbol):  Remove code to add minimal
+       symbols and remove comment about limitations.  Experiments show
+       that now that gdb handles the ELF symtab better for creating
+       minimal symbols, that no additional information is added by
+       examining the DWARF information, and in fact, given the
+       limitations, the DWARF code was actually making things worse.
+
+Sat Aug  7 10:59:03 1993  Fred Fish  (fnf@deneb.cygnus.com)
+
+       * elfread.c (elf_symtab_read):  Properly sort out the bss symbols
+       from the data symbols and give them the correct minimal_symbol_type.
+       Add file static symbols to the minimal symbol table, not just
+       global symbols.  Add absolute symbols as well (like _edata, _end).
+       Redo stabs-in-elf special symbol handling now that file static
+       symbols are entered into the into the minimal symbol table.
+       * dwarfread.c (add_partial_symbol):  Add comment about limitations
+       of DWARF symbols for distinquishing data from bss when adding
+       minimal symbols.  Add file local symbols to minimal symbols.
+
+Thu Aug  5 08:58:58 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * ser-go32.c: Define job_control variable.
+
+Thu Aug  5 15:56:13 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
+
+       * configure.in: z8k-coff is the same as z8k-sim
+
+Thu Aug  5 08:58:58 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * 29k-share/udi/udip2soc.c: Include sys/types.h before sys/file.h.
+
+       * config/i386/tm-i386bsd.h (NUM_REGS):  There are only 10, not 11.
+
+       * inflow.c: Put all uses of F_GETFL and F_SETFL in #ifdef F_GETFL.
+
+       * 29k-share/udi/udip2soc.c: Include fcntl.h not sys/fcntl.h.
+
+Wed Aug  4 18:32:12 1993  Fred Fish  (fnf@cygnus.com)
+
+       * inflow.c (pass_signal):  Signal handlers take one int arg;
+       supply an unused one to make it type compatible as an arg to
+       signal().
+
+Tue Aug  3 18:34:14 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * config/mips/tm-mips.h: Include bfd.h before coff/sym.h.
+
+Tue Aug  3 15:34:57 1993  Fred Fish  (fnf@cygnus.com)
+
+       * Makefile.in (ALLCONFIG):  Add config/i386/i386nw.mt,
+       config/m68k/delta68.mh, config/m68k/delta68.mt,
+       config/m68k/dpx2.mh, config/m68k/dpx2.mt, config/mips/riscos.mh,
+       config/mips/news-mips.mh.
+       * Makefile.in (ALLPARAM):  Add config/i386/nm-symmetry.h,
+       config/i386/tm-i386nw.h, config/m68k/nm-delta68.h,
+       config/m68k/tm-delta68.h, config/m68k/xm-delta68.h,
+       config/m68k/nm-dpx2.h, config/m68k/tm-dpx2.h,
+       config/m68k/xm-dpx2.h, config/mips/xm-makeva.h.
+       * Makefile.in (ALLDEPFILES):  Add dpx2-nat.c.
+
+Tue Aug  3 12:02:09 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * mipsread.c: Updated for BFD ECOFF changes.  Now gets the
+       swapping routines and external structure sizes via the
+       ecoff_backend information.  No longer includes coff/mips.h.
+
+Tue Aug  3 10:58:04 1993  Fred Fish  (fnf@cygnus.com)
+
+       * Makefile.in (SFILES): Add thread.c
+
+start-sanitize-v9
+Tue Aug  3 10:21:58 1993  Doug Evans  (dje@canuck.cygnus.com)
+
+       * remote-sp64sim.c (simif_create_inferior): Add FIXME regarding
+       sim_set_args return code.
+end-sanitize-v9
+
+Mon Aug  2 16:35:31 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
+
+       * Makefile.in (VERSION): bumped to 4.9.4.
+
+       * remote-monitor.c: updated copyright.
+         (bug_ops, monitor_desc): now static.
+         (monitor_desc): in several places, check and/or set to NULL.
+
+       * remote-hms.c (hms_files_info): Add the appropriate items where
+         missing in the printf call.
+
+       * remote-bug.c: new file for m88k bug support.
+
+       * config/m88k/m88k.mt (TDEPFILES): added remote-bug.o.
+
+Mon Aug  2 14:22:09 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
+
+       * h8300-tdep.c:  Use new variable h8300hmode.
+
+Mon Aug  2 12:06:00 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * valops.c (typecmp): If we are passing a non-reference to a function
+       which takes a reference, pass the address.
+       (value_arg_coerce): Don't use COERCE_ENUM; we don't want to dereference
+       references here.
+
+       * thread.c (thread_switch): Define as static.
+       (add_thread): Cast return value from xmalloc.
+
+       * gdbtypes.c (fill_in_vptr_fieldno): Call check_stub_type.
+       * gdbtypes.{c,h}: Improve comments on vptr_fieldno.
+
+Mon Aug  2 11:58:52 1993  Fred Fish  (fnf@deneb.cygnus.com)
+
+       * README:  Elaborate on gdb C++ support and cfront support.
+
+Mon Aug  2 11:30:57 1993  Stu Grossman  (grossman at cygnus.com)
+
+       * i386lynx-nat.c, thread.c, thread.h:  Update copyrights.
+
+Mon Aug  2 12:06:00 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * Makefile.in (ALLDEPFILES): Add i386lynx-nat.c.
+
+Mon Aug  2 08:42:50 1993  Stu Grossman  (grossman at cygnus.com)
+
+       * gdbserver/remote-inflow.c (create_inferior):  Fix comments, and
+       error msg.  Setup seperate process group for child.
+       * (write_inferior_memory):  Sleep for 1 second and retry on ptrace
+       failure.
+
+Sun Aug  1 22:58:18 1993  Stu Grossman  (grossman at cygnus.com)
+
+       * config/i386/i386lynx.mh (NATDEPFILES):  Drop coredep (for now).
+       * config/i386/nm-i386bsd.h:  Protect from multiple inclusion.
+       * config/i386/nm-i386lynx.h:  Lotsa new host porting stuff.
+       * config/i386/tm-i386lynx.h:  Define SAVED_PC_AFTER_CALL and
+       target_pid_to_str.
+
+       * Makefile.in (CLIBS):  Reorder to make Lynx ld happy.
+       * (HFILES):  New file thread.h.
+       * (OBS):  New file thread.c.
+       * configure.in:  Host config for Lynx/386.
+       * fork-child.c (fork_inferior):  Call init_thread_list().
+       * infrun.c (resume):  Add pid to invocation of target_resume().
+       * (wait_for_inferior): Pay attention to pid from target_wait().
+       Multi-threading code now uses this to determine what to do.
+       * inftarg.c (child_wait):  Conditionalize based on CHILD_WAIT macro.
+       Use target_pid_to_str() macro throughout when printing pid.
+       * inferior.h (child_resume):  Add pid to prototype.
+       * hppab-nat.c hppah-nat.c infptrace.c (child_resume):  Pass in pid as
+       argument, instead of using inferior_pid.
+       * procfs.c (procfs_resume):  Pass in pid as argument.  Ignored for
+       now.  Use target_pid_to_str() macro throughout for printing process id.
+       * remote-adapt.c (adapt_resume):  Pass in pid as argument.
+       * remote-eb.c (eb_resume):  Pass in pid as argument.
+       * remote-es.c (es1800_resume):  Pass in pid as argument.
+       * remote-hms.c (hms_resume):  Pass in pid as argument.
+       * remote-mips.c (mips_resume):  Pass in pid as argument.
+       * remote-mm.c (mm_resume):  Pass in pid as argument.
+       * remote-monitor.c (monitor_resume):  Pass in pid as argument.
+       * remote-nindy.c (nindy_resume):  Pass in pid as argument.
+       * remote-sa.sparc.c (remote_resume):  Pass in pid as argument.
+       * remote-sim.c (rem_resume):  Pass in pid as argument.
+       start-sanitize-v9
+       * remote-sp64sim.c (simif_resume):  Pass in pid as argument.
+       end-sanitize-v9
+       * remote-st.c (st2000_resume):  Pass in pid as argument.
+       * remote-udi.c (udi_resume):  Pass in pid as argument.
+       * remote-vx.c (vx_resume):  Pass in pid as argument.
+       * remote-z8k.c (rem_resume):  Pass in pid as argument.
+       * remote.c (remote_resume):  Pass in pid as argument.
+       * solib.c (solid_create_inferior_hook):  Pass inferior_pid to
+       target_resume().
+       * target.c (normal_pid_to_str):  New routine to print out process
+       ID normally.
+       * target.h (struct target_ops):  Add pid to prototype at
+       to_resume().  (target_resume):  Add pid argument.
+       * (target_pid_to_str):  Default definition for normal type pids.
+       * thread.h, thread.c:  New modules for multi thread/process control.
+
+Sun Aug  1 13:02:42 1993  John Gilmore  (gnu@cygnus.com)
+
+       * README:  Say that bug-gdb is also the place to send requests
+       for help with GDB.
+
+Sun Aug  1 09:42:13 1993  Fred Fish  (fnf@cygnus.com)
+
+       * Makefile.in (make-proto-gdb-1):  Use -f opt on rm of Makefile.
+       * h8500-tdep.c:  Add parens around a few macro args.
+
+Fri Jul 30 15:43:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * TODO: Remove items about unix-to-unix/rapp debugging (now we
+       have gdbserver), moving xm files to subdirectory, ptype yylval,
+       and file-local symbols.
+
+       * gdbtypes.h: Improve comments about C++ methods.
+
+Fri Jul 30 14:16:32 1993  Fred Fish  (fnf@deneb.cygnus.com)
+
+       * c-exp.y:  Add missing 5th arg for one call to lookup_symbol, cast
+       NULL in all other calls to correct pointer types.
+
+Fri Jul 30 15:43:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       From Jeffrey Law:
+       * tm-hppa.h (TARGET_WRITE_PC): Define.
+       * hppa-tdep.c (hppa_fix_call_dummy): If in a syscall,
+       then return the address of the dummy itself rather than
+       the address of $$dyncall.
+       (target_write_pc): New function to store a new PC.
+
+Fri Jul 30 12:51:27 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+                         and Jim Kingdon (kingdon@cygnus.com)
+
+       * breakpoint.c (breakpoint_re_set_one):  Always reparse breakpoint
+       conditions, they might contain symbol table references.
+
+Fri Jul 30 12:51:27 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * mipsread.c (parse_symbol):  Handle opaque struct definitions and
+       type naming for stTypedef symbols.
+
+Fri Jul 30 14:44:21 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * c-exp.y (yylex): Detect C++ nested types.
+
+start-sanitize-v9
+Fri Jul 30 11:07:37 1993  Doug Evans  (dje@canuck.cygnus.com)
+
+       * sp64-tdep.c (sparc64_frame_chain, sparc64_frame_saved_pc): Deleted.
+       (dump_ccreg, sparc_print_register_hook): New fns.
+       * remote-sim.h: New file.
+       * remote-sp64sim.h (sim_*): External fns.  (simif_*): Internal fns.
+
+       * config/sparc/sp64.mt: New file.
+       * config/sparc/tm-sp64.h (FRAME_CHAIN, FRAME_SAVED_PC): Deleted.
+       (PRINT_REGISTER_HOOK): Call new fn sparc_print_register_hook.
+end-sanitize-v9
+
+Fri Jul 30 10:15:01 1993  Fred Fish  (fnf@deneb.cygnus.com)
+
+       * Makefile.in (ALLCONFIG):  Add config/i386/ptx.mh
+
+Fri Jul 30 08:58:01 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       From J. Law:
+       * infcmd.c (read_pc): Remove PA specific code.
+       * tm-hppa.h (TARGET_READ_PC): Define.
+       * hppa-tdep.c (target_read_pc): New function.
+
+       * symtab.c (gdb_mangle_name): Deal with it if type lacks a name.
+
+Fri Jul 30 07:36:53 1993  Fred Fish  (fnf@deneb.cygnus.com)
+
+       * NEWS:  Add note that DEC alpha support is host only, not native.
+       * README:  Emphasize that C++ support works best with GNU C++ and
+       stabs debugging format.
+       * delta68-nat.c:  Add missing FSF copyright.
+
+Fri Jul 30 08:58:01 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * paread.c (pa_symtab_read): Put file-local symbols in minimal symbols.
+       * hppa-tdep.c (frame_chain_valid): Check that our function has the
+       same address as _start, not that it must be the same symbol.
+
+Fri Jul 30 00:18:40 1993  Fred Fish  (fnf@deneb.cygnus.com)
+
+       * Makefile.in (ALLDEPFILES):  Add delta68-nat.c
+       * Makefile.in (delta68-nat.o):  Add dependency.
+
+Thu Jul 29 12:09:46 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * value.h (COERCE_ENUM): Use COERCE_REF to coerce refs; value_ind
+       was adequate in gdb 3.5 but not now.
+
+       * valops.c (typecmp): An array in t2 matches a pointer in t1.
+
+       * valops.c (typecmp): When comparing type1& to type2, compare
+       type1 and type2 as leniently as if we were comparing type1 to
+       type2.
+
+       * cp-valprint.c (cplus_print_value): Don't dump core if the
+       baseclass doesn't have a name.
+       * values.c (vb_match): New function, which finds the virtual
+       base class pointer even if the types are nameless.
+       (baseclass_{addr,offset}): Use it.
+
+       * hppa-tdep.c: Make "maintenance print unwind" command from old
+       "unwind" command.
+
+       * remote-udi.c: Remove udi_timer, call to siginterrupt, and associated
+       obsolete junk which apparently had been copied from the
+       pre-serial.h remote.c, but which is no longer used.
+
+Thu Jul 29 12:36:20 1993  Fred Fish  (fnf@deneb.cygnus.com)
+
+       * Makefile.in (NONSRC):  Need 29k-share/README, not
+       29k-share/udi/README.
+
+Thu Jul 29 12:09:46 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * paread.c (pa_symfile_init): If error reading string table, don't
+       use errno in cases where it hasn't been set.
+
+       * ser-unix.c (gdb_setpgid): Pass our pid, not 0, to setpgid.
+
+       * remote-monitor.c (_initialize_monitor): Comment out use of
+       connect_command, since connect_command itself is commented out.
+
+       * remote-monitor.c (generic_open): Parse arguments the same way
+       as remote.c.
+
+       * hppa-tdep.c (pc_in_linker_stub): Fix unclosed comments.
+
+Wed Jul 28 13:19:34 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * config/mips/xm-mips.h: Define HAVE_TERMIOS.
+
+       * dbxread.c (record_minimal_symbol): Don't put gcc_compiled or
+       __gnu_compiled* symbols into the minimal symbols.
+
+Wed Jul 28 08:26:58 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * remote-mips.c (_initialize_remote_mips): Added "timeout" and
+       "retransmit-timeout" variables to set mips_receive_wait and
+       mips_retransmit_wait, respectively.
+
+Wed Jul 28 03:58:58 1993  (pes@regent.e-technik.tu-muenchen.de)
+
+       * symmisc.c (dump_msymbols):  Handle new mst_file_* types.
+
+Tue Jul 27 12:07:38 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * remote-udi.c: Remove old comment about download not implemented.
+
+       * serial.h, ser-{unix,go32,tcp}.c: Add flush_input and send_break.
+       * nindy-share/*, remote-nindy.c: Extensive hacking to make it
+       conform to GDB conventions like using memcpy not bcopy, serial.h,
+       etc.  This is to make it host on Solaris, AIX, etc.
+       * Makefile.in: Reflect removed nindy-share files.
+       * config/i960/nindy960.mt (TDEPFILES): Remove ttybreak.o.
+
+       * stack.c (print_frame_info): Revise comment about `pathological'
+       case (there was a wrong FIXME about text labels; also asm() can
+       trigger this as well as versions of ar which truncate .o names).
+
+       * buildsym.c (start_subfile): If a .c file includes a .C file, set
+       the language of both of them to C++.
+
+       * config/sparc/xm-sun4os4.h: Define MEM_FNS_DECLARED and include
+       <memory.h>.
+       Include <malloc.h> rather than declaring malloc functions ourself.
+
+       * ser-unix.c (set_tty_state): Don't ignore errors setting process
+       group.
+       * inflow.c (terminal_inferior): If attach_flag set, ignore errors
+       from set_tty_state.
+
+       * fork-child.c (fork_inferior): Only quote exec file if needed.
+
+       * mipsread.c (parse_symbol): Remove 21 Jul 93 change with
+       stTypedef inside an stBlock.
+
+Tue Jul 27 12:36:49 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * breakpoint.c (breakpoint_1):  Walk the breakpoint chain to decide if
+       we have breakpoints or watchpoints as we might have to ignore internal
+       breakpoints.
+
+       Fix gdb core dumps after `file newfile' commands.
+       * symtab.h, symfile.c (clear_symtab_users):  New routine which
+       unconditionally clears symtab users. clear_symtab_users_once
+       commented out as it was a noop anyway.
+       * objfiles.c (free_objfile):  Don't call clear_symtab_users_once.
+       * objfiles.c (free_all_objfiles), symfile.c (new_symfile_objfile),
+       xcoffexec.c (exec_close):  Call clear_symtab_users if necessary.
+       * symfile.c (syms_from_objfile):  Install cleanups for errors during
+       symbol reading.
+       * coffread.c, dbxread.c, mipsread.c, xcoffread.c (*_symfile_read):
+       Lint cleanup code, call do_cleanups explicitly.
+       * symfile.c (symbol_file_add):  Call new_symfile_objfile and
+       reinit_frame_cache _after_ the new symbols are read in.
+
+Tue Jul 27 01:57:01 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * mipsread.c (parse_type):  Do not set tag name for compiler
+       generated fake tag names.
+
+Mon Jul 26 17:31:49 1993  K. Richard Pixley  (rich@rtl.cygnus.com)
+
+       * config/m88k/m88k.mt (TDEPFILES): add exec.o.
+
+Mon Jul 26 13:17:36 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * hppa-tdep.c: Remove all uses of use_unwind and `set use_unwind'
+       command.  Now we use unwind info by default if we can find it.
+
+       * config/sparc: Move VARIABLES_INSIDE_BLOCK and SUN_FIXED_LBRAC_BUG
+       to tm-sparc.h so they are shared between Solaris and SunOS4.
+       * dbxread.c (process_one_symbol): Deal with SunOS4 acc N_STSYM and
+       N_GSYM functions.
+
+       * config/pa/tm-hppa.h (REGISTER_NAMES): Use "fr" rather than "fp"
+       for floating point registers.
+
+       * mipsread.c (parse_symbol): Put stStaticProc symbols in minimal
+       symbols as mst_file_text.
+
+       * hppa-tdep.c (pc_in_linker_stub): Return 0 if can't read memory.
+
+       * stabsread.c (rs6000_builtin_type): Make logical types be
+       TYPE_CODE_BOOL.
+
+Sun Jul 25 23:41:48 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * breakpoint.{c,h} (struct breakpoint): Replace symtab field with
+       source_file field.
+
+Fri Jul 23 09:57:25 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
+
+       * remote.c: Don't error() on errors xferring memory.
+       * target.h: Clean up comments about *xfer_memory.
+
+       * exec.c, corelow.c (target_ops struct): Don't allow
+       {insert,remove}_breakpoints to be defaulted to
+       memory_{insert_remove}_breakpoint.
+
+       * demangle.c: Make it so `help set dem' tells you how to get the
+       list of demangling styles.
+
+Thu Jul 22 15:41:09 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
+
+       * Makefile.in: Use REMOTE_O macro not remote.o.
+       * config/i960/{nindy960,vxworks960}: Don't use remote.o.
+
+Thu Jul 22 12:43:25 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * coredep.c: If NEED_SYS_CORE_H defined, include <sys/core.h>
+       (can't include it in nm-*.h file because it causes conflicts with
+       a.out symbol definitions).
+       * hp300ux-nat.c (fetch_core_registers): Commented out; obsolete.
+       * config/m68k/hp300hpux.mh (NATDEPFILES): Added coredep.o and
+       corelow.o.
+       * config/m68k/nm-hp300hpux.h (NEED_SYS_CORE_H): Defined.
+       (REGISTER_U_ADDR): Defined.
+       * config/m68k/xm-hp300hpux.h (HAVE_TERMIOS): Define instead of
+       HAVE_TERMIO.
+       * config/pa/xm-hppah.h: Likewise.
+
 Wed Jul 21 11:37:30 1993  Jim Kingdon  (kingdon@deneb.cygnus.com)
 
        * mipsread.c (parse_symbol): when stTypedef and friends occur within
This page took 0.116922 seconds and 4 git commands to generate.