30e015ec42
back when I figure out how to do it right.
37 lines
528 B
Modula-2
37 lines
528 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
|
|
AllocateResourceTag
|
|
ConsolePrintf
|
|
GetCurrentScreen
|
|
GetNLMHandle
|
|
GetThreadID
|
|
KillMe
|
|
LoadModule
|
|
RegisterDebuggerRTag
|
|
ResumeThread
|
|
SuspendThread
|
|
UnRegisterDebugger
|
|
_GetCLibNLMLibHandle
|
|
_NWRegisterNLMLibraryUser
|
|
_SetupArgv
|
|
_StartNLM
|
|
_TerminateNLM
|
|
__GetScreenID
|
|
__get_errno_ptr
|
|
_get_stdstream
|
|
exit
|
|
fprintf
|
|
getcmd
|
|
memcpy
|
|
memset
|
|
sprintf
|
|
strcmp
|
|
strcpy
|
|
strlen
|