* coffread.c (process_coff_symbol): Change PCC argument correction
authorJohn Gilmore <gnu@cygnus>
Tue, 2 Mar 1993 03:39:37 +0000 (03:39 +0000)
committerJohn Gilmore <gnu@cygnus>
Tue, 2 Mar 1993 03:39:37 +0000 (03:39 +0000)
commit1d9449abbfeb16bf88e41a98013793c3e3b98578
treeab070ae1644f29ee92febedb1f91db0bfe3ee08f
parentfefe2ed9292bb1188e684ab70680b557a1c76edc
* coffread.c (process_coff_symbol):  Change PCC argument correction
so that it only happens on big-endian targets; so that it only
happens if the short or char argument is aligned on an int
boundary; and so that it changes the location, rather than the
type, of the argument.  These changes tend to parallel similar
(old) changes in stabsread.c.

* coffread.c (coff_read_enum_type):  Use the specified size for
enums, don't assume that they are int-sized.

* c-valprint.c (c_val_print):  Don't assume enums are the same as
ints.
gdb/ChangeLog
gdb/c-valprint.c