* dwarf2-frame.c (decode_frame_entry_1): Correctly skip
authorMark Kettenis <kettenis@gnu.org>
Fri, 5 Nov 2004 15:16:44 +0000 (15:16 +0000)
committerMark Kettenis <kettenis@gnu.org>
Fri, 5 Nov 2004 15:16:44 +0000 (15:16 +0000)
personality routine in a CIE augmentation.

gdb/ChangeLog
gdb/dwarf2-frame.c

index 6cc77e98b2c3df505526221f0a1dd18912445c01..c33c8b53ab2e6079bc9bbebe64a360ed5b507f3d 100644 (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.
index ba969277fb670d59749d6c4d73f6eab66a8383c8..39722cc1bc0a3b3786241966ce50954f90d45070 100644 (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++;
            }
 
This page took 0.044352 seconds and 4 git commands to generate.