* ch-exp.y: Replaced by ...
authorPer Bothner <per@bothner.com>
Thu, 30 Nov 1995 03:26:34 +0000 (03:26 +0000)
committerPer Bothner <per@bothner.com>
Thu, 30 Nov 1995 03:26:34 +0000 (03:26 +0000)
commit5e54886116dd58d05183a465350c127f65fa4460
treedf9f188beaf544b89ab36d73c970de5fb00a7f85
parentdcdba37e2d5970979f1d87cef209495aae83f94c
* 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.
13 files changed:
gdb/ChangeLog
gdb/Makefile.in
gdb/c-lang.c
gdb/c-lang.h
gdb/c-typeprint.c
gdb/c-valprint.c
gdb/ch-exp.c [new file with mode: 0644]
gdb/ch-exp.y
gdb/ch-valprint.c
gdb/cp-valprint.c
gdb/stabsread.c
gdb/valops.c
gdb/values.c