]> sourceware.org Git - systemtap.git/commitdiff
2006-04-04 Roland McGrath <roland@redhat.com>
authorroland <roland>
Wed, 5 Apr 2006 05:20:11 +0000 (05:20 +0000)
committerroland <roland>
Wed, 5 Apr 2006 05:20:11 +0000 (05:20 +0000)
* loc2c.c (array_stride): stride_size -> byte_stride

loc2c.c

diff --git a/loc2c.c b/loc2c.c
index e7c0737155562473723642ecdc3c7c86aad3fcbd..667bd07f57d68b71417fb725c8ebf3a0748a5ad7 100644 (file)
--- a/loc2c.c
+++ b/loc2c.c
@@ -1543,12 +1543,12 @@ static Dwarf_Word
 array_stride (Dwarf_Die *typedie, struct location *origin)
 {
   Dwarf_Attribute attr_mem;
-  if (dwarf_attr_integrate (typedie, DW_AT_stride_size, &attr_mem) != NULL)
+  if (dwarf_attr_integrate (typedie, DW_AT_byte_stride, &attr_mem) != NULL)
     {
       Dwarf_Word stride;
       if (dwarf_formudata (&attr_mem, &stride) == 0)
        return stride;
-      FAIL (origin, N_("cannot get stride_size attribute array type %s: %s"),
+      FAIL (origin, N_("cannot get byte_stride attribute array type %s: %s"),
            dwarf_diename (typedie) ?: "<anonymous>",
            dwarf_errmsg (-1));
     }
This page took 0.031515 seconds and 5 git commands to generate.