From 7f2884e8ec3ac0bba2c0a1188b73777decc6917d Mon Sep 17 00:00:00 2001 From: roland Date: Wed, 5 Apr 2006 05:20:11 +0000 Subject: 2006-04-04 Roland McGrath * loc2c.c (array_stride): stride_size -> byte_stride --- loc2c.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'loc2c.c') 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) ?: "", dwarf_errmsg (-1)); } -- cgit