[1/2,applied] dwarf-reader: Improve logging messages
Commit Message
Hello,
While looking at something else, I noticed the logging messages from the
DWARF reader when reading debug info into the ABI corpus could use some
improvement.
The patch thus improves logging output when using the tools with the
--verbose option. Applying to the mainline.
* src/abg-dwarf-reader.cc (reader::read_debug_info_into_corpus):
Make logging clearer and more consistent.
Signed-off-by: Dodji Seketeli <dodji@seketeli.org>
---
src/abg-dwarf-reader.cc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
@@ -2441,7 +2441,7 @@ public:
tools_utils::timer t;
if (do_log())
{
- cerr << "building die -> parent maps ...";
+ cerr << "building die -> parent maps ...\n";
t.start();
}
@@ -2450,8 +2450,8 @@ public:
if (do_log())
{
t.stop();
- cerr << " DONE@" << corpus()->get_path()
- << ":"
+ cerr << "built DIE -> parent maps for " << corpus()->get_path()
+ << " in : "
<< t
<< "\n";
}