summaryrefslogtreecommitdiffstats
path: root/loc2c-test.c
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2009-07-23 12:43:03 -0400
committerDave Brolley <brolley@redhat.com>2009-07-23 12:43:03 -0400
commitc04c525de43003fb00612df635a7c819b5a1d645 (patch)
tree22cd1e41f84a66d7eaece8e17138bf83427f4bab /loc2c-test.c
parent6c456acd35009630facd95cca91483a92aa50e9f (diff)
parent4a8636a307a9a532dcc60b5ad8bf809a20dc24c3 (diff)
downloadsystemtap-steved-c04c525de43003fb00612df635a7c819b5a1d645.tar.gz
systemtap-steved-c04c525de43003fb00612df635a7c819b5a1d645.tar.xz
systemtap-steved-c04c525de43003fb00612df635a7c819b5a1d645.zip
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Diffstat (limited to 'loc2c-test.c')
-rw-r--r--loc2c-test.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/loc2c-test.c b/loc2c-test.c
index 7bfa6938..ccd9510c 100644
--- a/loc2c-test.c
+++ b/loc2c-test.c
@@ -529,6 +529,7 @@ main (int argc, char **argv)
#ifdef _ELFUTILS_PREREQ
#if _ELFUTILS_PREREQ(0,142)
+ size_t cfa_nops;
Dwarf_Addr bias;
Dwfl_Module *module = dwfl_addrmodule (dwfl, pc);
if (module != NULL)
@@ -539,7 +540,7 @@ main (int argc, char **argv)
{
Dwarf_Frame *frame = NULL;
if (dwarf_cfi_addrframe (cfi, pc, &frame) == 0)
- dwarf_frame_cfa (frame, &cfa_ops);
+ dwarf_frame_cfa (frame, &cfa_ops, &cfa_nops);
}
if (cfa_ops == NULL)
{
@@ -548,7 +549,7 @@ main (int argc, char **argv)
{
Dwarf_Frame *frame = NULL;
if (dwarf_cfi_addrframe (cfi, pc, &frame) == 0)
- dwarf_frame_cfa (frame, &cfa_ops);
+ dwarf_frame_cfa (frame, &cfa_ops, &cfa_nops);
}
}
}