736c56dedf
doing Power PC. * config/powerpc/tm-ppc-nw.h: Define GDB_TARGET_POWERPC. * config/i386/i386lynx.mh, config/m68k/m68klynx.mh, config/rs6000/rs6000lynx.mh, config/sparc/sparclynx.mh: Enable ser-tcp. * nlm/Makefile.in: Get rid of NWSOURCE. * nlm/alpha-io.S (inVti, outVti): Remove extraneous ldha's. * nlm/gdbserve.o: Add dummy __main routine. * nlm/gdbserve.def: Turn on debug.
42 lines
586 B
Modula-2
42 lines
586 B
Modula-2
description "GDB debugger stub"
|
|
version 1,2,0
|
|
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
|