aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp b/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
index 7beadf88c..bebfdff30 100644
--- a/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
+++ b/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
@@ -2347,6 +2347,9 @@ SymbolFileDWARF::ReportError (const char *format, ...)
m_obj_file->GetFileSpec().GetDirectory().GetCString(),
m_obj_file->GetFileSpec().GetFilename().GetCString());
+ if (m_obj_file->GetModule()->GetObjectName())
+ ::fprintf (stderr, "(%s) ", m_obj_file->GetModule()->GetObjectName().GetCString());
+
va_list args;
va_start (args, format);
vfprintf (stderr, format, args);
@@ -2361,6 +2364,9 @@ SymbolFileDWARF::ReportWarning (const char *format, ...)
m_obj_file->GetFileSpec().GetDirectory().GetCString(),
m_obj_file->GetFileSpec().GetFilename().GetCString());
+ if (m_obj_file->GetModule()->GetObjectName())
+ ::fprintf (stderr, "(%s) ", m_obj_file->GetModule()->GetObjectName().GetCString());
+
va_list args;
va_start (args, format);
vfprintf (stderr, format, args);