summaryrefslogtreecommitdiffstats
path: root/loc2c.c
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2009-09-17 22:01:04 +0200
committerMark Wielaard <mjw@redhat.com>2009-09-17 22:06:29 +0200
commit6ce6af84113edf73e293fe7655ed93f22109020f (patch)
treedc2440b55b4283ba1f5d9eae21d5f32100a2f589 /loc2c.c
parent58e4e81606cd8da44d8efb28f798b66a2792cd49 (diff)
downloadsystemtap-steved-6ce6af84113edf73e293fe7655ed93f22109020f.tar.gz
systemtap-steved-6ce6af84113edf73e293fe7655ed93f22109020f.tar.xz
systemtap-steved-6ce6af84113edf73e293fe7655ed93f22109020f.zip
dwarf_getlocation_implicit_value() was/will be introduced in elfutils 0.143.
* loc2c.c (translate): _ELFUTILS_PREREQ(0,143). Clarify attr == NULL DIE message.
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 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)