From e7541bf72e56f56c9af45fccbb8f77efe35dcb94 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 9 Dec 2009 13:26:35 +0100 Subject: CCpp analyzer: added "info sharedlib" (https://fedorahosted.org/abrt/ticket/90) Signed-off-by: Denys Vlasenko --- lib/Plugins/CCpp.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/Plugins/CCpp.cpp') 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); } -- cgit