| Index: util/mach/exc_server_variants.cc
|
| diff --git a/util/mach/exc_server_variants.cc b/util/mach/exc_server_variants.cc
|
| index b6e046a4ab6118362f5e1d8f5be67f01774c9258..e204ca5d6beb07fb7bbd20a02a0fcfa9cfcd1aeb 100644
|
| --- a/util/mach/exc_server_variants.cc
|
| +++ b/util/mach/exc_server_variants.cc
|
| @@ -276,7 +276,7 @@ class ExcServer : public MachMessageServer::Interface {
|
| const typename Traits::ExceptionCode* code,
|
| mach_msg_type_number_t code_count,
|
| thread_state_flavor_t* flavor,
|
| - const natural_t* old_state,
|
| + ConstThreadState old_state,
|
| mach_msg_type_number_t old_state_count,
|
| thread_state_t new_state,
|
| mach_msg_type_number_t* new_state_count,
|
| @@ -302,7 +302,7 @@ class ExcServer : public MachMessageServer::Interface {
|
| const typename Traits::ExceptionCode* code,
|
| mach_msg_type_number_t code_count,
|
| thread_state_flavor_t* flavor,
|
| - const natural_t* old_state,
|
| + ConstThreadState old_state,
|
| mach_msg_type_number_t old_state_count,
|
| thread_state_t new_state,
|
| mach_msg_type_number_t* new_state_count,
|
| @@ -523,7 +523,7 @@ class SimplifiedExcServer final : public ExcServer<Traits>,
|
| const typename Traits::ExceptionCode* code,
|
| mach_msg_type_number_t code_count,
|
| thread_state_flavor_t* flavor,
|
| - const natural_t* old_state,
|
| + ConstThreadState old_state,
|
| mach_msg_type_number_t old_state_count,
|
| thread_state_t new_state,
|
| mach_msg_type_number_t* new_state_count,
|
| @@ -577,7 +577,7 @@ class SimplifiedExcServer final : public ExcServer<Traits>,
|
| const typename Traits::ExceptionCode* code,
|
| mach_msg_type_number_t code_count,
|
| thread_state_flavor_t* flavor,
|
| - const natural_t* old_state,
|
| + ConstThreadState old_state,
|
| mach_msg_type_number_t old_state_count,
|
| thread_state_t new_state,
|
| mach_msg_type_number_t* new_state_count,
|
| @@ -608,7 +608,7 @@ class SimplifiedExcServer final : public ExcServer<Traits>,
|
| const typename Traits::ExceptionCode* code,
|
| mach_msg_type_number_t code_count,
|
| thread_state_flavor_t* flavor,
|
| - const natural_t* old_state,
|
| + ConstThreadState old_state,
|
| mach_msg_type_number_t old_state_count,
|
| thread_state_t new_state,
|
| mach_msg_type_number_t* new_state_count,
|
| @@ -669,7 +669,7 @@ class UniversalMachExcServerImpl final
|
| const exception_data_type_t* code,
|
| mach_msg_type_number_t code_count,
|
| thread_state_flavor_t* flavor,
|
| - const natural_t* old_state,
|
| + ConstThreadState old_state,
|
| mach_msg_type_number_t old_state_count,
|
| thread_state_t new_state,
|
| mach_msg_type_number_t* new_state_count,
|
| @@ -706,7 +706,7 @@ class UniversalMachExcServerImpl final
|
| const mach_exception_data_type_t* code,
|
| mach_msg_type_number_t code_count,
|
| thread_state_flavor_t* flavor,
|
| - const natural_t* old_state,
|
| + ConstThreadState old_state,
|
| mach_msg_type_number_t old_state_count,
|
| thread_state_t new_state,
|
| mach_msg_type_number_t* new_state_count,
|
| @@ -804,7 +804,7 @@ kern_return_t ExcServerSuccessfulReturnValue(exception_behavior_t behavior,
|
| }
|
|
|
| void ExcServerCopyState(exception_behavior_t behavior,
|
| - const natural_t* old_state,
|
| + ConstThreadState old_state,
|
| mach_msg_type_number_t old_state_count,
|
| thread_state_t new_state,
|
| mach_msg_type_number_t* new_state_count) {
|
|
|