diff options
author | Mark Wielaard <mjw@redhat.com> | 2013-08-28 18:10:44 +0200 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2013-09-03 11:30:26 +0200 |
commit | d3f164551f3f5d9ebd47cd4c055873ba1658a1b6 (patch) | |
tree | 2eef16dce2d3a819338adb600a7dd8a37e5aa84f /tests/addrcfi.c | |
parent | ed9d2cad539eef89abac0490bbcbf647758905e3 (diff) | |
download | elfutils-d3f164551f3f5d9ebd47cd4c055873ba1658a1b6.tar.gz |
tests: Add ppc32 and ppc64 addrcfi testcases.
Signed-off-by: Mark Wielaard <mjw@redhat.com>
Diffstat (limited to 'tests/addrcfi.c')
-rw-r--r-- | tests/addrcfi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/addrcfi.c b/tests/addrcfi.c index 7678884b..398b2918 100644 --- a/tests/addrcfi.c +++ b/tests/addrcfi.c @@ -25,7 +25,6 @@ #include <stdio_ext.h> #include <locale.h> #include <stdlib.h> -#include <error.h> #include <string.h> #include "../libdw/known-dwarf.h" @@ -111,7 +110,7 @@ handle_cfi (Dwfl *dwfl, const char *which, Dwarf_CFI *cfi, int result = dwarf_cfi_addrframe (cfi, pc - stuff->bias, &stuff->frame); if (result != 0) { - error (0, 0, "dwarf_cfi_addrframe (%s): %s", which, dwarf_errmsg (-1)); + printf ("dwarf_cfi_addrframe (%s): %s\n", which, dwarf_errmsg (-1)); return 1; } |