diff options
author | Lei Zhang <thestig@google.com> | 2018-04-02 22:29:08 -0700 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2018-04-03 16:35:14 +0000 |
commit | adcc90ddb8c9ebc13a4312116ad92d8628b691c3 (patch) | |
tree | dbbb720156554b0078598fcd612718b01d9eb912 /src/client/linux/minidump_writer/linux_core_dumper.cc | |
parent | Add missing header for free function (diff) | |
download | breakpad-adcc90ddb8c9ebc13a4312116ad92d8628b691c3.tar.xz |
Linux: Write out si_code for SIGBUS exceptions.
Store the information in the exception record's exception_information
field.
Change-Id: Ie215cae2f070fdab63c3d05cc1bc4fb4b7b095fa
Reviewed-on: https://chromium-review.googlesource.com/990799
Reviewed-by: Mark Mentovai <mark@chromium.org>
Diffstat (limited to 'src/client/linux/minidump_writer/linux_core_dumper.cc')
-rw-r--r-- | src/client/linux/minidump_writer/linux_core_dumper.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/linux/minidump_writer/linux_core_dumper.cc b/src/client/linux/minidump_writer/linux_core_dumper.cc index 622f0506..9bf2d2ef 100644 --- a/src/client/linux/minidump_writer/linux_core_dumper.cc +++ b/src/client/linux/minidump_writer/linux_core_dumper.cc @@ -212,6 +212,7 @@ bool LinuxCoreDumper::EnumerateThreads() { if (first_thread) { crash_thread_ = pid; crash_signal_ = status->pr_info.si_signo; + crash_signal_code_ = status->pr_info.si_code; } first_thread = false; threads_.push_back(pid); |