breakpad/src/common/linux
benchan@chromium.org 907f95c5bd Modify CrashGenerator::CreateChildCrash to copy proc files.
This patch is taken from the downstream version of breakpad in
Chromium OS:  https://gerrit.chromium.org/gerrit/15148

LinuxCoreDumperTest previously assumes the proc files of the child
process created by CrashGenerator::CreateChildCrash() have the same
content as its parent process, which may not be true. This CL modifies
CrashGenerator to copy the proc files of the child process, created by
CreateChildCrash(), before crashing that process.

BUG=chromium-os:25252
TEST=Verified the following:
TEST=Tested the following:
1. Build on 32-bit and 64-bit Linux with gcc 4.4.3 and gcc 4.6.
2. Build on Mac OS X 10.6.8 with gcc 4.2 and clang 3.0 (with latest gmock).
3. All unit tests pass.
Review URL: https://breakpad.appspot.com/353001

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@925 4c0a9323-5329-0410-9bdc-e9ce6186880e
2012-02-23 18:50:08 +00:00
..
tests Modify CrashGenerator::CreateChildCrash to copy proc files. 2012-02-23 18:50:08 +00:00
dump_symbols.cc Minor formatting fix following r865. 2011-10-11 20:16:17 +00:00
dump_symbols.h Linux/Mac: Add option to omit the CFI section in dump_syms. 2011-09-14 01:02:55 +00:00
dump_symbols_unittest.cc Linux/Mac: Add option to omit the CFI section in dump_syms. 2011-09-14 01:02:55 +00:00
eintr_wrapper.h Breakpad: Update copyright notice years on all files changed in 2010. 2010-02-09 17:08:56 +00:00
elf_core_dump.cc Add utilities for processing Linux core dump files. 2012-01-07 02:25:22 +00:00
elf_core_dump.h Add utilities for processing Linux core dump files. 2012-01-07 02:25:22 +00:00
elf_core_dump_unittest.cc Implement core dump to minidump conversion. 2012-01-19 07:14:51 +00:00
elf_symbols_to_module.cc Dump PUBLIC + CFI records from libraries without debug info on Linux, use .dynsym for symbol names if there are no usable debug symbols. 2011-07-06 17:05:49 +00:00
elf_symbols_to_module.h Dump PUBLIC + CFI records from libraries without debug info on Linux, use .dynsym for symbol names if there are no usable debug symbols. 2011-07-06 17:05:49 +00:00
elf_symbols_to_module_unittest.cc Add some unit tests for Linux WriteSymbolFile 2011-07-06 17:05:59 +00:00
file_id.cc Refactor code in preparation of merging with the fork in Chromium OS. 2011-12-16 16:42:59 +00:00
file_id.h Refactor code in preparation of merging with the fork in Chromium OS. 2011-12-16 16:42:59 +00:00
file_id_unittest.cc Replace readlink calls with a safer version that guarantees NULL-termination. 2011-12-21 17:51:40 +00:00
google_crashdump_uploader.cc Remove LOG statements from linux utilities so there's no dependency on log library 2010-05-27 19:37:24 +00:00
google_crashdump_uploader.h New uploader for Linux with unit tests, and gflags/glog libraries 2009-09-29 21:55:19 +00:00
google_crashdump_uploader_test.cc New uploader for Linux with unit tests, and gflags/glog libraries 2009-09-29 21:55:19 +00:00
guid_creator.cc Breakpad: Avoid using the C++ <cfoo> headers. 2010-06-25 16:57:07 +00:00
guid_creator.h Add Linux exception handler. 2007-03-12 01:53:18 +00:00
http_upload.cc Fix libcurl include in http_upload (trivial, no bug) 2011-08-30 15:20:56 +00:00
http_upload.h Allow passing certificate path to HTTPUpload::SendRequest 2010-08-11 19:05:53 +00:00
libcurl_wrapper.cc Add specific curl headers to facilitate building on Ubuntu Lucid 2010-11-17 18:45:20 +00:00
libcurl_wrapper.h Add specific curl headers to facilitate building on Ubuntu Lucid 2010-11-17 18:45:20 +00:00
linux_libc_support.h Change some functions in linux_libc_support.h to use intmax_t instead of int. 2012-01-27 12:51:07 +00:00
linux_libc_support_unittest.cc Build LinuxLibcSupportTest and make it pass. 2012-01-11 20:35:18 +00:00
memory_mapped_file.cc Refactor code in preparation of merging with the fork in Chromium OS. 2011-12-16 16:42:59 +00:00
memory_mapped_file.h Refactor code in preparation of merging with the fork in Chromium OS. 2011-12-16 16:42:59 +00:00
memory_mapped_file_unittest.cc Add utilities for processing Linux core dump files. 2012-01-07 02:25:22 +00:00
safe_readlink.cc Replace readlink calls with a safer version that guarantees NULL-termination. 2011-12-21 17:51:40 +00:00
safe_readlink.h Replace readlink calls with a safer version that guarantees NULL-termination. 2011-12-21 17:51:40 +00:00
safe_readlink_unittest.cc Replace readlink calls with a safer version that guarantees NULL-termination. 2011-12-21 17:51:40 +00:00
synth_elf.cc issue 243 - Linux dumper should use build id produced by ld --build-id if available 2011-08-30 15:21:07 +00:00
synth_elf.h issue 243 - Linux dumper should use build id produced by ld --build-id if available 2011-08-30 15:21:07 +00:00
synth_elf_unittest.cc Add some unit tests for Linux WriteSymbolFile 2011-07-06 17:05:59 +00:00