Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
[binutils-gdb.git] / gdb / ChangeLog
index a1f12b5e8b4542987df5363f1bcc3440ba531ee8..4be05312a294db3769a7dac81218ee02d7aff0ec 100644 (file)
@@ -1,3 +1,417 @@
+Fri Oct 15 11:52:56 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * symtab.c (lookup_partial_symtab):  If filename is not found and
+       contains no slashes, try again and compare without leading path
+       components.
+       * symtab.c (lookup_symtab_1):  Replace open coded version of
+       lookup_partial_symtab with a function call.
+
+Thu Oct 14 20:34:15 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * fork-child.c (fork_inferior), remote-eb.c (eb_create_inferior),
+       remote-mon.c (monitor_create_inferior), remote-nindy.c
+       (nindy_create_inferior), remote-st.c (st2000_create_inferior),
+       remote-vx.c (vx_create_inferior): Remove CREATE_INFERIOR_HOOK; it
+       is replaced by init_trace_fun.
+       * config/convex/xm-convex.h, convex-xdep.c: Add comments explaining
+       how to do without CREATE_INFERIOR_HOOK for whoever fixes the Convex
+       port.
+
+       * Makefile.in: Add Mach files to ALLDEPFILES, etc.
+       * m3-nat.c: Clean up more hair--message(), cprocs.
+       * configure.in: Recognize Mach targets and hosts.
+       * config/ns32k/tm-umax.h: Add some #ifndef's so tm-ns32km3.h can
+       include this file.
+       * Mach headers in config/*/tm-*.h: Fix includes to match correct
+       locations of files.
+
+Thu Oct 14 21:35:55 1993  Rob Savoye  (rob@darkstar.cygnus.com)
+
+       * remote-mon.c (general_open): Set dev_name. Minor tweaking to get
+       it working again.
+       * config/m68k/tm-monitor.h: Remove floating point register names
+       as there aren't any on any of the monitors that use this code.
+
+Wed Oct 13 11:47:23 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * inflow.c: Pass pointer to process group, not process group itself,
+       to TIOCSPGRP ioctl.
+
+       * inflow.c (terminal_ours_1): Don't print warning on failure to
+       set process group.
+
+       * printcmd.c (printf_command): Instead of using makeva* and
+       calling vprintf, just make the appropriate calls to printf.
+       * printcmd.c, config/pa/xm-pa.h, config/mips/xm-makeva.h,
+       config/alpha/xm-alpha.h, config/m88k/xm-m88k.h: Remove all
+       traces of makeva*.  My apologies to everyone (including me!)
+       who spent so much time getting it to work on various machines,
+       but look at the bright side, at least you won't have to do it
+       again in the future.
+
+       * printcmd.c (printf_command): Make a cleanup for val_args (fixes
+       a memory leak).
+
+Tue Oct 12 22:54:41 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * config/mips/xm-mips.h: Remove comment about HAVE_SGTTY vs. usleep.
+
+Tue Oct 12 12:01:29 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
+
+       * configure.in: only configure gdbserver for native environments
+
+Tue Oct 12 08:59:15 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * stabsread.c (read_type): Treat a negative type number at the start
+       of a type as a type reference, not as a definition of a type with
+       "50=" omitted.  This makes things work on the RS/6000 again (the
+       14 Sep 1993 change broke it).
+
+       * inflow.c: Use 0 (standard input) not scb->fd.
+       (terminal_ours_1): If printing warning, don't claim it happened in
+       terminal_inferior.
+
+       * blockframe.c (get_prev_frame_info): Don't error() if there are no
+       frames; just return NULL.
+
+       * xcoffsolib.h, xcoffexec.c: Undo the part of Fred's bfd->abfd
+       change which involved structure elements.  It was unnecessary and
+       was not consistently done.
+
+       * stabsread.h, stabsread.c, dbxread.c (common_block*, copy_pending):
+       Move common block handling from dbxread.c to stabsread.c.
+       Use the name from the BCOMM instead of the ECOMM.
+       Allocate things on the symbol_obstack.
+       * xcoffread.c (process_xcoff_symbol): Process C_BCOMM, C_ECOMM,
+       and C_ECOML.  On unrecognized storage classes, go ahead and call
+       define_symbol (after the complaint).
+
+       * dbxread.c (process_one_symbol): Don't relocate 'S' symbols by
+       the text offset.
+
+Tue Oct 12 12:33:09 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * osfsolib.c (solib_create_inferior_hook):  Reset stop_soon_quietly
+       after shared library symbol reading to get rid of warning from
+       heuristic_proc_start.
+
+Tue Oct 12 12:01:29 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
+
+       * remote-sim.c: fix unterminated character string
+
+Tue Oct 12 08:59:15 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * stabsread.c: Fix comment about gcc 2.3.3 stab for long long int.
+
+Mon Oct 11 14:27:25 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * m3-nat.c, config/nm-m3.h: Add a target_ops struct and other
+       various things to try to get this to work.
+
+       * symtab.h: Fix comments re headers, sharing blockvectors, etc.
+
+Mon Oct 11 11:46:06 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
+
+       * config/i960/vxworks960.mt (REMOTE_O): add dcache.o and remote-utils.o
+
+Mon Oct 11 02:48:57 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * mipsread.c (parse_partial_symbols):  Do not add undefined
+       symbols to the partial symbol table.
+       * alpha-tdep.c (init_extra_frame_info):  Remove kludge for gcc,
+       gcc has to be compatible with the native tools.
+       * alpha-tdep.c (alpha_push_arguments):  Rename NUM_ARG_REGS to
+       ALPHA_NUM_ARG_REGS and move its definition to tm-alpha.h.
+       * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS):  Change it to the
+       way the native tools define it, update comment.
+
+Fri Oct  8 15:54:06 1993  Fred Fish  (fnf@deneb.cygnus.com)
+
+       * osfsolib.c, remote-sim.c, remote.c, solib.c, xcoffexec.c, 
+       xcoffsolib.h:  Use 'abfd' for bfd variables instead of 'bfd'.
+       Sun cc doesn't like variable names that match their typedef'd type.
+
+Fri Oct  8 14:56:21 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * inflow.c: Remove unused includes of sys/param.h and sys/types.h.
+
+       * inflow.c, ser-unix.c, ser-go32.c, ser-tcp.c, serial.h,
+       terminal.h, fork-child.c, main.c, utils.c: Move all the process
+       group stuff back to inflow.c and terminal.h; that's a better place
+       for it and fixes problems with trying to get/set the process group
+       of a tty we're doing remote debugging on.
+       * terminal.h: Skip the redefines and includes if HAVE_TERMIOS.
+
+       * findvar.c, value.h (symbol_read_needs_frame): New function.
+       * c-exp.y, m2-exp.y: Call it instead of having our own switch on
+       the symbol's class.
+       * valops.c (value_of_variable): Use symbol_read_needs_frame to
+       decide whether we care about finding a frame.
+
+Fri Oct  8 02:34:21 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * blockframe.c (get_frame_block):  Do not adjust pc if the frame
+       function was interrupted by a signal.
+
+Thu Oct  7 19:20:11 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * config/h8300/tm-h8300.h: Don't define sr_get_debug.
+       * remote-sim.c: Include remote-utils.h.
+       * target.h: Add comment about target_has_execution.
+
+Thu Oct  7 16:14:19 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
+
+       * h8300-tdep.c (sim_load, sim_kill, sim_open, sim_set_args):
+       New functions.
+       * infrun.c (normal_stop): Don't try and set the pc in the current
+       frame coredump if there isn't one.
+       * remote-sim.c (gdbsim_store_register): Don't
+       SWAP_TARGET_AND_HOST, sim_store_register takes bytes in raw order.
+       (gdbsim_wait): Set status with WSETSTOP.
+       * config/h8300/tm-h8300.h (sr_get_debug): Define
+
+Thu Oct  7 12:56:57 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       New Mach stuff:
+       * config/i386/i386mach.c: Explain this is for the old (probably
+       non-functional and/or obsolete) Mach stuff.
+       * m3-nat.c, config/nm-m3.h,
+       i386m3-nat.c, mipsm3-nat.c, ns32km3-nat.c,
+       config/i386/{i386m3.mh,i386m3.mt,tm-i386m3.h,xm-i386m3.h},
+       config/i386/{i386mk.mh,i386mk.mt,tm-i386mk.h,xm-i386mk.h},
+       config/mips/{mipsm3.mh,mipsm3.mt,tm-mipsm3.h,xm-mipsm3.h},
+       config/ns32k/{ns32km3.mh,ns32km3.mt,tm-ns32km3.h,xm-ns32km3.h}:
+       New files.
+
+       * blockframe.c (find_pc_partial_function): If we call
+       PSYMTAB_TO_SYMTAB, call target_terminal_ours_for_output first.
+       This is needed now that wait_for_inferior passes in endaddr.
+       * infrun.c: Move call to target_terminal_inferior from proceed
+       to resume.
+
+Thu Oct  7 09:22:04 1993  Stu Grossman  (grossman at cygnus.com)
+
+       * blockframe.c (find_pc_partial_function):  Fix handling for PCs
+       beyond the end of the last function in an objfile.
+       * coff-solib.c (coff_solib_add):  Use BFD to get fields from .lib
+       section.
+       * infrun.c (wait_for_inferior):  Modify test for subroutine entry
+       to include pc out of bounds of the previous function.
+       * remote.c (remote_wait):  Use strtoul for parsing 'N' message.
+       Add code to relocate symfile_objfile->sections.
+
+Thu Oct  7 06:22:43 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * config/sparc/sun4os4.mh: Add comment saying why we don't use
+       -lresolv.
+
+Thu Oct  7 09:29:11 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * breakpoint.c, breakpoint.h (breakpoint_init_inferior):  New function
+       that clears the `inserted' flag for all breakpoints and deletes
+       any breakpoints which should go away between runs of programs.
+       * inflow.c (generic_mourn_inferior), infrun.c (init_wait_for_inferior),
+       remote-es.c (es1800_load), comments in exec.c and corelow.c:
+       Use it instead of mark_breakpoints_out.
+       * breakpoint.c (mark_breakpoints_out):  Update comment, tm-rs6000.h
+       uses it in a completely different context.
+       * breakpoint.c (breakpoint_re_set_one):  Add bp_call_dummy case.
+
+Thu Oct  7 09:29:11 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * Makefile.in (REGEX, REGEX1):  Always use our own version of
+       regex.c to be consistent across hosts.
+       * source.c (_initialize_source):  Initialize regex to use grep
+       style syntax as an approximation to POSIX basic regex syntax.
+
+Wed Oct  6 12:43:47 1993  Jeffrey A Law  (law@snake.cs.utah.edu)
+                         Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * hppa-tdep.c (frame_chain): Rework so that it correctly
+       handles boundaries where code with a frame pointer calls code
+       without a frame pointer.
+       (dig_fp_from_stack): New function.
+
+Wed Oct  6 12:43:47 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * breakpoint.c (delete_breakpoint): Don't insert a disabled breakpoint.
+
+       * README: Add Alpha notes from Schauer.
+
+Tue Oct  5 15:26:04 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * Makefile.in (install, uninstall): Remove $$n.1 stuff; I don't
+       understand what it is trying to do, but I suspect it's not doing
+       it.
+
+       * config/ns32k/merlin.mh: Add comment about M_INSTALL.
+       * config/m88k/{delta88.mh,delta88v4.mh}: Remove M_INSTALL and
+       M_UNINSTALL; it tries to install a non-existent file gdb.z.
+       * Makefile.in: Remove M_INSTALL stuff; the above were the only uses.
+
+       * stabsread.c (read_range_type): Remove comment which recommends
+       distinguishing float from complex by the name.
+
+Tue Oct  5 12:17:40 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+                         Jim Kingdon  (kingdon@cygnus.com)
+                         Stu Grossman  (grossman@cygnus.com)
+
+       Changes to support alpha OSF/1 in native mode.
+       * alpha-nat.c, alpha-tdep.c, config/alpha/alpha-osf1.mt,
+         config/alpha/nm-alpha.h, config/alpha/tm-alpha.h, osfsolib.c:
+       New files.
+       * Makefile.in:  Add new files and dependencies.
+       * configure.in:  Add alpha target.
+       * config/alpha/alpha-osf1.mh (NATDEPFILES):  Add osfsolib.o
+       * config/alpha/alpha-osf1.mh (MH_CFLAGS):  Remove, we can handle
+       shared libraries now.
+       * config/alpha/xm-alpha.h:  Cleanup, get MAKEVA_* defines right.
+
+       * defs.h (CORE_ADDR):  Make its type overridable via CORE_ADDR_TYPE,
+       provide `unsigned int' default.
+       * breakpoint.c (breakpoint_auto_delete):  Delete only if we really
+       stopped for the breakpoint.
+       * stabsread.c, stabsread.h (define_symbol):  Change valu parameter
+       to a CORE_ADDR.
+       * stabsread.c (read_range_type):  Handle the case where the lower
+       bound overflows and the upper doesn't and the range is legal.
+       * infrun.c (resume):  Do not step a breakpoint instruction if
+       CANNOT_STEP_BREAKPOINT is defined.
+
+       * inferior.h (CALL_DUMMY_LOCATION):  New variant AT_ENTRY_POINT.
+       Now that we have the bp_call_dummy breakpoint the call dummy code
+       is no longer needed. PUSH_DUMMY_FRAME, PUSH_ARGUMENTS and
+       FIX_CALL_DUMMY can be used to set up everything for the dummy.
+       The breakpoint for the dummy is set at the entry point and thats it.
+       * blockframe.c (inside_entry_file, inside_entry_func):  Do not stop
+       backtraces if pc is in the call dummy at the entry point.
+       * infcmd.c (run_stack_dummy):  Handle AT_ENTRY_POINT case. Use
+       the expected breakpoint pc when setting up the frame for
+       set_momentary_breakpoint.
+       * symfile.c (entry_point_address):  New function for AT_ENTRY_POINT
+       support.
+       * valops.c (call_function_by_hand):  Handle AT_ENTRY_POINT case.
+
+Tue Oct  5 11:37:02 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * configure.in: Recognize hppa*-*-hiux* (currently synonym for hpux).
+       Change other hppa host entries to use -*- not -hp-.
+
+Mon Oct  4 19:16:14 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * i386-nlmstub.c: New file; debugging stub for i386 NetWare.  Must
+       be compiled with NetWare header files and turned into an NLM with
+       nlmconv.
+
+Mon Oct  4 11:02:11 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * minsyms.c (lookup_minimal_symbol_by_pc): Don't use mst_abs symbols.
+
+       * dbxread.c (process_one_symbol): Make n_opt_found static.
+
+       * Rename i386lynx-tdep.c to i386ly-tdep.c for 14 character file names.
+       * Makefile.in, config/i386/i386lynx.mt: Change accordingly.
+
+       * values.c (record_latest_value): Fetch lazy values and set VALUE_LVAL
+       to not_lval.
+
+Sun Oct  3 15:54:51 1993  Stan Shebs  (shebs@rtl.cygnus.com)
+
+       * objfiles.h (objfile): New slot sym_stab_info, use by most
+       stab-reading formats.
+       * gdb-stabs.h (DBX_SYMFILE_INFO): Access sym_stab_info instead of
+       sym_private.
+       * coffread.c (coff_symfile_init): Alloc struct for sym_stab_info.
+       * dbxread.c, elfread.c, paread.c: Change sym_private references to
+       sym_stab_info references.
+
+Sat Oct  2 19:28:35 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * mipsread.c, objfiles.c, utils.c: Use PTR not void *.  RISC/OS
+       4.02 lacks void *.
+       * elfread.c: Use void * not PTR inside PARAMS.
+
+       * config/mips/news-mips.mh: Remove coredep.o; mips-nat.o does it.
+       * config/mips/news-mips.mh: Define NAT_FILE not NM_FILE.
+       * config/mips/nm-news-mips.h: Include mips/nm-mips.h not nm-mips.h.
+
+Sat Oct  2 16:05:22 1993  Stu Grossman  (grossman at cygnus.com)
+
+       * Makefile.in, coff-solib.c, coff-solib.h, i386lynx.mt,
+       tm-i386lynx.h:  Add support for SVR3 COFF shared libraries.
+
+Sat Oct  2 15:50:41 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * m88k-nat.c (store_inferior_registers): When writing all registers,
+       don't try to write EXIP_REGNUM or ENIP_REGNUM (not needed for this
+       case, and they cause trouble).
+
+       * TODO: Don't suggest doing fast watchpoints by stepping a line
+       at a time.  That would be really hairy and still not fast enough.
+       Do suggest debug registers and page table diddling.
+
+Fri Oct  1 14:54:46 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * printcmd.c (do_examine): Make meaning of 'h', 'w', and 'g' not
+       depend on builtin_type_*.  Instead, it is always 2, 4, and 8 bytes
+       like the documentation says.
+       * printcmd.c (decode_format) [CC_HAS_LONG_LONG]: Remove 'l' as
+       synonym for 'g'.  This was never documented, it shouldn't depend on
+       CC_HAS_LONG_LONG, and I don't see what's wrong with 'g'.
+
+Fri Oct  1 10:06:35 1993  Kung Hsu  (kung@cirdan.cygnus.com)
+
+       * symtab.c: fix a bug in testsuite (virtfunc.exp)
+
+Thu Sep 30 11:30:56 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * m88k-nat.c (fill_gregset): Fix typo (R_SFIP -> R_FIP).
+
+       * c-typeprint.c (c_type_print_base, TYPE_FN_FIELD_STUB code):
+       If demangled name lacks a colon, don't dump core.
+
+       * blockframe.c (find_pc_partial_function): If pst->readin is
+       set, don't try to get symbols from pst.
+
+       * inflow.c (generic_mourn_inferior): Call reinit_frame_cache
+       instead of doing it ourself.
+       * blockframe.c (reinit_frame_cache): Use code which was in
+       generic_mourn_inferior so we can use this function even when
+       we have switched targets.
+       * corelow.c (core_detach): Call reinit_frame_cache.
+       * target.c (target_detach): Don't call generic_mourn_inferior
+       (revert yesterday's change, now handled by core_detach).
+       * objfiles.c (free_objfile): Detach any core file if we call
+       SOLIB_CLEAR.  #include target.h.
+
+       * fork-child.c (fork_inferior): Don't call target_terminal_init
+       and target_terminal_inferior until we are sure that the inferior
+       has called gdb_setpgid.  This fixes PR 2900 (Schauer tracked it
+       down and was able to reliably reproduce it by putting a sleep()
+       before the gdb_setpgid()).
+
+Thu Sep 30 12:00:49 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * c-exp.y, m2-exp.y:  Change type of address for msymbol to
+       builtin_type_long.
+       * infptrace.c (fetch_register, store_inferior_register,
+       child_xfer_memory):  Use PTRACE_XFER_TYPE for the type of ptrace
+       transfers. Provide an `int' default for PTRACE_XFER_TYPE.
+
+Thu Sep 30 11:30:56 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * defs.h (TARGET_*_BIT): Don't use host information (sizeof) in
+       picking defaults.
+
+       * cp-valprint.c (cp_is_vtbl_ptr_type): Continue to accept old form.
+
+Thu Sep 30 11:25:55 1993  Kung Hsu  (kung@cygnus.com)
+
+       * cp-valprint.c (cp_is_vtbl_ptr_type):
+       change vtable field name to __vtbl (pr2695).
+
+       * symtab.c (gdb_mangle_name): fix a bug, to get mangled name right.
+
 Wed Sep 29 18:34:22 1993  Stu Grossman  (grossman at cygnus.com)
 
        * Makefile.in:  Add deps for i386lynx-nat.o and i386lynx-tdep.o to
@@ -66,7 +480,7 @@ Tue Sep 28 09:45:38 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
        * coffread.c (read_coff_symtab):  Remove superfluous cast for
        complaint output.
        * dbxread.c (end_psymtab):  Cast MSYMBOL_INFO to long, not int.
-       * findvar.c, value.h (write_register):  Change register value to long.
+       * findvar.c, value.h (write_register):  Change val to LONGEST.
        * gdbtypes.h (struct type):  Change `bitsize' to long as
        TYPE_FIELD_STATIC_PHYSNAME uses this field as a pointer.
        * inferior.h (struct inferior_status):  Change type of stop_pc to