66 lines
933 B
Modula-2
66 lines
933 B
Modula-2
description "GDB debugger stub"
|
|
version 1,2,0
|
|
#debug
|
|
screenname "System Console"
|
|
input gdbserve
|
|
output GDBSERVE.NLM
|
|
start _Prelude
|
|
exit _Stop
|
|
import
|
|
exit
|
|
getcmd
|
|
_get_stdstream
|
|
fprintf
|
|
UnRegisterDebugger
|
|
exit
|
|
GetThreadID
|
|
GetCurrentScreen
|
|
__GetScreenID
|
|
ConsolePrintf
|
|
GetCurrentScreen
|
|
__GetScreenID
|
|
LoadModule
|
|
_get_stdstream
|
|
fprintf
|
|
UnRegisterDebugger
|
|
exit
|
|
ConsolePrintf
|
|
SuspendThread
|
|
ConsolePrintf
|
|
_get_stdstream
|
|
fprintf
|
|
UnRegisterDebugger
|
|
exit
|
|
_TerminateNLM
|
|
_SetupArgv
|
|
_StartNLM
|
|
_GetCLibNLMLibHandle
|
|
_NWRegisterNLMLibraryUser
|
|
ResumeThread
|
|
_get_stdstream
|
|
fprintf
|
|
strlen
|
|
ConsolePrintf
|
|
GetThreadID
|
|
sprintf
|
|
strcpy
|
|
KillMe
|
|
strcmp
|
|
exit
|
|
memset
|
|
memcpy
|
|
GetNLMHandle
|
|
AllocateResourceTag
|
|
RegisterDebuggerRTag
|
|
getcmd
|
|
UnRegisterDebugger
|
|
GetCurrentScreen
|
|
__GetScreenID
|
|
LoadModule
|
|
SuspendThread
|
|
_TerminateNLM
|
|
_SetupArgv
|
|
_StartNLM
|
|
_GetCLibNLMLibHandle
|
|
_NWRegisterNLMLibraryUser
|
|
__get_errno_ptr
|