OLD | NEW |
1 // Copyright 2014 The Crashpad Authors. All rights reserved. | 1 // Copyright 2014 The Crashpad Authors. All rights reserved. |
2 // | 2 // |
3 // Licensed under the Apache License, Version 2.0 (the "License"); | 3 // Licensed under the Apache License, Version 2.0 (the "License"); |
4 // you may not use this file except in compliance with the License. | 4 // you may not use this file except in compliance with the License. |
5 // You may obtain a copy of the License at | 5 // You may obtain a copy of the License at |
6 // | 6 // |
7 // http://www.apache.org/licenses/LICENSE-2.0 | 7 // http://www.apache.org/licenses/LICENSE-2.0 |
8 // | 8 // |
9 // Unless required by applicable law or agreed to in writing, software | 9 // Unless required by applicable law or agreed to in writing, software |
10 // distributed under the License is distributed on an "AS IS" BASIS, | 10 // distributed under the License is distributed on an "AS IS" BASIS, |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 | 73 |
74 Starts a Crashpad exception handler server by its default name, | 74 Starts a Crashpad exception handler server by its default name, |
75 *crashpad_handler*, and runs a program with this handler in effect. | 75 *crashpad_handler*, and runs a program with this handler in effect. |
76 [subs="quotes"] | 76 [subs="quotes"] |
77 ---- | 77 ---- |
78 $ *run_with_crashpad --database=/tmp/crashpad_database crash* | 78 $ *run_with_crashpad --database=/tmp/crashpad_database crash* |
79 Illegal instruction: 4 | 79 Illegal instruction: 4 |
80 ---- | 80 ---- |
81 | 81 |
82 Starts a Crashpad exception handler server at a nonstandard path, and runs | 82 Starts a Crashpad exception handler server at a nonstandard path, and runs |
83 exception_port_tool(1) to show the task-level exception ports. | 83 man_link:exception_port_tool[1] to show the task-level exception ports. |
84 [subs="quotes"] | 84 [subs="quotes"] |
85 ---- | 85 ---- |
86 $ *run_with_crashpad --handler=/tmp/crashpad_handler \ | 86 $ *run_with_crashpad --handler=/tmp/crashpad_handler \ |
87 --database=/tmp/crashpad_database exception_port_tool \ | 87 --database=/tmp/crashpad_database exception_port_tool \ |
88 --show-task* | 88 --show-task* |
89 task exception port 0, mask 0x1c00 (CRASH|RESOURCE|GUARD), port | 89 task exception port 0, mask 0x1c00 (CRASH|RESOURCE|GUARD), port |
90 0x30b, behavior 0x80000003 (STATE_IDENTITY|MACH), flavor 7 (THREAD) | 90 0x30b, behavior 0x80000003 (STATE_IDENTITY|MACH), flavor 7 (THREAD) |
91 ---- | 91 ---- |
92 | 92 |
93 == Exit Status | 93 == Exit Status |
94 | 94 |
95 *0*:: | 95 *0*:: |
96 Success. | 96 Success. |
97 | 97 |
98 *125*:: | 98 *125*:: |
99 Failure, with a message printed to the standard error stream. | 99 Failure, with a message printed to the standard error stream. |
100 | 100 |
101 *126*:: | 101 *126*:: |
102 The program specified by 'COMMAND' was found, but could not be invoked. | 102 The program specified by 'COMMAND' was found, but could not be invoked. |
103 | 103 |
104 *127*:: | 104 *127*:: |
105 The program specified by 'COMMAND' could not be found. | 105 The program specified by 'COMMAND' could not be found. |
106 | 106 |
107 == See Also | 107 == See Also |
108 | 108 |
109 crashpad_handler(8), | 109 man_link:crashpad_handler[8], |
110 exception_port_tool(1) | 110 man_link:exception_port_tool[1] |
111 | 111 |
112 include::../../doc/man_footer.ad[] | 112 include::../../doc/man_footer.ad[] |
OLD | NEW |