diff options
author | John Gilmore <gnu@cygnus> | 1993-03-02 03:39:37 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1993-03-02 03:39:37 +0000 |
commit | 1d9449abbfeb16bf88e41a98013793c3e3b98578 (patch) | |
tree | ab070ae1644f29ee92febedb1f91db0bfe3ee08f /gdb/c-valprint.c | |
parent | fefe2ed9292bb1188e684ab70680b557a1c76edc (diff) | |
download | gdb-1d9449abbfeb16bf88e41a98013793c3e3b98578.zip gdb-1d9449abbfeb16bf88e41a98013793c3e3b98578.tar.gz gdb-1d9449abbfeb16bf88e41a98013793c3e3b98578.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/c-valprint.c')
-rw-r--r-- | gdb/c-valprint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/c-valprint.c b/gdb/c-valprint.c index 1df8228..1a3151b 100644 --- a/gdb/c-valprint.c +++ b/gdb/c-valprint.c @@ -289,7 +289,7 @@ c_val_print (type, valaddr, address, stream, format, deref_ref, recurse, break; } len = TYPE_NFIELDS (type); - val = unpack_long (builtin_type_int, valaddr); + val = unpack_long (type, valaddr); for (i = 0; i < len; i++) { QUIT; |