diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2011-02-10 15:45:19 +0100 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2011-02-10 15:45:19 +0100 |
commit | 87cb89bc82dc034996175c59b0b2553cab25a9ef (patch) | |
tree | 297d108b56d9bac10a6804b1fd4ac7b9d74be708 /doc | |
parent | f2cc43b93920a7e32c5c31f4ca5171691226ee71 (diff) | |
download | abrt-87cb89bc82dc034996175c59b0b2553cab25a9ef.tar.gz abrt-87cb89bc82dc034996175c59b0b2553cab25a9ef.tar.xz abrt-87cb89bc82dc034996175c59b0b2553cab25a9ef.zip |
updated doc/TODO_crash_dump_fields
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/TODO_crash_dump_fields | 41 |
1 files changed, 40 insertions, 1 deletions
diff --git a/doc/TODO_crash_dump_fields b/doc/TODO_crash_dump_fields index a35b3b04..86112319 100644 --- a/doc/TODO_crash_dump_fields +++ b/doc/TODO_crash_dump_fields @@ -64,4 +64,43 @@ for (each crash_data element) ... } -Can it be done with a flag? + write_crash_report_field(fp, report, FILENAME_COMMENT, + _("# Describe the circumstances of this crash below")); + write_crash_report_field(fp, report, FILENAME_REPRODUCE, + _("# How to reproduce the crash?")); + write_crash_report_field(fp, report, FILENAME_BACKTRACE, + _("# Backtrace\n# Check that it does not contain any sensitive data (passwords, etc.)")); + write_crash_report_field(fp, report, FILENAME_DUPHASH, "# DUPHASH"); + write_crash_report_field(fp, report, FILENAME_ARCHITECTURE, _("# Architecture")); + write_crash_report_field(fp, report, FILENAME_CMDLINE, _("# Command line")); + write_crash_report_field(fp, report, FILENAME_COMPONENT, _("# Component")); + write_crash_report_field(fp, report, FILENAME_COREDUMP, _("# Core dump")); + write_crash_report_field(fp, report, FILENAME_EXECUTABLE, _("# Executable")); + write_crash_report_field(fp, report, FILENAME_KERNEL, _("# Kernel version")); + write_crash_report_field(fp, report, FILENAME_PACKAGE, _("# Package")); + write_crash_report_field(fp, report, FILENAME_REASON, _("# Reason of crash")); + write_crash_report_field(fp, report, FILENAME_OS_RELEASE, _("# Release string of the operating system")); + + printf(_("Dump directory: %s\n" + "Last crash: %s\n" + "Analyzer: %s\n" + "Component: %s\n" + "Package: %s\n" + "Command: %s\n" + "Executable: %s\n" + "System: %s, kernel %s\n" + "Reason: %s\n"), + get_crash_item_content_or_die(crash_data, CD_DUMPDIR), + timeloc, + get_crash_item_content_or_die(crash_data, FILENAME_ANALYZER), + get_crash_item_content_or_die(crash_data, FILENAME_COMPONENT), + get_crash_item_content_or_die(crash_data, FILENAME_PACKAGE), + get_crash_item_content_or_die(crash_data, FILENAME_CMDLINE), + get_crash_item_content_or_die(crash_data, FILENAME_EXECUTABLE), + get_crash_item_content_or_die(crash_data, FILENAME_OS_RELEASE), + get_crash_item_content_or_die(crash_data, FILENAME_KERNEL), + get_crash_item_content_or_die(crash_data, FILENAME_REASON) + ); + +Can it be done better, so that we dont need to rewrite each of these places +every time we add a new field? |