* Makefile.in: Install gdbtk.tcl.
[external/binutils.git] / gdb / ChangeLog
index a916c6c..83988ac 100644 (file)
@@ -1,3 +1,300 @@
+Mon Nov 14 08:51:29 1994  Stu Grossman  (grossman@cygnus.com)
+
+       * Makefile.in:  Install gdbtk.tcl.
+       * configure.in:  Add ENABLE_GDBTK flag.
+       * gdbtk.c (gdb_sourcelines):  Returns list of source lines
+       containing code.  (gdb_regnames):  Returns list of register names.
+
+Sat Nov 12 21:55:47 1994  Jeff Law  (law@snake.cs.utah.edu)
+
+       * somsolib.c: Add TODO list.
+       (som_solib_add): Immediately return if $SHLIB_INFO$ sections does
+       not exist or has size zero.  Slightly simplify error handling.
+       Keep an internal list of all the loaded shared libraries and
+       various tidbits of information about the loaded shared libraries.
+       Build section tables for each loaded shared library and add those
+       tables to the core target if necessary.
+       (som_solib_create_inferior_hook): Force re-reading of shared
+       libraries at exec time.
+       (som_sharedlibrary_info_command): New function for dumping
+       information about the currently loaded shared libraries.
+       (_initialize_som_solib): New function.
+
+Sat Nov 12 02:26:50 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * Makefile.in (copying.o, f-exp.tab.o, dpx2-nat.o, dstread.o,
+       i386aix-nat.o, i386m3-nat.o, irix5-nat.o, lynx-nat.o, m3-nat.o,
+       mipsm3-nat.o, ns32km3-nat.o, remote-e7000.o, remote-os9k.o):
+       Add dependencies.
+       (copying.o, os9kread.o, remote.o):  Update dependencies.
+
+       * valarith.c (value_sub):  When subtracting pointers, only
+       check for a match of the pointed to element lengths.
+       Cast element length to LONGEST to obtain a signed result for
+       pointer subtractions.
+
+Fri Nov 11 10:51:07 1994  Jeff Law  (law@snake.cs.utah.edu)
+
+       * ch-exp.y (yylex): Fix off-by-one error when converting string to
+       lowercase.  Null terminate new string.
+
+       * hppa-tdep.c (rp_saved): Handle IMPORT stubs too.
+
+       * somsolib.c (som_solib_add): Check the value of __dld_flags, if
+       it indicates __dld_list is not valid return an error.  If it
+       indicates that libraries were not mapped privately, issue a
+       warning.
+
+Thu Nov 10 23:17:45 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * symfile.c (syms_from_objfile): Only call find_lowest_section if
+       no ".text" section exists.
+
+Thu Nov 10 15:16:21 1994  Rob Savoye  <rob@rtl.cygnus.com>
+
+       * rom68k-rom.c: New file. Replaces the old remote-mon.c and uses
+       the new generic ROM interface in monitor.c.
+       * config/m68k/monitor.mt: Use new ROM support.
+       * monitor.c: Add support for xmodem download protocol.
+
+Wed Nov  9 18:46:24 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       * findvar.c (find_saved_register): Fix a frame variable name.
+       * infcmd.c (finish_command): Ditto.
+
+Tue Nov  8 13:20:14 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * TODO: Remove "Watchpoints seem not entirely reliable, though
+       they haven't failed me recently." item--this old (4.6 at least)
+       item is too vague to be useful (some watchpoint bugs have been
+       fixed since then).
+       * TODO: Add explanation of "RPC interface" item.
+
+Mon Nov  7 22:25:21 1994  Jeff Law  (law@snake.cs.utah.edu)
+
+       * hppa-tdep.c (read_unwind_info): Use "text_offset" for linker
+       stub unwind descriptors too.
+
+       * Enable backtracing from inside a SOM shared library back into
+       user code.
+       * hppa-tdep.c (internalize_unwinds): Accept and use new
+       "text_offset" argument for dynamic relocation of
+       region_{start,end} fields in the unwind descriptor.
+       (read_unwind_info): Pass text_offset to internalize unwinds.
+
+Mon Nov  7 14:34:42 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * m3-nat.c: Remove comments about arbitrary limit in
+       printf_filtered; that limit is gone.
+
+Mon Nov  7 00:27:16 1994  Jeff Law  (law@snake.cs.utah.edu)
+
+       * Beginnings of SOM shared library support.  Breakpoints and
+       single frame backtracing within the library only.  Only works when
+       using the HPUX 9 dynamic linker.  More functionality to be added
+       soon.
+
+       * somsolib.c, somsolib.h: New files.
+       * Makefile.in (HFILES_NO_SRCDIR): Add somsolib.h
+       (ALLDEPFILES): Add somsolib.c.
+       (somsolib.o): Add some dependencies.
+       * somread.c (som_symtab_read): Accept multiple section offsets.
+       All callers changed.  Adjust all text symbols with the first
+       section offset.
+       * symfile.c (find_lowest_section): Enable this function.  Add some
+       tie-breaking logic when sections have the same vma.
+       (syms_from_objfile): Use find_lowest_section rather than looking
+       for ".text" by name.  Relax warning to only warn if the lowest
+       section is not a code section.
+       * config/pa/{hppabsd.mh, hppahpux.mh} (NATDEPFILES): Add somsolib.o
+       * config/pa/{nm-hppab.h, nm-hppah.h}: Include somsolib.h.
+       
+Sun Nov  6 12:54:54 1994  Jeff Law  (law@snake.cs.utah.edu)
+
+       * partial-stab.h (N_TEXT): Put back GDB_TARGET_IS_HPPA kludge,
+       it is still needed for GCC-2.6 compiled code.
+       * TODO (GDB_TARGET_IS_HPPA): Note this kludge can be nuked
+       sometime after GCC-2.7 has been released.
+
+       * hppa-tdep.c (frame_saved_pc): Mask off low two bits when
+       retrieving the PC from a signal handler caller.  Fix thinko
+       in Stan's last change ("frame", should have been "frame->next").
+       If the next frame is a signal handler caller and it's a system
+       call which has entered the kernel ((PSW & 0x2) != 0), then the
+       saved pc is in %r2 instead of %r31.
+       
+Fri Nov  4 23:47:07 1994  Jeff Law  (law@snake.cs.utah.edu)
+
+       * hppa-tdep.c (hppa_frame_find_saved_regs): Change "frame" to
+       "frame_info" throughout.
+
+Fri Nov  4 16:26:59 1994  Kung Hsu  (kung@mexican.cygnus.com)
+
+       * sparcl-stub.c: get rid of defs.h.
+
+Fri Nov  4 13:11:54 1994  Jim Kingdon  <kingdon@deneb.cygnus.com>
+
+       * gdbserver/Makefile.in (MMALLOC_CFLAGS): Add -I${MMALLOC_DIR}.
+       Correct definition of MMALLOC_DIR to reflect fact this is
+       gdb/gdbserver/Makefile.in, not gdb/Makefile.in.
+
+       * gdbserver/server.c (main): After we kill the inferior in
+       response to a 'k' request, exit.
+
+       * remote.c (remote_kill): Use catch_errors when calling putpkt.
+       (putpkt): Return int, not void, to match catch_errors calling
+       convention.
+
+Fri Nov  4 10:52:38 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       * rs6000-tdep.c (pop_frame): Correct a variable name.
+
+Fri Nov  4 05:43:35 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * TODO: Re-write item about SIGINT handling to reflect the fact
+       that target_stop now exists.
+
+Thu Nov  3 15:19:17 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       Replace useless FRAME, FRAME_ADDR types with struct frame_info *
+       and CORE_ADDR, respectively.
+       * frame.h (FRAME, FRAME_INFO_ID, FRAME_ADDR): Remove.
+       * blockframe.c (get_frame_info): Remove.
+       * a29k-tdep.c, alpha-tdep.c, blockframe.c, breakpoint.c,
+       breakpoint.h, energize.c, findvar.c, gdbtk.c, gould-pinsn.c,
+       h8300-tdep.c, h8500-tdep.c, hppa-tdep.c, i386-tdep.c, i960-tdep.c,
+       infcmd.c, inferior.h, infrun.c, m68k-tdep.c, m88k-tdep.c,
+       mips-tdep.c, nindy-tdep.c, printcmd.c, pyr-tdep.c, rs6000-tdep.c,
+       sh-tdep.c, sparc-tdep.c, stack.c, valops.c, z8k-tdep.c,
+       config/a29k/tm-a29k.h, config/alpha/tm-alpha.h,
+       config/gould/tm-pn.h, config/h8300/tm-h8300.h,
+       config/h8500/tm-h8500.h, config/mips/tm-mips.h,
+       config/ns32k/tm-merlin.h, config/ns32k/tm-umax.h,
+       config/pyr/tm-pyr.h, config/sparc/tm-sparc.h): Replace FRAME with
+       struct frame_info * everywhere, replace FRAME_ADDR with CORE_ADDR,
+       rename variables consistently (using `frame' or `fi'), remove
+       calls to get_frame_info and FRAME_INFO_ID, remove comments about
+       FRAME and FRAME_ADDR cruftiness.
+
+Thu Nov  3 14:25:24 1994  Stu Grossman  (grossman@cygnus.com)
+
+       * corelow.c, exec.c, inftarg.c, m3-nat.c, op50-rom.c, procfs.c,
+       remote-adapt.c, remote-e7000.c, remote-eb.c, remote-es.c,
+       remote-hms.c, remote-mips.c, remote-mm.c, remote-mon.c,
+       remote-nindy.c, remote-os9k.c, remote-pa.c, remote-sim.c,
+       remote-st.c, remote-udi.c, remote-vx.c, remote-z8k.c, remote.c,
+       w89k-rom.c, target.c, target.h:  Add support for target_stop().
+       * gdbtk.c (gdb_stop):  Switch to target_stop().
+
+Thu Nov  3 01:23:45 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * osfsolib.c (solib_map_sections, first_link_map_member,
+       next_link_map_member, xfer_link_map_member):  Retrieve and use
+       shared library relocation offset from runtime loader structures.
+       Use libxproc.a routines to get a working version if
+       USE_LDR_ROUTINES is defined.
+       * README:  Remove item about shared library relocation for
+       Alpha OSF/1.
+
+Wed Nov  2 15:05:39 1994  Kung Hsu  (kung@mexican.cygnus.com)
+
+       * c-exp.y (yylex): scan template names, and scan nested class
+       names.
+
+Wed Nov  2 11:01:55 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
+
+       * nlm/Makefile.in: install gdbserve.nlm.
+
+Tue Nov  1 16:41:12 1994  Stu Grossman  (grossman@cygnus.com)
+
+       * Makefile.in:  Use $(objdir)/tcl and $(objdir)/tk if they are
+       available.
+       * configure.in (ENABLE_CLIBS):  Use $(TCL) and $(TK) instead of
+       -ltcl and -ltk.
+       * gdbtk.c:  Get rid of lots of unnecessary #includes.
+       * (gdbtk_init):  Use ConnectionNumber macro instead of referencing
+       Display structure directly.
+       * gdbtk.tcl:  Change exit button to quit button.
+
+Tue Nov  1 13:00:46 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * c-valprint.c (c_value_print):  Check for plain literal `char'
+       target type when suppressing `(char *)' output for strings.
+
+Mon Oct 31 19:19:51 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       * coffread.c (coff_symfile_init): Remove unused local abfd.
+       * utils.c [NO_MMALLOC] (mmalloc, mrealloc): Define and use size_t
+       instead of long, for compatibility with mmalloc.h.
+
+Sat Oct 29 02:40:40 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * top.c (line_completion_function):  Renamed from
+       symbol_completion_function, takes the line buffer and the
+       point in the line buffer as additional arguments.
+       (readline_line_completion_function):  New function, interface
+       between readline and line_completion_function.
+       (init_main):  Use it.
+       (complete_command):  Use line_completion_function instead of
+       abusing rl_line_buffer. Free completion strings after printing
+       them.
+       * symtab.c (completion_list_add_name):  Recheck for duplicates
+       if we intend to add a modified symbol.
+
+       * gdbtypes.h (cplus_struct_type):  nfn_fields_total no longer
+       includes the number of methods from the baseclasses.
+       * stabsread.c (attach_fn_fields_to_type):  No longer add the
+       number of methods from the baseclasses to TYPE_NFN_FIELDS_TOTAL,
+       the baseclass type might not have been completely filled in yet.
+       * symtab.c (total_number_of_methods):  New function to compute
+       the total number of methods for a type, including the methods
+       from baseclasses.
+       (decode_line_1):  Use it instead of TYPE_NFN_FIELDS_TOTAL to
+       allocate the symbol array for find_methods.
+
+       * stabsread.c (scan_file_globals):  Add default case to minimal
+       symbol type switch, to avoid gcc -Wall warnings.
+
+       * config/rs6000/tm-rs6000.h (INIT_EXTRA_FRAME_INFO):
+       Don't test for zero backchain pointer to recognize a signal
+       handler frame, if read() gets interrupted by a signal, the
+       backchain will be non zero.
+       (SIG_FRAME_FP_OFFSET):  Move to here from rs6000-tdep.c,
+       improve comment.
+       (SIG_FRAME_PC_OFFSET):  New definition.
+       (FRAME_SAVED_PC):  Return saved pc from sigcontext if this
+       is a signal handler frame.
+       * rs6000-tdep.c (function_frame_info):  Do not error out
+       if we can't access the instructions.
+
+       * config/rs6000/tm-rs6000.h (CONVERT_FROM_FUNC_PTR_ADDR):
+       New definition to get the function address from a function pointer.
+       * valops.c (find_function_addr):  Use it when calling a user
+       function through a function pointer.
+
+Fri Oct 28 16:16:52 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       * Makefile.in (MMALLOC_DIR): New definition.
+       (MMALLOC): Use MMALLOC_DIR.
+       (MMALLOC_CFLAGS): Look in MMALLOC_DIR for mmalloc.h.
+       (OPCODES): Remove gratuitous "./".
+       * defs.h (mmalloc.h): Include.
+       (mmalloc, mrealloc, etc): Remove decls.
+       (cplus_demangle, cplus_demangle_opname): Remove decls.
+
+Wed Oct 26 15:41:07 1994  Stu Grossman  (grossman@cygnus.com)
+
+       * defs.h, gdbtk.c, main.c, top.c:  Change sense and name of
+       no_windows variable.  Now called use_windows, and defaults to off
+       (for compatibility).
+
+Wed Oct 26 12:20:53 1994  Jim Kingdon  <kingdon@cygnus.com>
+
+       * coffread.c (coff_symtab_read): If we get the address from
+       target_lookup_symbol, set the section to -2 not SECT_OFF_BSS.
+       (coff_symtab_read): Set value and section of symbol that
+       process_coff_symbol returns.
+
 Tue Oct 25 09:53:04 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
 
        * config/i386/tm-nbsd.h: Enable longjmp support.