Merge pull request #5187 from alexrp/debugger-fix-callback-signature
authorAlex Rønne Petersen <alex@alexrp.com>
Fri, 7 Jul 2017 23:28:58 +0000 (01:28 +0200)
committerGitHub <noreply@github.com>
Fri, 7 Jul 2017 23:28:58 +0000 (01:28 +0200)
[sdb] Fix signatures of thread-related profiler callbacks.

mono/mini/debugger-agent.c

index acabbbdb0930d55a8b68d838005efc6ee6e145a1..102158e4fdab6144dd37a4f8ee8baf089c2d3fc6 100644 (file)
@@ -745,9 +745,9 @@ static void runtime_initialized (MonoProfiler *prof);
 
 static void runtime_shutdown (MonoProfiler *prof);
 
-static void thread_startup (MonoProfiler *prof, uint64_t tid);
+static void thread_startup (MonoProfiler *prof, uintptr_t tid);
 
-static void thread_end (MonoProfiler *prof, uint64_t tid);
+static void thread_end (MonoProfiler *prof, uintptr_t tid);
 
 static void appdomain_load (MonoProfiler *prof, MonoDomain *domain);
 
@@ -3870,7 +3870,7 @@ runtime_shutdown (MonoProfiler *prof)
 }
 
 static void
-thread_startup (MonoProfiler *prof, uint64_t tid)
+thread_startup (MonoProfiler *prof, uintptr_t tid)
 {
        MonoInternalThread *thread = mono_thread_internal_current ();
        MonoInternalThread *old_thread;
@@ -3931,7 +3931,7 @@ thread_startup (MonoProfiler *prof, uint64_t tid)
 }
 
 static void
-thread_end (MonoProfiler *prof, uint64_t tid)
+thread_end (MonoProfiler *prof, uintptr_t tid)
 {
        MonoInternalThread *thread;
        DebuggerTlsData *tls = NULL;