diff options
Diffstat (limited to 'lib/Plugins/CCpp.cpp')
| -rw-r--r-- | lib/Plugins/CCpp.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/Plugins/CCpp.cpp b/lib/Plugins/CCpp.cpp index 5d344c0..add4e50 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); } @@ -433,6 +435,7 @@ static void InstallDebugInfos(const char *pDebugDumpDir, build_ids += "Debuginfo absent: "; build_ids += buff + 8; build_ids += "\n"; + continue; } const char *p = buff; @@ -442,7 +445,7 @@ static void InstallDebugInfos(const char *pDebugDumpDir, } if (*p) { - log("%s", buff); + VERB1 log("%s", buff); update_client("%s", buff); } } @@ -654,8 +657,6 @@ static bool DebuginfoCheckPolkit(int uid) void CAnalyzerCCpp::CreateReport(const char *pDebugDumpDir, int force) { - update_client(_("Starting report creation...")); - string package; string backtrace; string UID; |
