diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2010-11-04 13:18:51 +0100 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2010-11-04 13:18:51 +0100 |
commit | 32b0d8a480d8427e8dcc00605ff8f146021e0c37 (patch) | |
tree | 7abcbd0cee56034bd570b80a359c734cced6c75a /src/daemon/MiddleWare.cpp | |
parent | 6cc77995e9132054d884b970c0b320d5bf68045a (diff) | |
download | abrt-32b0d8a480d8427e8dcc00605ff8f146021e0c37.tar.gz abrt-32b0d8a480d8427e8dcc00605ff8f146021e0c37.tar.xz abrt-32b0d8a480d8427e8dcc00605ff8f146021e0c37.zip |
supply CD_EVENTS element in crash dump structures passed to GUI
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/daemon/MiddleWare.cpp')
-rw-r--r-- | src/daemon/MiddleWare.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/daemon/MiddleWare.cpp b/src/daemon/MiddleWare.cpp index 3ad2e9d6..bd1c65e4 100644 --- a/src/daemon/MiddleWare.cpp +++ b/src/daemon/MiddleWare.cpp @@ -635,8 +635,13 @@ mw_result_t FillCrashInfo(const char *crash_id, } load_crash_data_from_debug_dump(dd, pCrashData); + char *events = list_possible_events(dd, NULL, ""); dd_close(dd); + add_to_crash_data_ext(pCrashData, CD_EVENTS, CD_SYS, CD_ISNOTEDITABLE, events); + free(events); + +//TODO: we _never_ use CD_SYS, perhaps we should use it here? add_to_crash_data(pCrashData, CD_UID , row->db_uid ); add_to_crash_data(pCrashData, CD_UUID , row->db_uuid ); add_to_crash_data(pCrashData, CD_INFORMALL , row->db_inform_all ); |