[ltrace-commits] 06/40: debug-printing via complain()
Petr Machata
pmachata-guest at moszumanska.debian.org
Sun May 11 22:38:52 UTC 2014
This is an automated email from the git hooks/post-receive script.
pmachata-guest pushed a commit to branch master
in repository ltrace.
commit 5bf4a9367adfb764da44e25f4646d75580247c6e
Author: Dima Kogan <dima at secretsauce.net>
Date: Tue Apr 22 12:58:13 2014 -0700
debug-printing via complain()
---
dwarf_prototypes.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dwarf_prototypes.c b/dwarf_prototypes.c
index 4a07d49..e4677f2 100644
--- a/dwarf_prototypes.c
+++ b/dwarf_prototypes.c
@@ -423,7 +423,7 @@ static bool getStructure(struct arg_type_info* struct_info, Dwarf_Die* parent)
}
while(1) {
- fprintf(stderr, "member: 0x%02x/'%s'\n", dwarf_tag(&die), dwarf_diename(&die) );
+ complain(&die, "member: 0x%02x", dwarf_tag(&die) );
if( dwarf_tag(&die) != DW_TAG_member )
{
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/ltrace.git
More information about the ltrace-commits
mailing list