commit | 712b3ace08181a22659e7dd87ca225e307d453f2 | [log] [tgz] |
---|---|---|
author | Andrew de los Reyes <adlr@chromium.org> | Fri Jan 07 13:47:52 2011 -0800 |
committer | Andrew de los Reyes <adlr@chromium.org> | Fri Jan 07 13:47:52 2011 -0800 |
tree | 4d98825a7c5d3f673eb0c9c3eb6f6ed866f53d36 | |
parent | f650219f29690e479ab4b7a7e419f98d664bcdc7 [diff] |
AU: Function to trigger crash reporter. This CL introduces a new utility function that fork()s and has the child call abort(), thus triggering the crash reporter. The actual work is done in a main loop callback to ensure that the stack trace is the same for all calls to this function. TEST=unittest (minimal), tested on device - saw crash reporter pick up the crash. BUG=10739 Review URL: http://codereview.chromium.org/6114002 Change-Id: If3c3c43644173f2307b8498d40881c3b38b938e5