* scm-lang.c: Moved Scheme value printing code to ...
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index a0addb16a9e94fb0dd53e127bf816de79187c860..5a3010f78f24bcd22f7468913c01db43b61ce2d5 100644 (file)
@@ -1,7 +1,472 @@
+Sat Sep 30 16:13:36 1995  Per Bothner  <bothner@kalessin.cygnus.com>
+
+       * scm-lang.c:  Moved Scheme value printing code to ...
+       * scm-valprint.c:  ... this new file.
+       Also major improvements in support for printing SCM values.
+       * scm-lang.h:  New file.
+       * scm-tags.h:  New file.
+       * Makefile.in:  Note new scm-valprint.{c,o}.
+
+Sat Sep 30 09:35:02 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
+
+       * configure.in: X_INCDIR and X_LIBDIR added.
+       * Makefile.in: @X_INCDIR@ and @X_LIBDIR@ added.
+       * configure: Regnerated.
+
+Fri Sep 29 02:10:05 1995  steve chamberlain  <sac@slash.cygnus.com>
+
+       * config/arm/tm-arm.h (FRAME_CHAIN, FRAME_CHAIN_VALID):
+       Any pc > LOWESTPC is ok.
+
+       * remote-rdp.c (rdp_init): Take out variable baud rate stuff.
+       (remote_rdp_detatch): Delete.
+       * breakpoint.c (ctype.h): Don't include twice.
+
+       * Makefile.in (remote-rdp.o): Doesn't need remote-rdp.h
+       * callback.c (os_printf_filtered): fix protos.
+       * defs.h (puts_filtered, puts_unfiltered
+       [v|f|]printf_[un]filtered): Make format arg const.
+       * remote-rdp.c (rdp_init): Attept to sync at different
+       baudrates.
+       * utils.c (puts_filtered, puts_unfiltered
+       [v|f|]printf_[un]filtered): Define prototypes with
+       const in the right place.
+
+Thu Sep 28 17:43:39 1995  Per Bothner  <bothner@kalessin.cygnus.com>
+
+       * defs.h (enum language):  Add language_scm.
+       * expression.h (enum exp_code):  Added OP_EXPRSTRING.
+       * scm-lang.c:  Preliminary support for Guile /SCM dialect of Scheme.
+       * expprint.c (print_subexp):  Add OP_EXPRSTRING support.
+       * parse.c (length_of_subexp, prefixify_subexp):  Likewise.
+       * valops.c (find_function_in_inferior):  New function.
+       (value_allocate_space_in_inferior):  New function.
+       (allocate_space_in_inferior):  Redefine using previous function.
+       * Makefile.in (SFILES):  Add scm-lang.c.
+       (COMMON_OBS):  Add scm-lang.o
+
+Thu Sep 28 14:32:11 1995  steve chamberlain  <sac@slash.cygnus.com>
+
+       * callback.[ch]: New files.
+       * remote-rdp.c: Support for the ARM RDP monitor.
+       * Makefile: Update.
+       * arm-tdep.c (arm_othernames): New.
+       (_initialize_arm_tdep): install 'othernames' command.
+       (arm_nullified_insn, shifted_reg_val, arm_get_next_pc): New.
+       * configure.in: Check for termios.h, termio.h and sgtty.h.
+       (i[345]86-*-win32*): New host.
+       * configure: Regenerated.
+       * inflow.c: Clean up inclusions.
+       * main.c (main): Check for WINGDB, not WIN32.
+       * printcmd.c (do_examine): Put QUIT test in loop.
+       * remote-hms.c (e7000_load): Delete.
+       (hms_ops): Point to generic_load instead.
+       * remote-hms.c (hms_ops): Point to generic_load.
+       * remote-sim.c (sim_callback_write_stdout): Becomes
+       gdbsim_write_stdout.
+       (gdbsim_load): Call generic_load.
+       * remote-utils.c (gr_load_image): Delete.
+       * ser-unix.c (terminal.h): Include instead of havig
+       own #if tree.
+       (hardwire_flush_input): Reset input buffer too.
+       * source.c (openp): If WIN32 then open file in binary mode.
+       * terminal.h: Configure IO mechanism using autoconf defines if available and
+       not overriden.
+       * utils.c (quit, pollquit, notice_quit): WIN32 check becomes WINGDB check.
+       * config/arm/arm.mt (TDEPFILES): Add remote-rdp.o
+       * config/arm/tm-arm.h (TARGET_BYTE_ORDER): becomes TARGET_BYTE_ORDER_SELECTABLE.
+       (ADDR_BITS_REMOVE): New.
+       (ORIGINAL_REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): New.
+       (INST_xx): New
+       (FRAME_FIND_SAVED_REGS): Pass the right argument.
+       (arm_get_next_pc): Declare.
+
+
+Wed Sep 27 10:14:36 1995  Per Bothner  <bothner@kalessin.cygnus.com>
+
+       * valops.c (search_struct_field):  Also allow "else" as a variant name,
+
+       * eval.c (evaluate_struct_tuple):  New function.  Used to evaluate
+       structure tuples.  Now also handles Chill variant records.
+       (get_label):  New function, used by evaluate_struct_tuple.
+       (evaluate_subexp_standard case OP_ARRAY):  Use evaluate_struct_tuple.
+       (evaluate_labeled_field_init):  Removed.
+
+       * valops.c (search_struct_field):  Generalize to work with Chill
+       variant records.
+
+Sat Sep 23 01:22:23 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * mdebugread.c (parse_partial_symbols):  Reset includes_used
+       and dependencies_used after finishing the partial symbol table.
+
+       * rs6000-tdep.c (push_dummy_frame):  Handle lr_offset of zero
+       correctly.
+
+       * rs6000-nat.c (xcoff_relocate_core):  Don't relocate data
+       addresses for the main objfile if DONT_RELOCATE_SYMFILE_OBJFILE
+       is defined.
+       * xcoffread.c:  gcc -Wall lint. Remove traceback table reading
+       code. The existing code tried to add parameter information for
+       functions compiled without -g, which cannot be done properly
+       for optimized code and produced misleading parameter displays.
+       (ef_complaint, eb_complaint):  Make a local static copy to avoid
+       dependency on coffread.c.
+       (read_xcoff_symtab, process_xcoff_symbol, scan_xcoff_symtab):
+       Enter C_EXT/C_HIDEXT symbols into the minimal symbol table only.
+       (read_xcoff_symtab):  Ignore C_STAT section auxiliary entry
+       symbols. Complain about unmatched .ef and .eb symbols instead of
+       segfaulting.
+       (process_xcoff_symbol):  Determine value of C_GSYM symbols via
+       the global_sym_chain mechanism in stabsread.c.
+       (xcoff_new_init):  Call stabsread_new_init and buildsym_new_init.
+       (init_string_tab):  Initialize length field bytes in the strtbl.
+       (scan_xcoff_symtab):  Skip symbols that start with `$' or `.$'.
+       Set first_fun_line_offset for symbols with two auxents only.
+
+Wed Sep 20 21:06:35 1995  Jeff Law  (law@snake.cs.utah.edu)
+
+       * op50-rom.c (op50n_cmds): Send ".\r" after the interrupt
+       character.
+
+Wed Sep 20 13:12:56 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.in (maintainer-clean): New target, synonym for
+       realclean.  Add GNU standard maintainer-clean echos.
+       * gdbserver/Makefile.in (maintainer-clean): New target, synonym
+       for realclean.
+       * nlm/Makefile.in (maintainer-clean): Likewise.
+
+Wed Sep 20 08:16:03 1995  steve chamberlain  <sac@slash.cygnus.com>
+
+       * defs.h (xmalloc, xrealloc): Delete, they're declared in libiberty.h.
+       (GETENV_PROVIDED, FCLOSE_PROVIDED): New.
+       * doc/gdbint.texinfo (GETENV_PROVIDED, FCLOSE_PROVIDED): Document.
+       * remote-sim.[ch] (sim_callback_write_stdout): New.
+
+Tue Sep 19 15:28:58 1995  Per Bothner  <bothner@kalessin.cygnus.com>
+
+       * gdbtypes.c (create_set_type):  Set TYPE_LENGTH in bytes, not bits.
+       * valops.c (value_bitstring):  TYPE_LENGTH is bytes, not bits.
+
+       * gdbtypes.c (force_to_range_type):  Calculate upper limit of
+       TYPE_CODE_CHAR depending on TYPE_LENGTH (instead of just using 255).
+
+Mon Sep 18 01:43:42 1995  Jeff Law  (law@snake.cs.utah.edu)
+
+       * somsolib.c (auto_solib_add_at_startup): Delete definition.  No
+       longer needed.
+
+Sat Sep 16 13:23:36 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * config/mips/tm-mips.h (UNUSED_REGNUM):  Define.
+       * mipsv4-nat.c (supply_gregset):  Fill UNUSED_REGNUM register
+       with zero.
+
+Thu Sep 14 17:35:24 1995  Stu Grossman  (grossman@cygnus.com)
+
+       * remote-sim.c (gdbsim_create_inferior):  Back out change that
+       broke all simulator configurations except the rs6000.
+
+Thu Sep 14 14:44:59 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
+
+       * monitor.c (monitor_expect): Discard NULL characters.
+
+Thu Sep 14 14:12:30 1995  Kung Hsu  <kung@mexican.cygnus.com>
+
+       * infcmd.c: Add extern declaration for auto_solib_add_at_startup.
+
+Wed Sep 13 13:33:58 1995  Kung Hsu  <kung@mexican.cygnus.com>
+
+       * symfile.c: Move global variable auto_solib_add_at_startup from
+       solib.c to symfile.c.
+       * solib.c: ditto.
+       * symfile.h: Add extern declaration of the above mentioned variable.
+       * infcmd.c: Take out extern declaration, since it's in symfile.h.
+
+Thu Sep 14 12:39:35 1995  Stu Grossman  (grossman@cygnus.com)
+
+       * coffread.c (coff_symtab_read):  Complain about unmatched .ef and
+       .eb symbols instead of segfaulting.
+
+Wed Sep 13 13:33:58 1995  Kung Hsu  <kung@mexican.cygnus.com>
+
+       * stabsread.c (read_one_struct_field): Use subfile language instead of
+       global language. Improve efficiency.
+
+Wed Sep 13 08:45:02 1995  Jeff Law  (law@fast.cs.utah.edu)
+
+       * somsolib.c (auto_solib_add_at_startup): Define new global variable.
+       (som_solib_create_inferior_hook): Don't add libraries if
+       auto_solib_add_at_startup is zero.
+       (_initialize_som_solib): Add command to toggle
+       auto_solib_add_at_startup.
+
+Tue Sep 12 19:37:24 1995  Jeff Law  (law@snake.cs.utah.edu)
+
+       * monitor.c (monitor_make_srec): Fix thinkos in computation
+       of addr_size.
+
+Tue Sep 12 15:46:18 1995  Kung Hsu  <kung@mexican.cygnus.com>
+
+       * stabsread.c (read_one_struct_field): Add a patch to handle cfront
+       generated stabs that each field is in full mangled name.
+
+       * stabsread.c: To include language.h and expression.h for the reason
+       above.
+       
+       * infcmd.c (attach_command): Add solibs only when
+       auto_solib_add_at_startup is set.
+
+Mon Sep 11 17:22:35 1995  Fred Fish  <fnf@cygnus.com>
+
+       * NEWS:  Add information about remote target caching.
+
+Sun Sep 10 15:36:21 1995  Fred Fish  <fnf@cygnus.com>
+
+       * defs.h: Only include mmalloc.h if NO_MMALLOC is not
+       defined.
+
+Sun Sep 10 10:24:48 1995  Michael Tiemann  <tiemann@axon.cygnus.com>
+
+       * tm-ppc-eabi.h (PC_IN_CALL_DUMMY): Redefine this to work with the
+       simulator.  FIXME.
+
+       * rs6000-tdep.c (push_dummy_frame): Calculate the correct link
+       register offset from the current frame (don't assume it is always 8).
+       (push_dummy_frame): Add comment about having only 4096 bytes of
+       stack space in the simulator (by default).
+
+       * remote-sim.c (gdbsim_create_inferior): Call
+       `add_text_to_loadinfo' so that gdb can find TOC entries when
+       calling functions in the inferior.
+
+Sun Sep 10 09:00:28 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * sparc-tdep.c (fill_fpregset):  Fix incorrect FP_MAX_REGNUM
+       substitution.
+       (supply_fpregset):  Use FP_MAX_REGNUM.
+
+Sat Sep  9 08:21:52 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * stabsread.c (read_enum_type):  Exit loop for putting pending
+       enum symbols into the enum type correctly if we had no pending
+       symbols on entry to read_enum_type.
+
+Fri Sep  8 12:57:41 1995  Kung Hsu  <kung@mexican.cygnus.com>
+
+       * inferior.h: Add extern declaration of inferior_environ.
+       * solib.c (solib_map_sections): To get inferior's env instead of
+       gdb's for LD_LIBRARY_PATH, same for PATH.
+       
+       * solib.c (solib_map_sections): Copy full path name into so_list
+       structure so that symbol_file_add can find it.
+
+Tue Sep  5 17:47:53 1995  Doug Evans  <dje@canuck.cygnus.com>
+
+       * config/sparc/tm-sp64.h (REGISTER_RAW_SIZE): Lower 32 fp regs
+       have size 4.
+       (REGISTER_VIRTUAL_SIZE): Likewise.
+       (REGISTER_VIRTUAL_TYPE): Lower 32 fp regs have type float.
+       Upper 32 fp regs have type double.
+       * sparc-tdep.c (NUM_SPARC_FPREGS): Replace with
+       (FP_REGISTER_BYTES): this, and update all uses.
+       (FP_MAX_REGNUM): Define if not already.
+       (get_saved_register): Handle new sparc64 fp regs.
+       (sparc_frame_find_saved_regs): Likewise.
+       (sparc_print_register_hook): Only print fp regs < 32 as doubles.
+       Add code to handle long doubles when gdb does.
+       (_initialize_sparc_tdep): Use print_insn_sparc64 if sparc64.
+
+Sat Sep  2 06:41:26 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * configure.in:  Explicitly `exit 0' for broken shells.
+       * configure:  Rebuilt.
+
+       * symtab.c (list_symbols):  Add missing blank after
+       `<function, no debug info>' output.
+
+       * valops.c (value_assign):  Handle truncation when assigning
+       to bitfields. Use value_copy to construct the return value
+       from toval.
+       * values.c (value_copy):  Copy VALUE_FRAME and VALUE_OPTIMIZED_OUT.
+
+Fri Sep  1 08:25:50 1995  James G. Smith  <jsmith@beauty.cygnus.com>
+
+       * configure (mips64*vr4300*-*-elf): Support added.
+       * remote-mips.c (mips_readchar): Change to allow build-time prompt
+       string.
+       * config/mips/tm-mips.h: Added TARGET_MONITOR_PROMPT.
+       * config/mips/{vr4300.mt, vr4300el.mt, tm-vr4300.h,
+       tm-vr4300el.h}: Added.
+
+Thu Aug 31 12:48:04 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
+
+       * config/sh/sh.mt (SIM): Add -lm.
+
+Wed Aug 30 18:10:57 1995  Kung Hsu  <kung@mexican.cygnus.com>
+
+       * rmote-nindy.c (non_dle, nidy_resume, nindy_wait): Changes to 
+       conform to GNU coding standards.
+
+       * solib.c (match_main): Modify to follow GNU coding conventions.
+
+Mon Aug 28 17:07:26 1995  Kung Hsu  <kung@lisa.cygnus.com>
+
+       * remote.c (remote_wait): Revert 19 July my change which should be
+       customer specific.
+
+Sat Aug 26 00:26:11 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * mdebugread.c (parse_symbol):  Handle sh.value of zero for enums.
+       Determine signedness of enum type from enumerators.
+       (parse_type):  Handle btIndirect types, handle fBitfield for
+       some non-member types.
+       (upgrade_type):  Use TYPE_FLAG_TARGET_STUB for arrays with
+       unknown length.
+       (cross_ref):  Handle stIndirect forward reference to btTypedef.
+
+       * stabsread.c (read_enum_type):  Determine signedness of enum
+       type from enumerators.
+
+       * top.c (execute_command):  Remove trailing whitespace from
+       command arguments, except for `set' and `complete' commands.
+       (validate_comname):  Allow underscores in user defined command
+       names.
+
+       * values.c (modify_field):  Change `Value does not fit in %d bits'
+       error to a warning. Exclude sign extension bits of negative field
+       values from fit check.
+
+Fri Aug 25 11:31:29 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * configure.in (powerpc*-*-eabisim*): Only link in the simulator
+       if the target is powerpc{,le}-*-eabisim*, since the simulator
+       needs GCC to build.
+       * config/powerpc/ppc{,le}-sim.mt: Cloned from ppc{,le}-eabi.mt.
+       * config/powerpc/ppc{,le}-eabi.mt: Remove simulator support.
+       * config/powerpc/tm-ppc{,le}-sim.mt: Include tm-ppc{,le}-sim.h.
+
+Wed Aug 23 16:55:35 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * config/powerpc/ppc{,le}-eabi.mt (SIM_OBJS, SIM): Link in the
+       PowerPC simulator.
+
+Tue Aug 22 02:00:47 1995  Jeff Law  (law@snake.cs.utah.edu)
+
+       * tm-hppa.h (EXTRACT_RETURN_VALUE): Fix for FP values.
+
+       * tm-hppa.h (STORE_RETURN_VALUE): Fix to work with -msoft-float
+       calling conventions too.  Use the TYPE of the return value, not
+       its length to determine if it should also be copied into the
+       floating point registers.
+
+       * tm-hppa.h (PROLOGUE_FIRSTLINE_OVERLAP): Delete.  Causes more
+       problems than it fixes.
+       * hppa-tdep.c (skip_prologue): If we exit the main loop without
+       finding all the register saves, retry again without looking for
+       the registers we could not find the first time.
+
+Mon Aug 21 23:39:56 1995  Jeff Law  (law@snake.cs.utah.edu)
+
+       * hppa-tdep.c (frame_chain_valid): Handle systems where "$START$"
+       calls "main" directly.
+       (skip_prologue): Always assume arguments were saved into the stack
+       since GCC will do so without setting the magic Args_Saved bit in
+       the unwind descriptor.
+
+Mon Aug 21 11:49:17 1995  Kung Hsu  <kung@mexican.cygnus.com>
+
+       * remote-udi.c (udi_wait): Mask off high bits of stop reason.
+       * remote-udi.c (fetch_register): For unfetchable regs, pretend it's
+       done. Fix a bug.
+
+Mon Aug 21 00:45:17 1995  Jeff Law  (law@snake.cs.utah.edu)
+
+       * Makefile.in (install): Remove "brokensed" hack, unnecessary now
+       that we're using autoconf.
+       (uninstall): Likewise.
+
+Sat Aug 19 17:20:22 1995  Michael Tiemann  <tiemann@axon.cygnus.com>
+
+       * gdbtk.tcl: ENABLE comes back as "1" or "0", not "enable" or
+       "disable".
+       Also, wire up the breakpoint window so that it can be demo'd.
+       
+Sat Aug 19 01:19:34 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * gdbtypes.c (recursive_dump_type):  Add dont_print_type_obstack
+       to inhibit infinite recursion when printing aggregate types.
+
+Fri Aug 18 17:48:55 1995  steve chamberlain  <sac@slash.cygnus.com>
+
+       * dcache.c (dcache_write_line): Write dirty lines right.
+
+Fri Aug 18 06:26:56 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * sparc-tdep.c (isbranch):  Fix typo which caused wrong
+       target addresses for annulled branches.
+
+Wed Aug 16 21:54:39 1995  Jeff Law  (law@snake.cs.utah.edu)
+
+       * config/pa/tm-hppa.h (PROLOGUE_FIRSTLINE_OVERLAP): Define.
+
+Tue Aug 15 07:51:21 1995  steve chamberlain  <sac@slash.cygnus.com>
+
+       * remote.c (remote_write_bytes): Chop up large transfers.
+
+Mon Aug 14 17:56:36 1995  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * gcc.patch: Remove, relevant only to long-ago versions of GCC.
+
+Mon Aug 14 13:43:01 1995  Kung Hsu  <kung@mexican.cygnus.com>
+
+       * config/sparc/tm-sparclite.h: Define FRAME_CHAIN_VALID_ALTERNATE.
+       * blockframe.c (inside_main_func): If main func addr range not set,
+       try to set it now.
+
+Sat Aug 12 15:34:54 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
+
+       * config/powerpc/xm-aix.h (FIVE_ARG_PTRACE): Define.
+       * config/rs6000/xm-rs6000.h (FIVE_ARG_PTRACE): Likewise.
+
+       * configure.in: Recognize aix4 specially as some aspects
+       of aix4 need different handling than aix3.
+       * configure: Updated.
+       * config/powerpc/{aix4.mh,aix4.mt,tm-ppc-aix4.h}: New files
+       specific to aix4 support on the power pc.
+       * config/powerpc/tm-ppc-aix.h (DONT_RELOCATE_SYMFILE_OBJFILE): Do
+       not defined.  The aix4 specific target files will do that.
+       * config/rs6000/{aix4,mh,aix4,mt,tm-rs6000-aix4.h}: New files
+       specific to aix4 support on the rs6000.
+
+       * config/rs6000/tm-rs6000.h (CONVERT_FROM_FUNC_PTR_ADDR): Don't
+       do the conversion if the pointer is not a magic aix function
+       pointer.
+       * rs6000-tdep.c: Include objfiles.h and symtab.h.
+       (is_magic_function_pointer): New function.
+
+       * rs6000-tdep.c (skip_prologue): Refine check for frameless
+       functions.  Handle b .+4 emitted by aix4 compilers.  Only
+       allow one load of a minimal toc pointer.  Handle aix4 compiler's
+       code for alloca.
+
+       * rs6000-tdep.c (find_toc_address): Report an error if no toc was
+       found rather than possibly core dumping.
+
+       * partial-stab.h: Handle extra field generated by the aix4 compiler
+       for enumerations.
+       * stabsread.c (read_enum_type): Likewise.
+
+Sat Aug 12 03:18:04 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * rs6000-tdep.c (extract_return_value):  Fix returning of values
+       whose length is less than the register size for big endian targets.
+
 Fri Aug 11 13:04:32 1995  Kung Hsu  <kung@mexican.cygnus.com>
 
-       * symtab.c (list_symbols): if break command set breakpoint on matched
-       symbol.
+       * symtab.c (list_symbols): if break command set breakpoint on
+       matched symbol.
 
 Wed Aug  9 18:59:05 1995  Fred Fish  <fnf@cygnus.com>
 
@@ -10,8 +475,8 @@ Wed Aug  9 18:59:05 1995  Fred Fish  <fnf@cygnus.com>
 
 Wed Aug  9 14:51:36 1995  Kung Hsu  <kung@mexican.cygnus.com>
 
-       * xcoffread.x (xcoff_symfile_offset): Revert an unwanted change gets
-       in accidentally from Aug 1 checkin.
+       * xcoffread.c (xcoff_symfile_offset): Revert an unwanted change
+       that got in accidentally with Aug 1 change.
 
 Sat Aug  5 09:07:28 1995  steve chamberlain  <sac@slash.cygnus.com>
  
This page took 0.029172 seconds and 4 git commands to generate.