Commit Graph

163 Commits

Author SHA1 Message Date
Thomas Zimmermann
72c6409cb0 Bug 809367 - Define ELFSIZE to 32 when building minidump_writer. r=ted
To update bionic to linaro/ics-plus-aosp we need to define ELFSIZE to 32
to make minidump_writer build.
2012-11-29 12:27:33 +01:00
Ted Mielczarek
d71e227ed7 bug 778364 - Update Breakpad to r1064. r=upstream 2012-10-08 10:16:09 -04:00
Mounir Lamouri
793247fdfe Merge mozilla-inbound in mozilla-central. 2012-09-26 11:57:25 +01:00
Ryan VanderMeulen
390860f107 Merge the last PGO-green inbound changeset to m-c. 2012-09-25 17:30:17 -04:00
Ted Mielczarek
8c680f7866 bug 791775 - Update to Breakpad SVN r1047. r=glandium
--HG--
rename : toolkit/crashreporter/google-breakpad/src/third_party/linux/include/glog/log_severity.h => toolkit/crashreporter/google-breakpad/src/third_party/glog/src/glog/log_severity.h
2012-09-25 07:52:54 -04:00
Chris AtLee
f0e5e87a74 Bug 777530: remove Android.mk files from breakpad; add perl-Digest-SHA to panda build requirements. r=ted DONTBUILD
--HG--
extra : rebase_source : b5c9cdf1c3ab712ad60f7114c0734d67fa5fb633
2012-09-24 20:41:58 -04:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Mike Hommey
599b8a1648 Bug 689184 part 2 - Use the program PT_DYNAMIC segment for the MD_LINUX_DSO_DEBUG stream. r=ted 2012-07-25 07:43:22 +02:00
Mike Hommey
842cffefb4 Bug 689184 part 1 - Keep ELF auxiliary vectors values within LinuxDumper. r=ted 2012-07-25 07:43:22 +02:00
Himanshu
79c896eae0 Bug 710993 - Fix possible bad pointer/size mistake in HTTPUpload::SendRequest(). r=ted 2012-07-20 20:19:37 -04:00
Ted Mielczarek
a413daa790 bug 761907 - use sys_fstat64 on Android and gonk. r=upstream
--HG--
extra : rebase_source : 75b02da45b38bfa5ae7e48401b7c0715b65e9640
2012-07-16 14:11:11 -04:00
Ted Mielczarek
7653fc01cd bug 763621 - Fix a Breakpad issue, patch from upstream r792. r=upstream
--HG--
extra : rebase_source : 5f8c09fcc2172fe60b524e8e3d1026d35e7c95aa
2012-07-18 15:11:51 -04:00
Ehsan Akhgari
17b16bf2d3 Merge mozilla-central into moizilla-inbound 2012-07-03 11:14:18 -04:00
Benjamin Smedberg
1df5f270e1 Bug 769048 part C - Build an injector DLL which can watch for crashes in Flash player processes. This involves building two copies of breakpad: one to live inside of libxul which uses mozalloc and the dynamic CRT, another to link into the injector which links the CRT statically and doesn't use mozalloc. Introduce a new define/makefile variable MOZ_CRASHREPORTER_INJECTOR rather than repeating "#if defined(XP_WIN) && !defined(HAVE_64BIT_OS) in many places. r=ehsan/khuey
--HG--
extra : rebase_source : 33bd0a74ce70a564963a6ca125e01048577fb554
2012-07-02 14:55:12 -04:00
Benjamin Smedberg
0a1ed48ef5 Bug 769048 part A - import breakpad changes from http://breakpad.appspot.com/406002 which allow the crash generation client to be initialized with a handle instead of a pipe name, r=ted
--HG--
extra : rebase_source : 5f51597eecc7b2c6fd1270fcec7c5cb008b6666c
2012-07-02 12:06:19 -04:00
Rafael Ávila de Espíndola
7f776661b8 Bug 732173 - poison write during shutdown in a debug build. r=ted.
With this patch we now patch the write functions during shutdown in a debug
build and abort if a non white listed write is found.
2012-07-03 09:15:34 -04:00
Gervase Markham
638c878b13 Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Mike Hommey
7377be7456 Bug 741348 - Work around crashreporter client build failure with gcc 4.7. r=ted 2012-05-15 19:01:01 +02:00
Nathan Froyd
4e4c07f7b3 Bug 744444 - Part 3: delete CPP_PROG_LINK; r=ted 2012-04-12 16:58:11 -04:00
Nicholas Cameron
9f1b8e3e60 Bug 733892; block reverting to the null last chance expception handler. r=ehsan 2012-04-20 21:07:55 +12:00
Mike Hommey
4c9231de07 Bug 748739 - Link stdc++compat as a static library, and always link it when STDCXX_COMPAT is enabled. r=ted
--HG--
rename : build/stdc++compat.cpp => build/unix/stdc++compat/stdc++compat.cpp
2012-04-30 08:03:59 +02:00
Michael Wu
680a4a71eb ELFSIZE not defined on gonk-ics (bug 737190, r=gal). 2012-03-25 03:15:33 +02:00
Mike Hommey
9c01184971 Bug 716544 - Avoid unexpectedly including toolkit/crashreporter/google-breakpad/src/common/memory.h. r=ted 2012-03-13 09:47:02 +01:00
Mike Hommey
c17402ac1f Backout changesets 923a278f7ad5, 8f0164c90145, f5171db26f48, 7b590e1e392c and bd9a2f904e1f (bug 716544) because of Linux red 2012-03-13 10:29:26 +01:00
Mike Hommey
aa58de1df6 Bug 716544 - Avoid unexpectedly including toolkit/crashreporter/google-breakpad/src/common/memory.h. r=ted 2012-03-13 09:47:02 +01:00
Mike Hommey
be5d6e436a Bug 720704 - Avoid setting an alternative stack for signals if there is already one. r=ted 2012-02-16 09:00:53 +01:00
Steven Michaud
68d225c46c Bug 721160 - Stop explicitly linking libcrypto on OS X. r=ted 2012-02-13 14:21:44 -06:00
Mike Hommey
f4d31f2a3d Bug 721321 - Fix sys_clone() on ARM to work reliably in Thumb-2. r=jbramley 2012-02-13 15:49:05 +01:00
Jim Blandy
86c2a77d10 Bug 714129: Breakpad DWARF: Add support for DWARF 4 attribute forms. r=ted
This patch allows Breakpad's DWARF reader to at least read or skip
attributes using the new forms defined in version 4 of the DWARF
specification, instead of crashing.

