1 |
blino |
21273 |
--- lib/Plugins/CCpp.cpp.debug 2010-11-30 03:34:34.000000000 +0000 |
2 |
|
|
+++ lib/Plugins/CCpp.cpp 2010-11-30 03:35:19.000000000 +0000 |
3 |
|
|
@@ -629,6 +629,12 @@ |
4 |
|
|
dd.LoadText(CD_UID, UID); |
5 |
|
|
dd.Close(); /* do not keep dir locked longer than needed */ |
6 |
|
|
|
7 |
|
|
+ string backtrace_str; |
8 |
|
|
+ GetBacktrace(pDebugDumpDir, m_sDebugInfoDirs.c_str(), backtrace_str); |
9 |
|
|
+ dd.Open(pDebugDumpDir); |
10 |
|
|
+ dd.SaveText(FILENAME_BACKTRACE, (backtrace_str).c_str()); |
11 |
|
|
+ dd.Close(); |
12 |
|
|
+ |
13 |
|
|
string build_ids; |
14 |
|
|
if (m_bInstallDebugInfo) |
15 |
|
|
{ |
16 |
|
|
@@ -640,7 +646,6 @@ |
17 |
|
|
VERB1 log(_("Skipping the debuginfo installation")); |
18 |
|
|
|
19 |
|
|
/* Create and store backtrace. */ |
20 |
|
|
- string backtrace_str; |
21 |
|
|
GetBacktrace(pDebugDumpDir, m_sDebugInfoDirs.c_str(), backtrace_str); |
22 |
|
|
dd.Open(pDebugDumpDir); |
23 |
|
|
dd.SaveText(FILENAME_BACKTRACE, (backtrace_str + build_ids).c_str()); |