phantomjs/src/breakpad
Tom Stuart & Jon Leighton 5fa0202f29 Add breakpad support for Mac
This provides support for compiling the breakpad client into PhantomJS,
and generifies that Linux packaging scripts so that they also apply to
OS X and automate the symbol generation.

Building the Breakpad tool programs seems to be less than
straightforward on OS X, and documentation is poor. We have managed to
produce tools/dump-syms-mac.pro which allows building the dump_syms
program for dumping the debugging symbols. This needed a couple of
modifications to breakpad in order to compile successfully.

We have run out of time to work on making the minidump_stackwalk program
build. However, this is solely a developer tool and so it can wait until
after the 1.6 release before we complete this work.

Testing is welcome!

https://code.google.com/p/phantomjs/issues/detail?id=576
2012-06-19 00:28:37 +01:00
..
autotools Import Google Breakpad 2012-06-05 23:01:07 +01:00
m4 Import Google Breakpad 2012-06-05 23:01:07 +01:00
src Add breakpad support for Mac 2012-06-19 00:28:37 +01:00
.gitignore Import Google Breakpad 2012-06-05 23:01:07 +01:00
AUTHORS Import Google Breakpad 2012-06-05 23:01:07 +01:00
COPYING Import Google Breakpad 2012-06-05 23:01:07 +01:00
ChangeLog Import Google Breakpad 2012-06-05 23:01:07 +01:00
DEPS Import Google Breakpad 2012-06-05 23:01:07 +01:00
INSTALL Import Google Breakpad 2012-06-05 23:01:07 +01:00
Makefile.am Fix missing Makefiles in breakpad due to global .gitignore. 2012-06-12 09:40:31 -07:00
Makefile.in Fix missing Makefiles in breakpad due to global .gitignore. 2012-06-12 09:40:31 -07:00
NEWS Import Google Breakpad 2012-06-05 23:01:07 +01:00
README Import Google Breakpad 2012-06-05 23:01:07 +01:00
aclocal.m4 Import Google Breakpad 2012-06-05 23:01:07 +01:00
codereview.settings Import Google Breakpad 2012-06-05 23:01:07 +01:00
configure Import Google Breakpad 2012-06-05 23:01:07 +01:00
configure.ac Import Google Breakpad 2012-06-05 23:01:07 +01:00

README

Breakpad is a set of client and server components which implement a
crash-reporting system.


-----
Getting started in 32-bit mode (from trunk)
Configure: CXXFLAGS=-m32 CFLAGS=-m32 CPPFLAGS=-m32 ./configure
    Build: make
     Test: make check
  Install: make install

If you need to reconfigure your build be sure to run "make distclean" first.


-----
To request change review:
0. Get access to a read-write copy of source.
   Owners at http://code.google.com/p/google-breakpad/ are able to grant
   this access.

1. Check out a read-write copy of source using instructions at
   http://code.google.com/p/google-breakpad/source/checkout

2. Make changes. Build and test your changes.
   For core code like processor use methods above.
   For linux/mac/windows, there are test targets in each project file.

3. Download http://codereview.appspot.com/static/upload.py

4. Run upload.py from the 'src' directory:
   upload.py --server=breakpad.appspot.com

   You will be prompted for credential and a description.

5. At http://breakpad.appspot.com you'll find your issue listed; click on it,
   and select Publish+Mail, and enter in the code reviewer and CC
   google-breakpad-dev@googlegroups.com

6. When applying code review feedback, specify the '-i' option when running
   upload.py again and pass the issue number so it updates the existing issue,
   rather than creating a new one.
   Be sure to rerun upload.py from the same directory as you did for previous
   uploads to allow for proper diff calculations.