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

Unified Diff: tools/exception_port_tool.cc

Issue 577293002: Use task_t, thread_t, and exception_handler_t uniformly (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Created 6 years, 3 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 | « no previous file | util/mac/process_reader.h » ('j') | util/mach/mach_message_server.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/exception_port_tool.cc
diff --git a/tools/exception_port_tool.cc b/tools/exception_port_tool.cc
index 728cf3e8f3f02e15bd494d40aebaf3e1ab4714f4..52ef223b2705454aa9ab6e40a1dc87049969cbf0 100644
--- a/tools/exception_port_tool.cc
+++ b/tools/exception_port_tool.cc
@@ -280,7 +280,7 @@ void ShowExceptionPorts(const ExceptionPorts& exception_ports,
bool SetExceptionPort(const ExceptionHandlerDescription* description,
mach_port_t target_port) {
base::mac::ScopedMachSendRight service_port_owner;
- mach_port_t service_port = MACH_PORT_NULL;
+ exception_handler_t service_port = MACH_PORT_NULL;
kern_return_t kr;
if (description->handler.compare(
0, strlen(kHandlerBootstrapColon), kHandlerBootstrapColon) == 0) {
@@ -394,7 +394,7 @@ int main(int argc, char* argv[]) {
std::vector<const char*> show_bootstrap;
std::vector<ExceptionHandlerDescription> set_handler;
pid_t pid;
- mach_port_t alternate_task;
+ task_t alternate_task;
bool show_host;
bool show_task;
bool show_thread;
« no previous file with comments | « no previous file | util/mac/process_reader.h » ('j') | util/mach/mach_message_server.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698