Lines Matching refs:L

46   MessageBoxW (NULL, buf, L"GDB", MB_ICONERROR);  in vstub_error()
86 stub_error (L"lost synchronization with host attempting %s. Error %d", huh, WSAGetLastError ()); in attempt_resync()
127 stub_error (L"error getting record type from host - %s.", huh); in getdword()
131 stub_error (L"error getting %s from host.", huh); in getdword()
150 stub_error (L"error getting record type from host - %s.", huh); in getword()
154 stub_error (L"error getting %s from host.", huh); in getword()
181 stub_error (L"error getting string from host."); in getmemory()
191 stub_error (L"error writing record id for %s to host.", huh); in putdword()
193 stub_error (L"error writing %s to host.", huh); in putdword()
201 stub_error (L"error writing record id for %s to host.", huh); in putword()
203 stub_error (L"error writing %s to host.", huh); in putword()
217 stub_error (L"error writing memory to host."); in putmemory()
237 LPWSTR exec_file = getmemory (L"CreateProcess exec_file", s, GDB_CREATEPROCESS, NULL); in create_process()
238 LPWSTR args = getmemory (L"CreateProcess args", s, GDB_CREATEPROCESS, NULL); in create_process()
239 DWORD flags = getdword (L"CreateProcess flags", s, GDB_CREATEPROCESS); in create_process()
253 putresult (L"CreateProcess", res, s, GDB_CREATEPROCESS, &pi, sizeof (pi)); in create_process()
265 HANDLE h = gethandle (L"TerminateProcess handle", s, GDB_TERMINATEPROCESS); in terminate_process()
268 putresult (L"Terminate process result", res, s, GDB_TERMINATEPROCESS, in terminate_process()
287 {L"Undefined Instruction:", 1},
288 {L"Data Abort:", 2},
319 DWORD ms = getdword (L"WaitForDebugEvent ms", s, GDB_WAITFORDEBUGEVENT); in wait_for_debug_event()
339 putresult (L"WaitForDebugEvent event", res, s, GDB_WAITFORDEBUGEVENT, in wait_for_debug_event()
355 HANDLE h = gethandle (L"GetThreadContext handle", s, GDB_GETTHREADCONTEXT); in get_thread_context()
359 c.ContextFlags = getdword (L"GetThreadContext flags", s, GDB_GETTHREADCONTEXT); in get_thread_context()
362 putresult (L"GetThreadContext data", res, s, GDB_GETTHREADCONTEXT, in get_thread_context()
371 HANDLE h = gethandle (L"SetThreadContext handle", s, GDB_SETTHREADCONTEXT); in set_thread_context()
372 LPCONTEXT pc = (LPCONTEXT) getmemory (L"SetThreadContext context", s, in set_thread_context()
376 putresult (L"SetThreadContext result", res, s, GDB_SETTHREADCONTEXT, in set_thread_context()
384 HANDLE h = gethandle (L"ReadProcessMemory handle", s, GDB_READPROCESSMEMORY); in read_process_memory()
385 LPVOID p = getpvoid (L"ReadProcessMemory base", s, GDB_READPROCESSMEMORY); in read_process_memory()
386 gdb_wince_len len = getlen (L"ReadProcessMemory size", s, GDB_READPROCESSMEMORY); in read_process_memory()
393 putresult (L"ReadProcessMemory data", res, s, GDB_READPROCESSMEMORY, in read_process_memory()
401 HANDLE h = gethandle (L"WriteProcessMemory handle", s, GDB_WRITEPROCESSMEMORY); in write_process_memory()
402 LPVOID p = getpvoid (L"WriteProcessMemory base", s, GDB_WRITEPROCESSMEMORY); in write_process_memory()
404 LPVOID buf = getmemory (L"WriteProcessMemory buf", s, GDB_WRITEPROCESSMEMORY, &len); in write_process_memory()
410 putresult (L"WriteProcessMemory data", res, s, GDB_WRITEPROCESSMEMORY, in write_process_memory()
418 HANDLE h = gethandle (L"ThreadAlive handle", s, GDB_THREADALIVE); in thread_alive()
422 putresult (L"WriteProcessMemory data", res, s, GDB_THREADALIVE, in thread_alive()
431 HANDLE h = gethandle (L"SuspendThread handle", s, GDB_SUSPENDTHREAD); in suspend_thread()
433 putdword (L"SuspendThread result", s, GDB_SUSPENDTHREAD, res); in suspend_thread()
441 HANDLE h = gethandle (L"ResumeThread handle", s, GDB_RESUMETHREAD); in resume_thread()
443 putdword (L"ResumeThread result", s, GDB_RESUMETHREAD, res); in resume_thread()
451 DWORD pid = getdword (L"ContinueDebugEvent pid", s, GDB_CONTINUEDEBUGEVENT); in continue_debug_event()
452 DWORD tid = getdword (L"ContinueDebugEvent tid", s, GDB_CONTINUEDEBUGEVENT); in continue_debug_event()
453 DWORD status = getdword (L"ContinueDebugEvent status", s, GDB_CONTINUEDEBUGEVENT); in continue_debug_event()
455 putresult (L"ContinueDebugEvent result", res, s, GDB_CONTINUEDEBUGEVENT, &res, sizeof (res)); in continue_debug_event()
463 HANDLE h = gethandle (L"CloseHandle handle", s, GDB_CLOSEHANDLE); in close_handle()
465 putresult (L"CloseHandle result", res, s, GDB_CLOSEHANDLE, &res, sizeof (res)); in close_handle()
475 while (sockread (L"Dispatch", s, &id, sizeof (id)) > 0) in dispatch()
525 wsprintfW (buf, L"Invalid command id received: %d", id); in dispatch()
526 MessageBoxW (NULL, buf, L"GDB", MB_ICONERROR); in dispatch()
545 whost = wcschr (cmd, L' '); /* Look for argument. */ in WinMain()
551 while (*whost == L' ' || *whost == L'\t') in WinMain()
559 stub_error (L"Couldn't initialize WINSOCK."); in WinMain()
568 stub_error (L"Couldn't get IP address of host system. Error %d", WSAGetLastError ()); in WinMain()
572 stub_error (L"Couldn't connect to host system. Error %d", WSAGetLastError ()); in WinMain()
586 stub_error (L"Couldn't connect to host gdb."); in WinMain()