* 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

@@ -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++;
}