summaryrefslogtreecommitdiffstats
path: root/tests/allfcts.c
diff options
context:
space:
mode:
authorRoland McGrath <[email protected]>2005-10-28 07:07:19 +0000
committerRoland McGrath <[email protected]>2005-10-28 07:07:19 +0000
commit6724c90d02659f7466b67b357563042e403d154e (patch)
tree9671d9d41baee4b5256feac1f9f49d45aaa95500 /tests/allfcts.c
parent07d4f2fc1cb53f170a71bc13617bbdd9cb1c3c60 (diff)
NEWS updates
Diffstat (limited to 'tests/allfcts.c')
-rw-r--r--tests/allfcts.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/allfcts.c b/tests/allfcts.c
index 147ebc2c..f414983c 100644
--- a/tests/allfcts.c
+++ b/tests/allfcts.c
@@ -5,12 +5,12 @@
static int
-cb (Dwarf_Func *func, void *arg __attribute__ ((unused)))
+cb (Dwarf_Die *func, void *arg __attribute__ ((unused)))
{
- const char *file = dwarf_func_file (func);
+ const char *file = dwarf_decl_file (func);
int line = -1;
- dwarf_func_line (func, &line);
- const char *fct = dwarf_func_name (func);
+ dwarf_decl_line (func, &line);
+ const char *fct = dwarf_diename (func);
printf ("%s:%d:%s\n", file, line, fct);