* dwarf2-frame.c (decode_frame_entry_1): Correctly skip

personality routine in a CIE augmentation.
This commit is contained in:
Mark Kettenis 2004-11-05 15:16:44 +00:00
parent dcd46b4e95
commit f724bf08b7
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2004-11-05 Mark Kettenis <kettenis@jive.nl>
* dwarf2-frame.c (decode_frame_entry_1): Correctly skip
personality routine in a CIE augmentation.
2004-11-05 Felix Lee <felix+log1@specifixinc.com>
* stack.c (set_current_sal_from_frame): New function.

View file

@ -1381,7 +1381,9 @@ decode_frame_entry_1 (struct comp_unit *unit, char *start, int eh_frame_p)
else if (*augmentation == 'P')
{
/* Skip. */
buf += size_of_encoded_value (*buf++);
unsigned char encoding = *buf++;
read_encoded_value (unit, encoding, buf, &bytes_read);
buf += bytes_read;
augmentation++;
}