aboutsummaryrefslogtreecommitdiff
path: root/gdb/ch-exp.c
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1996-01-24 00:35:09 +0000
committerPer Bothner <per@bothner.com>1996-01-24 00:35:09 +0000
commit533bda77040578d94e4151d6b5f9bbe63c7a9d9d (patch)
treefec8402c2e9409d0948cca4ed777d86397855433 /gdb/ch-exp.c
parenta4ff5d3332e555afd1f68b930d774d3b60003b13 (diff)
downloadgdb-533bda77040578d94e4151d6b5f9bbe63c7a9d9d.zip
gdb-533bda77040578d94e4151d6b5f9bbe63c7a9d9d.tar.gz
gdb-533bda77040578d94e4151d6b5f9bbe63c7a9d9d.tar.bz2
* value.h (COERCE_ARRAY): Don't coerce enums.
(COERCE_ENUM): Don't COERCE_REF. (COERCE_NUMBER): New macro (same as COERCE_ARRAY then COERCE_ENUM). * valops.c (value_assign): Only do COERCE_ARRAY if internalvar (let value_cast handle it otherwise); do *not* COERCE_ENUM either way. * valarith.c: Use COERCE_NUMBER instead od COEREC_ARRAY. Add COERCE_REF before COERCE_ENUM. * values.c (value_as_long): Simplify. This fixes PR chill/8869. * valops.c (value_array): Create internalvar if !c_style_arrays.
Diffstat (limited to 'gdb/ch-exp.c')
0 files changed, 0 insertions, 0 deletions