diff options
author | Dima Kogan <dima@secretsauce.net> | 2014-04-22 12:58:13 -0700 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-08-22 20:38:25 +0900 |
commit | 73408f452b6bb07a6880d5b8b871464a34193315 (patch) | |
tree | 808326f5fa2abedbebf27f51c8548b2572ee3f7c | |
parent | 599bf2c89c4124a4ca092608284434e5eae9a52c (diff) | |
download | ltrace-73408f452b6bb07a6880d5b8b871464a34193315.tar.gz ltrace-73408f452b6bb07a6880d5b8b871464a34193315.tar.bz2 ltrace-73408f452b6bb07a6880d5b8b871464a34193315.zip |
debug-printing via complain()
-rw-r--r-- | dwarf_prototypes.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 ) { |