summaryrefslogtreecommitdiffstats
path: root/loc2c.c
diff options
context:
space:
mode:
authorroland <roland>2006-04-05 05:20:11 +0000
committerroland <roland>2006-04-05 05:20:11 +0000
commit7f2884e8ec3ac0bba2c0a1188b73777decc6917d (patch)
tree1b2d6d2b956ce854cbec761070ec4d791e241ecd /loc2c.c
parentf8949662bbe79a4dd4c4d9a2b0ab2b5637657a68 (diff)
downloadsystemtap-steved-7f2884e8ec3ac0bba2c0a1188b73777decc6917d.tar.gz
systemtap-steved-7f2884e8ec3ac0bba2c0a1188b73777decc6917d.tar.xz
systemtap-steved-7f2884e8ec3ac0bba2c0a1188b73777decc6917d.zip
2006-04-04 Roland McGrath <roland@redhat.com>
* loc2c.c (array_stride): stride_size -> byte_stride
Diffstat (limited to 'loc2c.c')
-rw-r--r--loc2c.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/loc2c.c b/loc2c.c
index e7c07371..667bd07f 100644
--- 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));
}