Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Unified Diff: tools/catch_exception_tool.ad

Issue 777993002: MachMessageServer: eliminate argument redundancy (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Rebase Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « snapshot/mac/mach_o_image_annotations_reader_test.cc ('k') | tools/catch_exception_tool.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/catch_exception_tool.ad
diff --git a/tools/catch_exception_tool.ad b/tools/catch_exception_tool.ad
index f0d2c775ad20f5cf64e168321c3560cefbb37588..446cbd3e9bd71b6da33bb8afcbb459f38a72cf31 100644
--- a/tools/catch_exception_tool.ad
+++ b/tools/catch_exception_tool.ad
@@ -45,20 +45,16 @@ started by launchd(8) as a result of a message being sent to a service declared
in a job’s +MachServices+ dictionary (see launchd.plist(5)). The service name
may also be completely unknown to the system.
-*-n*, *--nonblocking*::
-Don’t wait for an exception to occur if one is not received immediately. In
-nonblocking mode, this tool exits immediately if no exception is received. The
-default mode is blocking.
-
*-p*, *--persistent*::
Continue processing exceptions after the first one. The default mode is
one-shot, where this tool exits after processing the first exception.
*-t*, *--timeout*='TIMEOUT'::
-Run for a maximum of 'TIMEOUT' seconds. This option only has an effect in
-blocking mode (when *--nonblocking* is not specified). In *--persistent* mode,
-'TIMEOUT' applies to the overall duration that this tool will run, not to the
-processing of individual exceptions.
+Run for a maximum of 'TIMEOUT' seconds. Specify +0+ to request non-blocking
+operation, in which the tool exits immediately if no exception is received. In
+*--persistent* mode, 'TIMEOUT' applies to the overall duration that this tool
+will run, not to the processing of individual exceptions. When *--timeout* is
+not specified, this tool will block indefinitely while waiting for an exception.
*--help*::
Display help and exit.
@@ -92,7 +88,7 @@ bootstrap server under the name +svc+:
$ *on_demand_service_tool --load --label=catch_exception \
--mach-service=svc \
$(which catch_exception_tool) --mach-service=svc \
- --file=/tmp/out --nonblocking --persistent*
+ --file=/tmp/out --persistent --timeout=0*
$ *exception_port_tool --set-handler=handler=bootstrap:svc crasher*
Illegal instruction: 4
$ *on_demand_service_tool --unload --label=catch_exception*
« no previous file with comments | « snapshot/mac/mach_o_image_annotations_reader_test.cc ('k') | tools/catch_exception_tool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698