summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2009-12-09 19:56:20 +0100
committerJiri Moskovcak <jmoskovc@redhat.com>2009-12-09 19:56:20 +0100
commit3f8e389b0777afd47bcc2fc4fe6001eced2ed54a (patch)
treef1f3efaf5993958f1f111716bf01e141d73888f1 /lib
parentc6ed808433148bd8a704b313010bd57bbaa381d1 (diff)
parentc6cfcc792147083ab41eb990f8ee4e3150cd5d75 (diff)
downloadabrt-3f8e389b0777afd47bcc2fc4fe6001eced2ed54a.tar.gz
abrt-3f8e389b0777afd47bcc2fc4fe6001eced2ed54a.tar.xz
abrt-3f8e389b0777afd47bcc2fc4fe6001eced2ed54a.zip
Merge branch 'master' of ssh://git.fedorahosted.org/git/abrt
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)