* dwarf2-frame.c (read_encoded_value): Set proper size for signed

encodings as well as unsigned encodings.
This commit is contained in:
Mark Kettenis 2004-11-02 22:25:47 +00:00
parent 675b2ace5d
commit b04de77876
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-11-02 Mark Kettenis <kettenis@gnu.org>
* dwarf2-frame.c (read_encoded_value): Set proper size for signed
encodings as well as unsigned encodings.
2004-11-02 Andrew Cagney <cagney@gnu.org>
* value.h (COERCE_VARYING_ARRAY): Delete.

View File

@ -1117,7 +1117,7 @@ read_encoded_value (struct comp_unit *unit, unsigned char encoding,
internal_error (__FILE__, __LINE__, "Invalid or unsupported encoding");
}
if ((encoding & 0x0f) == 0x00)
if ((encoding & 0x07) == 0x00)
encoding |= encoding_for_size (ptr_len);
switch (encoding & 0x0f)