diff options
author | Mark Wielaard <mjw@redhat.com> | 2009-09-17 22:01:04 +0200 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2009-09-17 22:06:29 +0200 |
commit | 6ce6af84113edf73e293fe7655ed93f22109020f (patch) | |
tree | dc2440b55b4283ba1f5d9eae21d5f32100a2f589 /loc2c.c | |
parent | 58e4e81606cd8da44d8efb28f798b66a2792cd49 (diff) | |
download | systemtap-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |