* gdbtypes.c (check_stub_type): Removed; no longes needed.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 20e8580aef3eff90d5aab8aba99ab4a205cadc70..09c7adf92dc7f52940fcb73b832ce68164b29dff 100644 (file)
@@ -1,3 +1,179 @@
+Thu Nov 30 23:54:17 1995  Per Bothner  <bothner@kalessin.cygnus.com>
+
+       * gdbtypes.c (check_stub_type):  Removed;  no longes needed.
+       * ch-exp.c (expect, parse_call):  Tweak error messages.
+
+Wed Nov 29 13:35:18 1995  Per Bothner  <bothner@kalessin.cygnus.com>
+
+       * scm-valprint.c (scm_isymnames):  Remove "#@" prefix.
+       (scm_scmval_print):  Do not print "#@" prefix.
+
+       * gdbtypes.h (enum type_code):  Added TYPE_CODE_TYPEDEF.
+       (check_typedef):  New prototype.
+       (CHECK_TYPEDEF):  New macro.
+       (TYPE_DUMMY_RANGE):  Removed.
+       * gdbtypes.c (get_discrete_bounds):  Fix paren error; make more robust.
+       (create_array_type):  Don't force_to_range_type;  users of the
+       array are responsible for handling non-range index types.
+       (create_set_type):  Likewise.
+       (force_to_range_type):  Removed.
+       (check_typedef):  New function handles stub types and typedefs.
+       (check_stub_type):  Just call check_typedef. (To be removed.)
+       (recursive_dump_type):  Handle TYPE_CODE_TYPEDEF.
+       * ch-lang.c (type_lower_upper):  Use get_discrete_bounds.
+       (evaluate_subexp_chill):  Handle string repetition.
+       Re-arrange to handle EVAL_AVOID_SIDE_EFFECTS better.
+       * ch-typeprint.c (chill_type_print_base):  Handle TYPE_CODE_TYPEDEF.
+       Pass show=0 in recursive calls various places.
+       (case TYPE_CODE_ARRAY):  Don't require index type to have
+       TYPE_CODE_RANGE.
+       (case TYPE_CODE_RANGE):  Don't need to support TYPE_DUMMY_RANGE.
+       * gdbtypes.c, ch-lang.c, ch-typeprint.c (numerous places):
+       Add check_typedef/CHECK_TYPEDEF as needed.
+
+       * ch-exp.y:  Replaced by ...
+       * ch-exp.c:  New file.  Use recursive-descent.
+       Recognize labelled array tuples and powerset ranges.
+       * Makefile.in:  Update for no longer using yacc for ch-exp.
+
+       * c-lang.c:  Make various functions non-static.
+       * c-lang.h:  Add bunches of prototypes.
+       * cp-valprint.c (cp_print_value_fields):  Also take address.
+       (cp_print_value):  Likewise.  Use baselcass_offset.
+       * stabsread.c (current_symbol):  New static variable.
+       (type_synonym_name):  Remove.
+       (read_type):  If copying, make copy be a TYPE_CODE_TYPEDEF.
+       (read_array_type):  Don't need to handle undefined element type here.
+       (cleanup_undefined_types):  Ditto.
+       (read_range_type):  Look for Chill ranges.
+       * valops.c (value_assign):  Fix case lval_internalvar - don't try
+       to assign into old value (which might be too small!).
+       (value_coerce_array):  No longer need special VALUE_REPEATED handling.
+       (value_arg_coerce):  Cleaner array->pointer decay mechanism.
+       (search_struct_field):  Use baseclass_offset rather than
+       baseclass_addr.
+       (value_slice):  Use get_discrete_bounds.
+       * value.h (COERCE_VARYING_ARRAY):  Take type argumnt as well.
+       * values.c (baseclass_offset):  Change parameter interface.
+       (baseclass_addr):  Removed.
+       * c-typeprint.c, c-valprint.c, ch-valprint.c, values.c, valops.c:
+       Add check_typedef/CHECK_TYPEDEF as needed.
+
+       * alpha-tdep.c, c-exp.y, h8500-tdep.c, f-exp.y, f-valprint.c,
+       findvar.c, hppa-tdep.c, infcmd.c, language.c, printcmd.c,
+       rs6000-tdep.c, symmisc.c, symtab.c, mdebugread.c:
+       Add check_typedef/CHECK_TYPEDEF as needed.
+
+       * f-typeprint.c, valarith.c, valprint.c, typeprint.c, eval.c:
+       Add check_typedef/CHECK_TYPEDEF as needed.
+       * f-typeprint.c:  Various cleaning up.
+       * valarith.c (value_subscript):  Also subscript bitstrings (for Chill).
+       * typeprint.c (print_type_scalar):  Also support TYPE_CODE_RANGE.
+       * eval.c (evaluate_subexp_standard case OP_ARRAY):  Implement
+       support for labelled array tuples and ranges in powerset tuples.
+       (init_array_element):  New function.
+       
+       * top.c (command_line_input):  Only strip out an initial #-comment.
+       Looking for internal comments is language-specific (breaks Scheme).
+       
+       * expression.h (enum exp_opcode):  Add BINOP_RANGE.
+       * expprint.c (dump_expression):  Support BINOP_RANGE.
+       * eval.c (evaluate_subexp_standard):  Handle BINOP_RANGE (as error).
+       (case MULTI_SUBSCRIPT):  Fix broken f77 value->int ad hoc conversion.
+       * ch-lang.c (chill_op_print_tab):  Support BINOP_RANGE.
+       (evaluate_subexp_chill):  Error on BINOP_COMMA.
+
+       * Makefile.in:  Clean up so doc stuff stays in doc sub-dir.
+
+Wed Nov 29 16:39:50 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * monitor.c (monitor_debug): New function to print monitor debug
+       output in printable fashion.
+       (monitor_printf{,_noecho}): Call monitor_debug instead of
+       fputs_unfiltered.
+
+       * srec.c (load_srec): When printing srec debug information, do not
+       print the carriage return directly, instead print \\r followed by
+       a newline.
+
+Tue Nov 28 15:25:28 1995  Doug Evans  <dje@canuck.cygnus.com>
+
+       * Makefile.in (target_subdir): Define.
+       (CC_FOR_TARGET, CXX_FOR_TARGET): Use it to find target libraries.
+       * configure.in (X_CFLAGS): Fix typo.
+       (target_subdir): Set to "${target_alias}/" if cross.
+       * configure: Regenerated.
+
+       * dbxread.c (dbx_symfile_read): Set block_address_function_relative
+       for `pe' format files.
+
+Tue Nov 28 11:17:47 1995  Fred Fish  <fnf@cygnus.com>
+
+       * magic.h:  Renamed to gmagic.h to avoid <magic.h> conflict.
+       * magic.c:  Renamed to gmagic.c in sympathy.
+       * eval.c, gmagic.c, config/tm-magic.h:
+       Include "gmagic.h" rather than "magic.h".
+
+Sat Nov 25 02:56:38 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * mdebugread.c (handle_psymbol_enumerators, parse_symbol):
+       Recognize enums from alpha cc -migrate.
+       (upgrade_type):  Pass correct fd to parse_symbol when parsing
+       the index type of an array.
+       (parse_procedure, parse_lines, psymtab_to_symtab_1):  Handle
+       unsorted procedure descriptors from Irix 5.x and Alpha OSF/1-3.x
+       shared libraries. Use CORE_ADDR instead of `unsigned long' in
+       procedure descriptor address computations.
+
+       * symtab.c (decode_line_1):  Prevent accidental strchr match
+       of a null character with the terminating null character of
+       gdb_completer_quote_characters.
+       (cplusplus_hint):  Make sure that only a single quote is printed
+       in the hint message.
+
+Fri Nov 24 16:17:01 1995  Jeffrey A Law  (law@cygnus.com)
+
+       * top.c (recurse_read_control_structure): Don't make cleanups
+       here.  Callers handle that correctly.
+
+Tue Nov 21 15:16:34 1995  Fred Fish  <fnf@rtl.cygnus.com>
+
+       * config/m68k/xm-hp300hpux.h: Define MMAP_BASE_ADDRESS and MMAP_INCREMENT.
+       Also force HAVE_MMAP to be defined since autoconf is currently broken
+       for detecting a working mmap under hpux.
+       * config/pa/xm-hppah.h (MMAP_BASE_ADDRESS): Tweak MMAP_BASE_ADDRESS
+       to a better value suggested by Jeffrey A Law (law@cygnus.com).
+
+Tue Nov 21 08:48:58 1995  Fred Fish  <fnf@cygnus.com>
+
+       * config/pa/xm-hppah.h: Define MMAP_BASE_ADDRESS and MMAP_INCREMENT.
+       Also force HAVE_MMAP to be defined since autoconf is currently broken
+       for detecting a working mmap under hpux.
+       * objfiles.c (map_to_address): Have gdb print a warning when it
+       is compiled with HAVE_MMAP but without both MMAP_BASE_ADDRESS and
+       MMAP_INCREMENT defined (thus making it appear mmap doesn't work).
+
+Mon Nov 20 14:13:53 1995  Stu Grossman  (grossman@cygnus.com)
+
+       * infrun.c (wait_for_inferior):  Add support for dynamic function
+       trampolines.  These are pieces of code between the caller and the
+       callee that figure out the address of the callee's code at run
+       time.  Upon entry, we can't figure out the callee's address, so we
+       set a breakpoint within the trampoline where the address will be
+       known, and continue the target.  Once we hit the breakpoint, we
+       break at the callee's address and proceed as usual.
+start-sanitize-gm
+       * config/tm-magic.h:  Define DYNAMIC_TRAMPOLINE_NEXTPC.  Turn off
+       IN_SOLIB_CALL_TRAMPOLINE and IN_SOLIB_RETURN_TRAMPOLINE.
+end-sanitize-gm
+
+Mon Nov 20 11:12:34 1995  Fred Fish  <fnf@cygnus.com>
+
+       * objfiles.c (allocate_objfile): Change warning message about mapped
+       symbol tables so that it is obvious that they are not supported on
+       this particular machine rather than implying they are not supported
+       at all in this version of gdb.
+
 Sun Nov 19 05:20:53 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
 
        * irix5-nat.c, osfsolib.c (solib_address):  Return the name of the
This page took 0.026208 seconds and 4 git commands to generate.