diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-11-02 22:25:47 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-11-02 22:25:47 +0000 |
commit | 546909b3d42ef315b5bd2c2a68d8d7b599b2322d (patch) | |
tree | 8e6fdf1583a9b455c0d38766c20dc274a959ca48 /gdb/dwarf2-frame.c | |
parent | 35af111967862fca17f00c01a2378358601c6d4e (diff) | |
download | gdb-546909b3d42ef315b5bd2c2a68d8d7b599b2322d.tar.gz |
* dwarf2-frame.c (read_encoded_value): Set proper size for signed
encodings as well as unsigned encodings.
Diffstat (limited to 'gdb/dwarf2-frame.c')
-rw-r--r-- | gdb/dwarf2-frame.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2-frame.c b/gdb/dwarf2-frame.c index 0e1a9532a99..c96b673f96b 100644 --- a/gdb/dwarf2-frame.c +++ b/gdb/dwarf2-frame.c @@ -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) |