From 6ce6af84113edf73e293fe7655ed93f22109020f Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Thu, 17 Sep 2009 22:01:04 +0200 Subject: dwarf_getlocation_implicit_value() was/will be introduced in elfutils 0.143. * loc2c.c (translate): _ELFUTILS_PREREQ(0,143). Clarify attr == NULL DIE message. --- loc2c.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'loc2c.c') diff --git a/loc2c.c b/loc2c.c index 4bc6aa6e..3eae22e2 100644 --- a/loc2c.c +++ b/loc2c.c @@ -532,10 +532,10 @@ translate (struct obstack *pool, int indent, Dwarf_Addr addrbias, case DW_OP_implicit_value: { if (attr == NULL) - DIE ("No Dwarf_Attribute given, but DW_OP_implicit_value used"); + DIE ("DW_OP_implicit_value used in invalid context (no dwarf attribute, ABI return value location?)"); else { -#if ! _ELFUTILS_PREREQ(0,142) +#if ! _ELFUTILS_PREREQ(0,143) Dwarf_Block block; Dwarf_Op *op = (Dwarf_Op *) &expr[i]; if (dwarf_getlocation_implicit_value (attr, op, &block) != 0) -- cgit