Lines Matching refs:log
60 Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_PROCESS)); in Launch() local
83 if (log) in Launch()
84 log->Printf("NativeProcessDarwin::%s() failed to launch process: " in Launch()
92 if (log) in Launch()
93 log->Printf("NativeProcessDarwin::%s() launch succeeded but no " in Launch()
112 if (log) in Launch()
113 log->Printf("NativeProcessDarwin::%s() aborting, failed to finalize" in Launch()
127 Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_PROCESS)); in Attach() local
128 if (log) in Attach()
129 log->Printf("NativeProcessDarwin::%s(pid = %" PRIi64 ")", __FUNCTION__, in Attach()
181 Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_PROCESS)); in FinalizeLaunch() local
193 if (log) in FinalizeLaunch()
194 log->Printf("NativeProcessDarwin::%s(): failure starting the " in FinalizeLaunch()
215 if (log) in FinalizeLaunch()
216 log->Printf("NativeProcessDarwin::%s(): successfully spawned " in FinalizeLaunch()
222 if (log) in FinalizeLaunch()
223 log->Printf("NativeProcessDarwin::%s(): error: failed to " in FinalizeLaunch()
231 if (log) in FinalizeLaunch()
232 log->Printf("NativeProcessDarwin::%s(): new pid is %" PRIu64 "...", in FinalizeLaunch()
238 if (log) in FinalizeLaunch()
239 log->Printf("NativeProcessDarwin::%s(): failed to start waitpid() " in FinalizeLaunch()
250 if (log) in FinalizeLaunch()
251 log->Printf("NativeProcessDarwin::%s(): could not get task port " in FinalizeLaunch()
286 Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_PROCESS | LIBLLDB_LOG_VERBOSE)); in ExceptionMessageReceived() local
298 if (log) in ExceptionMessageReceived()
299 log->Printf("NativeProcessDarwin::%s(): new queued message count: %lu", in ExceptionMessageReceived()
304 Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_PROCESS | LIBLLDB_LOG_VERBOSE)); in ExceptionThread() local
306 if (log) in ExceptionThread()
307 log->Printf("NativeProcessDarwin::%s(): cannot run mach exception " in ExceptionThread()
317 Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_PROCESS | LIBLLDB_LOG_VERBOSE)); in DoExceptionThread() local
319 if (log) in DoExceptionThread()
320 log->Printf("NativeProcessDarwin::%s(arg=%p) starting thread...", in DoExceptionThread()
364 if (log) in DoExceptionThread()
365 log->Printf("::SBSWatchdogAssertionCreateForPID(NULL, %4.4x, 60) " in DoExceptionThread()
374 if (log) in DoExceptionThread()
375 log->Printf("::SBSWatchdogAssertionGetRenewalInterval(%p) => " in DoExceptionThread()
445 if (log) in DoExceptionThread()
446 log->Printf("NativeProcessDarwin::%s(): the inferior " in DoExceptionThread()
457 if (log) in DoExceptionThread()
458 log->Printf("NativeProcessDarwin::%s(): interrupted, but " in DoExceptionThread()
466 if (log) in DoExceptionThread()
467 log->Printf("NativeProcessDarwin::%s(): the inferior task " in DoExceptionThread()
491 if (log) in DoExceptionThread()
492 log->Printf("NativeProcessDarwin::%s(): got a timeout, " in DoExceptionThread()
499 if (log) in DoExceptionThread()
500 log->Printf("NativeProcessDarwin::%s(): the inferior " in DoExceptionThread()
513 if (log) in DoExceptionThread()
514 log->Printf("SBSWatchdogAssertionRenew(%p)", watchdog.get()); in DoExceptionThread()
521 if (log) in DoExceptionThread()
522 log->Printf("NativeProcessDarwin::%s(): continuing after " in DoExceptionThread()
543 if (log) in DoExceptionThread()
544 log->Printf("NativeProcessDarwin::%s(%p): thread exiting...", __FUNCTION__, in DoExceptionThread()
551 Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_PROCESS)); in StartExceptionThread() local
552 if (log) in StartExceptionThread()
553 log->Printf("NativeProcessDarwin::%s() called", __FUNCTION__); in StartExceptionThread()
574 if (log) in StartExceptionThread()
575 log->Printf("NativeProcessDarwin::%s(): mach_port_allocate(" in StartExceptionThread()
587 if (log) in StartExceptionThread()
588 log->Printf("NativeProcessDarwin::%s(): mach_port_insert_right(" in StartExceptionThread()
600 if (log) in StartExceptionThread()
601 log->Printf("NativeProcessDarwin::%s(): SaveExceptionPortInfo() " in StartExceptionThread()
613 if (log) in StartExceptionThread()
614 log->Printf("::task_set_exception_ports (task = 0x%4.4x, " in StartExceptionThread()
629 if (log) in StartExceptionThread()
630 log->Printf("NativeProcessDarwin::%s(): failed to create Mach " in StartExceptionThread()
694 Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_PROCESS | LIBLLDB_LOG_VERBOSE)); in ExceptionMessageBundleComplete() local
697 if (log) in ExceptionMessageBundleComplete()
698 log->Printf("NativeProcessDarwin::%s(): processing %lu exception " in ExceptionMessageBundleComplete()
753 if (log) in ExceptionMessageBundleComplete()
754 log->Printf("exec: inferior task port changed " in ExceptionMessageBundleComplete()
760 if (log) in ExceptionMessageBundleComplete()
761 log->Printf("NativeProcessDarwin::%s() warning: " in ExceptionMessageBundleComplete()
776 if (log) in ExceptionMessageBundleComplete()
777 log->Printf("NativeProcessDarwin::%s(): arch changed from " in ExceptionMessageBundleComplete()
792 if (log) in ExceptionMessageBundleComplete()
793 log->Printf("NativeProcessDarwin::%s(): process " in ExceptionMessageBundleComplete()
812 if (log) in ExceptionMessageBundleComplete()
813 log->Printf("NativeProcessDarwin::%s(): auto " in ExceptionMessageBundleComplete()
821 if (log) in ExceptionMessageBundleComplete()
822 log->Printf("NativeProcessDarwin::%s(): didn't get signal " in ExceptionMessageBundleComplete()
841 if (log) { in ExceptionMessageBundleComplete()
845 log->PutCString(stream.GetString().c_str()); in ExceptionMessageBundleComplete()
849 if (log) { in ExceptionMessageBundleComplete()
853 log->PutCString(stream.GetString().c_str()); in ExceptionMessageBundleComplete()
885 Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_PROCESS)); in StartWaitpidThread() local
898 if (log) in StartWaitpidThread()
899 log->Printf("NativeProcessDarwin::%s(): failed to create waitpid " in StartWaitpidThread()
919 if (log) in StartWaitpidThread()
920 log->Printf("NativeProcessDarwin::%s(): failed to create waitpid " in StartWaitpidThread()
930 Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_PROCESS)); in WaitpidThread() local
932 if (log) in WaitpidThread()
933 log->Printf("NativeProcessDarwin::%s(): cannot run waitpid " in WaitpidThread()
955 Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_PROCESS)); in DoWaitpidThread() local
958 if (log) in DoWaitpidThread()
959 log->Printf("NativeProcessDarwin::%s(): inferior process ID is " in DoWaitpidThread()
982 if (log) in DoWaitpidThread()
983 log->Printf("NativeProcessDarwin::%s(): waitpid(pid = %" PRIu64 in DoWaitpidThread()
990 if (log) in DoWaitpidThread()
991 log->Printf("NativeProcessDarwin::%s(): waitpid(pid = %" PRIu64 in DoWaitpidThread()
998 if (log) in DoWaitpidThread()
999 log->Printf("NativeProcessDarwin::%s(): waitpid(pid = %" PRIu64 in DoWaitpidThread()
1005 if (log) in DoWaitpidThread()
1006 log->Printf("NativeProcessDarwin::%s(): waitpid(pid = %" PRIu64 in DoWaitpidThread()
1012 if (log) in DoWaitpidThread()
1013 log->Printf("NativeProcessDarwin::%s(pid = %" PRIu64 "): " in DoWaitpidThread()
1025 if (log) in DoWaitpidThread()
1026 log->Printf( in DoWaitpidThread()
1039 Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_PROCESS)); in SendInferiorExitStatusToMainLoop() local
1046 if (log) in SendInferiorExitStatusToMainLoop()
1047 log->Printf("NativeProcessDarwin::%s() - failed to write " in SendInferiorExitStatusToMainLoop()
1058 if (log) in SendInferiorExitStatusToMainLoop()
1059 log->Printf("NativeProcessDarwin::%s() - failed to write " in SendInferiorExitStatusToMainLoop()
1069 Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_PROCESS)); in HandleWaitpidResult() local
1078 if (log) in HandleWaitpidResult()
1079 log->Printf("NativeProcessDarwin::%s() - failed to read " in HandleWaitpidResult()
1091 if (log) in HandleWaitpidResult()
1092 log->Printf("NativeProcessDarwin::%s() - failed to read " in HandleWaitpidResult()
1101 if (log) in HandleWaitpidResult()
1102 log->Printf("NativeProcessDarwin::%s(): main loop received waitpid " in HandleWaitpidResult()
1114 Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_PROCESS)); in TaskPortForProcessID() local
1116 if (log) in TaskPortForProcessID()
1117 log->Printf("NativeProcessDarwin::%s(): cannot get task due " in TaskPortForProcessID()
1135 log->Printf("NativeProcessDarwin::%s(): ::task_for_pid(" in TaskPortForProcessID()
1143 if (log) { in TaskPortForProcessID()
1144 log->Printf("NativeProcessDarwin::%s(): ::task_for_pid(" in TaskPortForProcessID()
1169 Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_PROCESS)); in PrivateResume() local
1174 if (log) { in PrivateResume()
1176 log->Printf("NativeProcessDarwin::%s(): task 0x%x resuming (with " in PrivateResume()
1180 log->Printf("NativeProcessDarwin::%s(): task 0x%x resuming...", in PrivateResume()
1186 if (log) in PrivateResume()
1187 log->Printf("NativeProcessDarwin::%s(): aborting, failed to " in PrivateResume()
1212 Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_PROCESS | LIBLLDB_LOG_VERBOSE)); in ReplyToAllExceptions() local
1216 if (log) in ReplyToAllExceptions()
1217 log->Printf("NativeProcessDarwin::%s(): no task port, aborting", in ReplyToAllExceptions()
1230 if (log) { in ReplyToAllExceptions()
1231 log->Printf("NativeProcessDarwin::%s(): replying to exception " in ReplyToAllExceptions()
1251 if (error.Fail() && log) { in ReplyToAllExceptions()
1254 log->Printf("NativeProcessDarwin::%s(): failed to reply to " in ReplyToAllExceptions()
1269 Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_PROCESS)); in ResumeTask() local
1273 if (log) in ResumeTask()
1274 log->Printf("NativeProcessDarwin::%s(): failed to get task port " in ResumeTask()
1285 if (log) in ResumeTask()
1286 log->Printf("NativeProcessDarwin::%s(): requesting resume of task " in ResumeTask()
1295 if (log) in ResumeTask()
1296 log->Printf("NativeProcessDarwin::%s(): failed to get task " in ResumeTask()
1307 if (log) { in ResumeTask()
1309 log->Printf("::task_resume(target_task = 0x%4.4x): success", m_task); in ResumeTask()
1311 log->Printf("::task_resume(target_task = 0x%4.4x) error: %s", m_task, in ResumeTask()
1315 if (log) in ResumeTask()
1316 log->Printf("::task_resume(target_task = 0x%4.4x): ignored, " in ResumeTask()
1352 Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_PROCESS)); in GetTaskBasicInfo() local
1373 if (log) in GetTaskBasicInfo()
1374 log->Printf("::task_info(target_task = 0x%4.4x, " in GetTaskBasicInfo()
1399 Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_PROCESS)); in SuspendTask() local
1403 if (log) in SuspendTask()
1404 log->Printf("NativeProcessDarwin::%s() failed: %s", __FUNCTION__, in SuspendTask()
1411 if (error.Fail() && log) in SuspendTask()
1412 log->Printf("::task_suspend(target_task = 0x%4.4x)", m_task); in SuspendTask()
1419 Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_PROCESS)); in Resume() local
1421 if (log) in Resume()
1422 log->Printf("NativeProcessDarwin::%s() called", __FUNCTION__); in Resume()
1432 if (log) in Resume()
1433 log->Printf("NativeProcessDarwin::%s(): task 0x%x is already " in Resume()