Commit Graph

85 Commits

Author SHA1 Message Date
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 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
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
Raymes Khoury
f6f5983096 Bug 537857 part 3 - Fix assert failure in dump_syms in some cases when the linker discarded symbols. r=ccountant,r=jimb 2011-06-28 08:25:49 +02:00
Rafael Ávila de Espíndola
79936aada6 Bug 623121 - Add constructor for CPPLanguage (which inherits from Language) to placate CLang; r=jimb a=bsmedberg
--HG--
extra : rebase_source : a3d601c4b67ac37cde6ebb02783510dcb04297b0
2011-01-21 14:11:35 -05:00
Ted Mielczarek
6978bec880 bug 589955 - Submit empty crash reports on Windows. r=mento, a=blocking2.0
--HG--
extra : rebase_source : e618f80046f7885a4a4d797579866c68d8c61a98
2010-12-15 11:34:55 -05:00
Benjamin Smedberg
53205f2ce6 Bug 599475 - Fix crash reporting on MacOS 10.5 (Leopard) by making breakpad use it's internal implementation of MD5 instead of one randomly picked from libnss or libcrypto which isn't loading properly. r=ted a=blocking-beta8+ 2010-11-20 16:58:47 -05:00
Brad Lassey
1099518c89 linux build bustage fix a=bustage-fix 2010-10-20 21:33:56 -04:00
Ted Mielczarek
4ec94afa77 bug 603592 - make a file_id host binary that can spit out a Breakpad file id. r=mwu a=blocking-fennec 2010-10-14 20:38:19 -04:00
Ted Mielczarek
cece4402f2 bug 595167 - Make Breakpad client libs work on Android. r=mwu a=blocking-fennec 2010-10-13 11:37:58 -04:00
Chris Coulson
e7f926d208 Bug 591331 - Allow Linux dumper to work on PTRACE-hardened kernels (Ubuntu 10.10). r=ted 2010-10-12 13:38:13 +02:00
Ted Mielczarek
a709ac9559 bug 536271 - Include the page containing EIP in the minidump on Linux and Mac. r=nealsid, a=blocking
--HG--
rename : toolkit/crashreporter/google-breakpad/src/common/linux/memory.h => toolkit/crashreporter/google-breakpad/src/common/memory.h
extra : rebase_source : 2eb0ad63cdfd995c63893e5a8fe7eaa3aac72434
2010-09-23 12:53:23 -04:00
Ted Mielczarek
ca86c9c747 bug 573150 - crash reporter inadvertently sends IE cookies to crash submission URL. r=nealsid a=blocking
--HG--
extra : rebase_source : 601d7a4611e0eb27143b74ab4db0b346e092aa34
2010-08-27 09:32:45 -04:00
Ted Mielczarek
96bb87cd24 bug 559228 - Update Breakpad to r652 (mozilla build system changes). r=bsmedberg a=blocking
--HG--
extra : rebase_source : a3aeb2907f6102abd1628387beed004e242f9c3b
2010-08-16 15:05:09 -04:00
Ted Mielczarek
ad21a16471 bug 559228 - Update Breakpad to r652
--HG--
extra : rebase_source : bec760bf86aa27731fcced3bfea3dcfaf5213293
2010-08-16 15:05:08 -04:00
Mark Finkle
8303a7473d Bug 578080 - HOST_CXXFLAGS broken on Maemo causing build bustage [r=dougt] 2010-07-12 15:48:26 -04:00
Ted Mielczarek
7f52e9bfd0 bug 567424 bustage fix 2010-07-07 16:12:45 -04:00
Ted Mielczarek
84e3dd7b08 bug 567424 bustage fix 2010-07-07 15:49:54 -04:00
Ted Mielczarek
8d40d0bd53 bug 567424 - sync to Breakpad revision 619 to pick up OS X symbol dumping changes (64-bit support + DWARF CFI support) - mozilla build system changes. r=mitch 2010-07-02 08:05:04 -04:00
Ted Mielczarek
62c53fae00 bug 567424 - sync to Breakpad revision 619 to pick up OS X symbol dumping changes (64-bit support + DWARF CFI support)
We still have a few local patches that have not yet been upstreamed, but they're all up in the Breakpad issue tracker now:
--
Bug 544936, part 1: Add the ability to generate a minidump of a child process at any time (linux). r=ted
Bug 555309, part 2: Allow a particular subprocess thread to be "blamed" in an OOP minidump. r=bsmedberg
Bug 555309, part 4: Insert an artificial exception stream into non-crash browser-side minidumps. r=bsmedberg
Bug 544936, part 2: Add the ability to generate a minidump of a child process at any time (windows). r=ted
Bug 555309, part 2: Allow a particular subprocess thread to be blamed in an OOP minidump. (windows bits) r=bsmedberg
Bug 555309, part 4: Insert an artificial exception stream into non-crash browser-side minidumps. r=bsmedberg (win32)

Windows changes: http://breakpad.appspot.com/115002/show
Linux changes: http://breakpad.appspot.com/123001/show
--
bug 557113 - sort out crash report certificate issues on Maemo. r=mfinkle,johnath

http://breakpad.appspot.com/121002/show
--
Plus one more I discovered while testing this patch on 64-bit OS X:

http://breakpad.appspot.com/124001/show

