Left: | ||
Right: |
LEFT | RIGHT |
---|---|
1 // Copyright (c) 2006, Google Inc. | 1 // Copyright (c) 2006, Google Inc. |
2 // All rights reserved. | 2 // All rights reserved. |
3 // | 3 // |
4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
6 // met: | 6 // met: |
7 // | 7 // |
8 // * Redistributions of source code must retain the above copyright | 8 // * Redistributions of source code must retain the above copyright |
9 // notice, this list of conditions and the following disclaimer. | 9 // notice, this list of conditions and the following disclaimer. |
10 // * Redistributions in binary form must reproduce the above | 10 // * Redistributions in binary form must reproduce the above |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
117 mach_msg_type_number_t exception_code_count); | 117 mach_msg_type_number_t exception_code_count); |
118 | 118 |
119 kern_return_t | 119 kern_return_t |
120 exception_raise_state(mach_port_t target_port, | 120 exception_raise_state(mach_port_t target_port, |
121 mach_port_t failed_thread, | 121 mach_port_t failed_thread, |
122 mach_port_t task, | 122 mach_port_t task, |
123 exception_type_t exception, | 123 exception_type_t exception, |
124 exception_data_t exception_code, | 124 exception_data_t exception_code, |
125 mach_msg_type_number_t code_count, | 125 mach_msg_type_number_t code_count, |
126 thread_state_flavor_t *target_flavor, | 126 thread_state_flavor_t *target_flavor, |
127 thread_state_t thread_state, | 127 thread_state_t in_thread_state, |
128 mach_msg_type_number_t in_thread_state_count, | 128 mach_msg_type_number_t in_thread_state_count, |
129 thread_state_t thread_state, | 129 thread_state_t out_thread_state, |
Ted Mielczarek
2011/01/05 16:09:18
You changed thread_state_count but not thread_stat
| |
130 mach_msg_type_number_t *out_thread_state_count); | 130 mach_msg_type_number_t *out_thread_state_count); |
131 | 131 |
132 kern_return_t | 132 kern_return_t |
133 exception_raise_state_identity(mach_port_t target_port, | 133 exception_raise_state_identity(mach_port_t target_port, |
134 mach_port_t failed_thread, | 134 mach_port_t failed_thread, |
135 mach_port_t task, | 135 mach_port_t task, |
136 exception_type_t exception, | 136 exception_type_t exception, |
137 exception_data_t exception_code, | 137 exception_data_t exception_code, |
138 mach_msg_type_number_t exception_code_count, | 138 mach_msg_type_number_t exception_code_count, |
139 thread_state_flavor_t *target_flavor, | 139 thread_state_flavor_t *target_flavor, |
140 thread_state_t thread_state, | 140 thread_state_t in_thread_state, |
141 mach_msg_type_number_t in_thread_state_count, | 141 mach_msg_type_number_t in_thread_state_count, |
142 thread_state_t thread_state, | 142 thread_state_t out_thread_state, |
Ted Mielczarek
2011/01/05 16:09:18
Same thing here.
| |
143 mach_msg_type_number_t *out_thread_state_coun t); | 143 mach_msg_type_number_t *out_thread_state_coun t); |
144 | 144 |
145 kern_return_t breakpad_exception_raise_state(mach_port_t exception_port, | 145 kern_return_t breakpad_exception_raise_state(mach_port_t exception_port, |
146 exception_type_t exception, | 146 exception_type_t exception, |
147 const exception_data_t code, | 147 const exception_data_t code, |
148 mach_msg_type_number_t codeCnt, | 148 mach_msg_type_number_t codeCnt, |
149 int *flavor, | 149 int *flavor, |
150 const thread_state_t old_state, | 150 const thread_state_t old_state, |
151 mach_msg_type_number_t old_stateC nt, | 151 mach_msg_type_number_t old_stateC nt, |
152 thread_state_t new_state, | 152 thread_state_t new_state, |
(...skipping 651 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
804 if (threads_for_task[i] != mach_thread_self()) { | 804 if (threads_for_task[i] != mach_thread_self()) { |
805 if (thread_resume(threads_for_task[i])) | 805 if (thread_resume(threads_for_task[i])) |
806 return false; | 806 return false; |
807 } | 807 } |
808 } | 808 } |
809 | 809 |
810 return true; | 810 return true; |
811 } | 811 } |
812 | 812 |
813 } // namespace google_breakpad | 813 } // namespace google_breakpad |
LEFT | RIGHT |