personality routine in a CIE augmentation. Avoid indirection.
+2004-11-20 Mark Kettenis <kettenis@gnu.org>
+
+ * dwarf2-frame.c (decode_frame_entry_1): Correctly skip
+ personality routine in a CIE augmentation. Avoid indirection.
+
2004-11-12 Kei Sakamoto <sakamoto.kei@renesas.com>
* Makefile.in (m32r-linux-tdep.o): Update dependencies.
/* "P" indicates a personality routine in the CIE augmentation. */
else if (*augmentation == 'P')
{
- /* Skip. */
- buf += size_of_encoded_value (*buf++);
+ /* Skip. Avoid indirection since we throw away the result. */
+ unsigned char encoding = (*buf++) & ~DW_EH_PE_indirect;
+ read_encoded_value (unit, encoding, buf, &bytes_read);
+ buf += bytes_read;
augmentation++;
}