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

Unified Diff: tools/mac/run_with_crashpad.ad

Issue 1013783002: Update man pages (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Created 5 years, 9 months 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 | « tools/mac/exception_port_tool.ad ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/mac/run_with_crashpad.ad
diff --git a/tools/mac/run_with_crashpad.ad b/tools/mac/run_with_crashpad.ad
index c216153e9b5705f1794155ccebc81e3d2ae7161a..91a86455053a6ebee4099a86a419fbacd4773b8f 100644
--- a/tools/mac/run_with_crashpad.ad
+++ b/tools/mac/run_with_crashpad.ad
@@ -46,11 +46,22 @@ run with a Crashpad exception handler.
Invoke 'HANDLER' as the Crashpad handler program instead of the default,
*crashpad_handler*.
-*-a*, *--handler-argument*='ARGUMENT'::
+*--annotation*='KEY=VALUE'::
+Passed to the Crashpad handler program as an *--annotation* argument.
+
+*--database*='PATH'::
+Passed to the Crashpad handler program as its *--database* argument.
+
+*--url*='URL'::
+Passed to the Crashpad handler program as its *--url* argument.
+
+*-a*, *--argument*='ARGUMENT'::
Invokes the Crashpad handler program with 'ARGUMENT' as one of its arguments.
-This option may appear zero, one, or more times. Regardless of this option’s
-presence, the handler will always be invoked with the necessary arguments to
-perform a handshake.
+This option may appear zero, one, or more times. If this program has a specific
+option such as *--database* matching the desired Crashpad handler program
+option, the specific option should be used in preference to *--argument*.
+Regardless of this option’s presence, the handler will always be invoked with
+the necessary arguments to perform a handshake.
*--help*::
Display help and exit.
@@ -64,7 +75,7 @@ Starts a Crashpad exception handler server by its default name,
*crashpad_handler*, and runs a program with this handler in effect.
[subs="quotes"]
----
-$ *run_with_crashpad crash*
+$ *run_with_crashpad --database=/tmp/crashpad_database crash*
Illegal instruction: 4
----
@@ -72,9 +83,11 @@ Starts a Crashpad exception handler server at a nonstandard path, and runs
exception_port_tool(1) to show the task-level exception ports.
[subs="quotes"]
----
-$ *run_with_crashpad --handler=/tmp/crashpad_handler exception_port_tool*
-task exception port 0, mask 0x1c00 (CRASH|RESOURCE|GUARD), port 0x30b, behavior
-0x80000003 (STATE_IDENTITY|MACH), flavor 7 (THREAD)
+$ *run_with_crashpad --handler=/tmp/crashpad_handler \
+ --database=/tmp/crashpad_database exception_port_tool \
+ --show-task*
+task exception port 0, mask 0x1c00 (CRASH|RESOURCE|GUARD), port
+0x30b, behavior 0x80000003 (STATE_IDENTITY|MACH), flavor 7 (THREAD)
----
== Exit Status
« no previous file with comments | « tools/mac/exception_port_tool.ad ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698