diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/MiddleWare/MiddleWare.cpp | 1 | ||||
| -rw-r--r-- | lib/MiddleWare/Reporter.h | 1 | ||||
| -rw-r--r-- | lib/Plugins/Mailx.cpp | 3 |
3 files changed, 5 insertions, 0 deletions
diff --git a/lib/MiddleWare/MiddleWare.cpp b/lib/MiddleWare/MiddleWare.cpp index 1dd12de..5a5e39d 100644 --- a/lib/MiddleWare/MiddleWare.cpp +++ b/lib/MiddleWare/MiddleWare.cpp @@ -93,6 +93,7 @@ void CMiddleWare::DebugDump2Report(const std::string& pDebugDumpDir, CReporter:: dd.LoadText(FILENAME_KERNEL, pReport.m_sKernel); dd.LoadText(FILENAME_PACKAGE, pReport.m_sPackage); dd.LoadText(FILENAME_EXECUTABLE, pReport.m_sExecutable); + dd.LoadText(FILENAME_CMDLINE, pReport.m_sCmdLine); if (dd.Exist(FILENAME_TEXTDATA1)) { diff --git a/lib/MiddleWare/Reporter.h b/lib/MiddleWare/Reporter.h index 5419bdc..8f23065 100644 --- a/lib/MiddleWare/Reporter.h +++ b/lib/MiddleWare/Reporter.h @@ -33,6 +33,7 @@ class CReporter : public CPlugin std::string m_sArchitecture; std::string m_sKernel; std::string m_sExecutable; + std::string m_sCmdLine; std::string m_sPackage; std::string m_sTextData1; std::string m_sTextData2; diff --git a/lib/Plugins/Mailx.cpp b/lib/Plugins/Mailx.cpp index eb73184..cb26e39 100644 --- a/lib/Plugins/Mailx.cpp +++ b/lib/Plugins/Mailx.cpp @@ -74,6 +74,9 @@ void CMailx::Report(const report_t& pReport) ss << "Executable" << std::endl; ss << "----------" << std::endl; ss << pReport.m_sExecutable << std::endl << std::endl; + ss << "CmdLine" << std::endl; + ss << "----------" << std::endl; + ss << pReport.m_sCmdLine << std::endl << std::endl; ss << "Created report" << std::endl; ss << "==============" << std::endl; ss << "Text reports" << std::endl; |
