Add lss r3
Add gtest r175
Add stdlib.h so sym_upload.cc finds exit() [backport]
Use portage environment when building sym_upload
Add stdio.h/stdlib.h so minidump_upload compiles [backport]
Add splitdebug support to dump_sym [diverged with upstream]
Remove flaky test
Support dumping human readable Linux streams [to upstream]
Report HTTP errors in sym_upload [to upstream]
Add core2md as duplicated tree
google-breakpad: Add inherit review settings file

Change-Id: Ia725649acca23e9ccdb907103b43230e6c4531f0

BUG=9116

Review URL: http://codereview.chromium.org/5050001
Merge remote branch 'cros/upstream' into merge-branch.
Brings us up to google-breakpad's 734.

Conflicts resolved:
	src/common/linux/dump_symbols.cc
	src/common/linux/dump_symbols.h
	src/processor/minidump_dump.cc
	src/tools/linux/dump_syms/dump_syms.cc
	src/tools/linux/symupload/minidump_upload.cc
	src/tools/linux/symupload/sym_upload.cc

BUG=9281
TEST=
1) emerge with host, x86-generic, arm-generic
2) run UserCrash like 40 times
3) run cros_generate_breakpad_symbols on full checkout without obvious errors
4) ran FEATURES=test emerge-x86-generic google-breakpad

Change-Id: I4c31862d26bd744eda2064f3175cec6adb4c1388
Fix an assertion encountered in UntypedMDRVA::Copy().

Fix an assertion where a zero-length buffer was being passed to
UntypedMDRVA::Copy().  This occurred when WriteFile() was given a file whose
size was a multiple of the temporary buffer size.  In this issue's case, the
procfs file "environ" happened to be 2032 bytes, while the temporary buffer
was 1016 bytes.

BUG=chromium-os:17032
TEST=Manually ran core2md.

Change-Id: I1704927e413d1c9e14f68dea93985bb6b57f08be
Reviewed-on: http://gerrit.chromium.org/gerrit/3358
Tested-by: Michael Krebs <mkrebs@chromium.org>
Reviewed-by: Michael Krebs <mkrebs@chromium.org>
Fix compiling of google-breakpad with gcc-4.6.

Remove an unnecessary "const" that causes an error with the newer gcc.

BUG=chromium-os:14973
TEST=emerge'd google-breakpad.

Change-Id: Id6469b44ecc56f40346a927c737fc1f990b44d87
Reviewed-on: http://gerrit.chromium.org/gerrit/5249
Reviewed-by: asharif <asharif@chromium.org>
Tested-by: Michael Krebs <mkrebs@chromium.org>
Reviewed-by: Michael Krebs <mkrebs@chromium.org>
Disable ChromiumOS license header pre-submit check.

Disable the ChromiumOS license header pre-submit check because this source
comes down from Chromium, which has a different license.

BUG=None
TEST=Ran 'repo upload .'

Change-Id: I3bd7000959ec4c1b123694d573d38521ba5c51fe
Reviewed-on: http://gerrit.chromium.org/gerrit/5253
Reviewed-by: Ken Mixter <kmixter@chromium.org>
Tested-by: Michael Krebs <mkrebs@chromium.org>
Added clear() function to rewind().

The unittest NetworkSourceLineServerTest.TestMalformedRequest fails since
http://gcc.gnu.org/viewcvs?view=revision&revision=166911. That CL is supposed to
be C++ standards-compliant in resetting the EOF.

Earlier, because of the first malformed request, the eof() bit was set to 1 and
was never reset back to 0 during the seeks. The fail() bit was also set to 1.
Subsequent operations always returned eof() to be true (even just after the
write before the read). So the test was relying on incorrect behavior.

BUG=none
TEST=FEATURES=test emerge-$board google-breakpad

Change-Id: Id7165537db7dee51a732b5030d68411725e8c90c
Reviewed-on: http://gerrit.chromium.org/gerrit/7797
Reviewed-by: Michael Krebs <mkrebs@chromium.org>
Reviewed-by: asharif <asharif@chromium.org>
Tested-by: asharif <asharif@chromium.org>
breakpad: Fix an assertion encountered in UntypedMDRVA::Copy().

Fix an assertion where a zero-length buffer was being passed to
UntypedMDRVA::Copy().  This will occur if WriteFile() is given a file whose
size is a multiple of the temporary buffer size, and is presumably what is
causing google-breakpad unit tests to fail only on stumpy.

This is the same fix as was needed for core2md (see
"http://gerrit.chromium.org/gerrit/#change,3358").

BUG=chromium-os:21402, chromium-os:17032
TEST=Ran unittests.

Change-Id: I86cb395805aa86e22b65badc399b9be2784092f1
Reviewed-on: http://gerrit.chromium.org/gerrit/9920
Tested-by: Michael Krebs <mkrebs@chromium.org>
Commit-Ready: Michael Krebs <mkrebs@chromium.org>
Reviewed-by: Ken Mixter <kmixter@chromium.org>
google-breakpad: cherry-pick @830 from upstream

BUG=chromium-os:21903
TEST=CrashSender/UserCrash autotests
Verify debug id in core2md minidump matches that generated from build-id

Change-Id: Ia5e3c6462e4c3c5ea9e1918f1b7cfb4d6d2af4c0
Reviewed-on: http://gerrit.chromium.org/gerrit/10610
Tested-by: Ken Mixter <kmixter@chromium.org>
Commit-Ready: Ken Mixter <kmixter@chromium.org>
Reviewed-by: Darin Petkov <petkov@chromium.org>
google-breakpad: cherry-pick 875 from upstream

Note that this and the previous cherry-pick 830 should be reverted
before attempting to pull all the upstream changes.  While this
one patched without any issues, 830 did not fully patch due to
entire files that were missing.

BUG=chromium-os:21903
TEST=CrashSender/UserCrash autotests
Verify debug id in core2md minidump matches that generated
from build-id
Also verfy the debug id matches the contents of .note.gnu.build-id

Change-Id: Ic0e8ac16f36eecdd526392146c9eae6df0fa1810
Reviewed-on: http://gerrit.chromium.org/gerrit/10677
Commit-Ready: Ken Mixter <kmixter@chromium.org>
Tested-by: Ken Mixter <kmixter@chromium.org>
Reviewed-by: Scott Zawalski <scottz@chromium.org>
Reviewed-by: Ken Mixter <kmixter@chromium.org>
google-breakpad: uprev breakpad to 875

Change-Id: Ia2403f9eb2db173035b5f511b169723a3fb7c439