summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Plugins/CCpp.cpp6
-rw-r--r--lib/Plugins/KerneloopsReporter.cpp7
2 files changed, 10 insertions, 3 deletions
diff --git a/lib/Plugins/CCpp.cpp b/lib/Plugins/CCpp.cpp
index 5f0c380..8cdba9c 100644
--- a/lib/Plugins/CCpp.cpp
+++ b/lib/Plugins/CCpp.cpp
@@ -277,7 +277,7 @@ static void GetBacktrace(const char *pDebugDumpDir,
unsetenv("TERM");
putenv((char*)"TERM=dumb");
- char *args[11];
+ char *args[13];
args[0] = (char*)"gdb";
args[1] = (char*)"-batch";
@@ -315,7 +315,9 @@ static void GetBacktrace(const char *pDebugDumpDir,
args[8] = (char*)"-ex";
args[9] = (char*)"thread apply all backtrace full";
- args[10] = NULL;
+ args[10] = (char*)"-ex";
+ args[11] = (char*)"info sharedlib";
+ args[12] = NULL;
ExecVP(args, atoi(UID.c_str()), pBacktrace);
}
diff --git a/lib/Plugins/KerneloopsReporter.cpp b/lib/Plugins/KerneloopsReporter.cpp
index 29094e8..26430be 100644
--- a/lib/Plugins/KerneloopsReporter.cpp
+++ b/lib/Plugins/KerneloopsReporter.cpp
@@ -113,7 +113,12 @@ std::string CKerneloopsReporter::Report(const map_crash_report_t& pCrashReport,
/* FIXME: be more informative */
throw CABRTException(EXCEP_PLUGIN, "CKerneloopsReporter::Report(): Report has not been sent");
}
- return "Kernel oops report was uploaded.";
+ /* Server replies with:
+ * 200 thank you for submitting the kernel oops information
+ * RemoteIP: 34192fd15e34bf60fac6a5f01bba04ddbd3f0558
+ * - no URL or bug ID apparently...
+ */
+ return "Kernel oops report was uploaded";
}
void CKerneloopsReporter::SetSettings(const map_plugin_settings_t& pSettings)