Attributes encoded using DW_FORM_flag_present, DW_FORM_sec_offset, and
DW_FORM_exprloc should work fine now. However, compilation units using
DW_FORM_ref_sig8 to refer to types in .debug_types will need further work
to support. (GCC 4.6.2 does not emit .debug_types sections.)

Specifically:

- dwarf2reader::DwarfForm gets new values.
- dwarf2reader::Dwarf2Handler and dwarf2reader::DIEHandler get new handler
  methods, named ProcessAttributeSignature, for DW_FORM_ref_sig8 attributes.
- dwarf2reader::CompilationUnit reads DW_FORM_ref_sig8 attributes, and
  passes them to ProcessAttributeSignature. It also gets support for
  DW_FORM_sec_offset, DW_FORM_exprloc, and DW_FORM_flag_present, using the
  existing appropriate ProcessAttribute* methods.
- dwarf2reader::DIEDispatcher passes through ProcessAttributeSignature
  attributes to its DIEHandler.
- Unit tests are updated.
2012-02-01 11:27:33 -08:00
Jim Blandy
6557b90fd2 Bug 714129: Breakpad DWARF support: Remove extraneous breaks following returns in dwarf2reader.cc. r=ted 2012-02-01 11:27:33 -08:00
Jim Blandy
b02524e3f2 Bug 714129: Add partial unit tests for dwarf2reader::CompilationUnit. r=ted
This is really incomplete --- it's just what's needed to get started
testing support for the DWARF 4 attribute forms.
2012-02-01 11:27:33 -08:00
Benjamin Smedberg
7cf5500909 Bug 716638 - Annotate the size of a failed allocation due to OOM and submit it with the crash report, r=ted
--HG--
extra : rebase_source : 5b7d10cb2e117deabb89b75ec3f3b1a221b3c80b
2012-01-24 11:08:51 -05:00
Ted Mielczarek
481e5ddf44 Rename Breakpad's md5.c to md5.cc, wrap its functions in the google_breakpad namespace. no bug, r=mento at http://breakpad.appspot.com/322003/show
--HG--
rename : toolkit/crashreporter/google-breakpad/src/common/md5.c => toolkit/crashreporter/google-breakpad/src/common/md5.cc
2011-11-21 12:40:25 -05:00
Gregory Szorc
de5e3e4887 Bug 698248 - Remove unused FORCE_USE_PIC variable; r=khuey 2011-11-01 15:45:23 -07:00
Felix Fung
9bb0edf799 Bug 577266 - Correct misspellings in source code 2011-09-06 17:20:35 -07:00
Rafael Ávila de Espíndola
a8c970acc2 Bug 680277 - Debug builds should always be compiled with frame pointers. r=khuey.
This patch creates a new MOZ_FRAMEPTR_FLAGS variable that is used only to
control the frame pointer flags passed to the compiler. It also computes this
flag in a macro so that the toplevel configure and js/src/configure stay in
sync.
2011-09-03 13:36:18 -04:00
Ehsan Akhgari
20af295975 Keep changeset 7ee51f8ea940 backed out on the reverted tree 2011-09-02 09:06:23 -04:00
Ehsan Akhgari
a171549936 Revert to changeset e6fc4594c22e which was the last one to get a green Win7 tp run 2011-09-02 09:03:08 -04:00
Rafael Ávila de Espíndola
e281bb7586 revert 11247af82311, e3626f903f9f and 7ee51f8ea940.
CLOSED TREE
2011-09-01 22:01:56 -04:00
Rafael Ávila de Espíndola
1ee04b6cea Bug 680277 - Change another use of MOZ_OPTIMIZE_FLAGS to MOZ_FRAMEPTR_FLAGS. r=khuey. 2011-09-01 16:43:50 -04:00
Rafael Ávila de Espíndola
7188250a96 Bug 677641 - Fix c++0x initializer list error found by clang; r=ted
The first field in a MDLocationDescriptor is a u_int32_t, so change this cast to the correct type. This fixes an error newer clang versions find in c++ 0x mode.
See http://llvm.org/viewvc/llvm-project/?view=rev&revision=136181 for more
information.
2011-08-11 19:31:11 -04:00
Rafael Ávila de Espíndola
16b25f6187 Bug 677644: Fix c++0x initializer list error found by clang. (The process_id field is unsigned, so we need to cast it in c++0x.) r=ted 2011-08-11 11:15:08 -07:00
Mike Hommey
098183f48a Bug 677159 - Don't allow to include config/config.mk twice. r=khuey 2011-08-09 09:07:48 +02:00
Rafael Ávila de Espíndola
3c46ee73e5 b=675008 r=ted.mielczarek Fix builds that use ac_add_options --with-macos-sdk=/Developer/SDKs/MacOSX10.7.sdk ac_add_options --enable-macos-target=10.5 Before we were checking for the deployment target to decide if the ppc headers were available, but they are not in the 10.7 sdk, even if we are targeting 10.5. 2011-08-02 11:49:15 -04:00
Marco Bonardo
0dd7aa5da8 Merge mozilla-central and mozilla-inbound 2011-08-02 11:52:56 +02:00
Rafael Ávila de Espíndola
b5682064de bug 673789 - Fix Breakpad compilation on OS X 10.7 SDK by #ifdefing out PPC support when targeting 10.7. r=ted 2011-07-25 19:15:00 -04:00
Evan Shaw
114f8c6a2d bug 673072 - remove deprecated curl header curl/types.h from Breakpad includes. r=ted 2011-07-21 02:32:00 -04:00
Rafael Espindola
1e06946c84 b=674440, r=ted.mielczarek
Backport r819 from google-breakpad. This lets us build XUL without linking
libcrypto.dylib which is deprecated in 10.7.
2011-08-01 13:43:23 -04:00
Bill McCloskey
3381ade5a2 Bug 662646 - Avoid allocating memory in Windows crash handler (r=ted) 2011-07-08 14:43:16 -07:00
Bill McCloskey
f467a1aa00 Bug 662646 - Add API to register memory for inclusion in crash reports (r=ted) 2011-07-07 17:31:01 -07:00