--HG--
extra : rebase_source : f0df7e87d26822884401b8cb1a5633c958e92c93
2010-06-30 10:30:12 -04:00
Benoit Jacob
ee5f0dc451 b=569836; Fix build on Fedora 13; r=ted.mielczarek 2010-06-07 10:28:55 -04:00
Ted Mielczarek
019fb8dad6 bug 557113 - sort out crash report certificate issues on Maemo. r=mfinkle,johnath
--HG--
extra : rebase_source : 5bd378a2721eeef2cb3abc3b54e15429be7c2416
2010-04-09 16:52:04 -04:00
Ted Mielczarek
bc5cd1c71c bug 555674 - fix some bugs in the Breakpad Linux/ARM code. r=jimb
--HG--
extra : rebase_source : 65458f5d7b0a7243e7d2662bc6065c6576e00af0
2010-03-26 14:23:48 -04:00
Ted Mielczarek
947dce4abf bug 554021 - enable compiling Breakpad on Linux/ARM by default. r=jimb
--HG--
rename : toolkit/crashreporter/client/crashreporter_linux.cpp => toolkit/crashreporter/client/crashreporter_gtk_common.cpp
extra : rebase_source : a8a747f388c8d7bfe1abb5df1e74dfb61a723303
2010-03-26 14:23:48 -04:00
Chris Jones
7c959e67d7 Bug 551254: Allow reviewed+approved STL headers to be included through <foo>. (<algorithm> and <vector> are provisionally in the list because of their use in libpr0n, but need to be reviewed in followup bug 556700 and bug 556701). r=ehsan,ted,zwol 2010-04-02 12:58:11 -05:00
Chris Jones
996c23e86b Backed out changeset cec7b12eb5e3 2010-04-02 13:20:22 -05:00
Chris Jones
94e6bcfee2 Bug 551254: Allow reviewed+approved STL headers to be included through <foo>. (<algorithm> and <vector> are provisionally in the list because of their use in libpr0n, but need to be reviewed in followup bug 556700 and bug 556701). r=ehsan,ted,zwol 2010-04-02 12:58:11 -05:00
Ted Mielczarek
5cd1a1f641 bug 548113 bustage fix, remove extra semicolon 2010-03-20 12:46:48 -04:00
Ted Mielczarek
f9d890e8d0 bug 548113 bustage fix, remove trailing comma in enum list 2010-03-20 12:43:04 -04:00
Ted Mielczarek
3b29cff61c bug 548113 - Sync to Breakpad revision 554. Local Makefile changes. r=jimb
--HG--
extra : rebase_source : d0d8cb30bb0536530df9070ad8386534432b9b95
2010-03-17 11:57:25 -04:00
Ted Mielczarek
44e5ef614b bug 548113 - Sync to Breakpad revision 554
--HG--
extra : rebase_source : d2fec8ccdc5e042a806f257b2c80631373549b3b
2010-03-17 11:57:25 -04:00
Boris Zbarsky
2201fae60b Backed out changeset df90f0171ba7 (bug 543111)
--HG--
extra : rebase_source : 35dfbceff1bec0fda34c652723b5ef4b5d7edfdd
2010-02-09 14:33:19 -05:00
Boris Zbarsky
eb4402f04c Bug 543111. Make breakpad compile when cross-compiling with toolwhip. r=ted 2010-02-09 12:09:06 -05:00
Chris Jones
2aef5d8f98 Bug 516759: Implement Linux client/server for OOP minidump generation requests. r=luser
--HG--
extra : rebase_source : 51cafc94af98f10e6f94652262ce00a5d0c9db5a
2010-01-12 15:14:37 -06:00
Ginn Chen
49ab13420b Bug 527631 crashreporter failed to compile on Solaris r=ted.mielczarek 2010-01-13 17:03:30 +08:00
Ted Mielczarek
7fe14c4436 bug 514188 - sync to breakpad revision 463 to pick up Linux client rewrite (Mozilla changes). r=bsmedberg
--HG--
rename : toolkit/crashreporter/google-breakpad/src/common/mac/dwarf/Makefile.in => toolkit/crashreporter/google-breakpad/src/common/dwarf/Makefile.in
extra : rebase_source : 64c09b14945060aac4fa3a02a4281148e99d5097
2009-12-14 06:55:31 -05:00
Ted Mielczarek
036bc01d1d bug 514188 - sync to breakpad revision 463 to pick up Linux client rewrite. r=bsmedberg
--HG--
extra : rebase_source : a78ba9b0fed0033adefb3a36baf4fcf59e3e4b13
2009-12-14 06:55:28 -05:00
Ted Mielczarek
57f6ed3438 Backed out bug 514188 - sync to breakpad revision 437. The Linux update broke stuff badly (bug 535071) 2009-12-16 09:30:39 -05:00
Ted Mielczarek
b78f976ee8 Backed out bug 514188 - sync to breakpad revision 437. The Linux update broke stuff badly (bug 535071)
Backed out changeset 09e8d73fda8b
2009-12-16 09:28:50 -05:00
Ted Mielczarek
ff96823d9d Backed out bug 514188 - sync to breakpad revision 437. The Linux update broke stuff badly (bug 535071) 2009-12-16 09:27:33 -05:00
Ted Mielczarek
8465978f1f Backout bug 514188 - sync to breakpad revision 437, the Linux update broke things badly (bug 535071)
Backed out changeset 2138d22ff018
2009-12-16 09:26:43 -05:00
Ted Mielczarek
c2b264398f bug 514188 - sync to breakpad revision 437 to pick up Linux client rewrite (Mozilla changes). r=bsmedberg 2009-12-14 06:55:31 -05:00
Ted Mielczarek
333a2bb0c5 bug 514188 - sync to breakpad revision 437 to pick up Linux client rewrite. r=bsmedberg 2009-12-14 06:55:28 -05:00