diff options
author | Roland McGrath <roland@redhat.com> | 2010-06-17 15:25:01 -0700 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2010-06-17 15:25:01 -0700 |
commit | b000b888cf07db01520640a60392082afc8742fa (patch) | |
tree | 884d27c3db9a2275f90e5bdb79f9d6cd92ed10a7 /tests | |
parent | 29ac69dea1640adbe9a19d158f4ea702f8f4223c (diff) | |
parent | da062d546fc6e6196ec0a7c1e7705dc30cf2a696 (diff) | |
download | elfutils-b000b888cf07db01520640a60392082afc8742fa.tar.gz |
Merge commit 'elfutils-0.147' into dwarf
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ChangeLog | 5 | ||||
-rw-r--r-- | tests/addrcfi.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog index 83b4b747..e2fe66f2 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,8 @@ +2010-04-22 Roland McGrath <roland@redhat.com> + + * addrcfi.c (handle_cfi): Fix function name in error message. + Use dwarf_errmsg, not dwfl_errmsg, after dwarf_cfi_addrframe. + 2010-04-14 Roland McGrath <roland@redhat.com> * Makefile.am (EXTRA_DIST): Add run-test-flag-nobits.sh here too. diff --git a/tests/addrcfi.c b/tests/addrcfi.c index 2a3db05c..4e042418 100644 --- a/tests/addrcfi.c +++ b/tests/addrcfi.c @@ -1,5 +1,5 @@ /* Test program for CFI handling. - Copyright (C) 2009 Red Hat, Inc. + Copyright (C) 2009-2010 Red Hat, Inc. This file is part of Red Hat elfutils. Red Hat elfutils is free software; you can redistribute it and/or modify @@ -100,7 +100,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_addrframe (%s): %s", which, dwfl_errmsg (-1)); + error (0, 0, "dwarf_cfi_addrframe (%s): %s", which, dwarf_errmsg (-1)); return 1; } |