mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-01 07:50:49 +00:00
43 lines
592 B
Modula-2
43 lines
592 B
Modula-2
description "GDB debugger stub"
|
|
version 1,2
|
|
debug
|
|
module clib
|
|
screenname "System Console"
|
|
input gdbserve.O
|
|
output gdbserve.nlm
|
|
start _Prelude
|
|
exit _Stop
|
|
import
|
|
AllocateResourceTag
|
|
ConsolePrintf
|
|
GetCurrentScreen
|
|
GetNLMHandle
|
|
GetThreadID
|
|
KillMe
|
|
LoadModule
|
|
ReadByteAltDebugger
|
|
RegisterDebuggerRTag
|
|
ResumeThread
|
|
SuspendThread
|
|
UnRegisterDebugger
|
|
WriteByteAltDebugger
|
|
_GetCLibNLMLibHandle
|
|
_NWRegisterNLMLibraryUser
|
|
_SetupArgv
|
|
_StartNLM
|
|
_TerminateNLM
|
|
__GetScreenID
|
|
__get_errno_ptr
|
|
exit
|
|
fprintf
|
|
getcmd
|
|
memcmp
|
|
memcpy
|
|
memset
|
|
sprintf
|
|
strcmp
|
|
strcpy
|
|
strlen
|
|
strnicmp
|
|
strtol
|