N64® Functions Menu

al - Audio Library Functions
gDP - DP GBI Macros
gdSP - General GBI Macros
gSP - SP GBI Macros
gt - Turbo Microcode RDP
gu - Graphics Utilities
Math - Math Functions
nuSys - NuSystem
os - N64 Operating System
sp - Sprite Library Functions
uh - Host to Target IO
64DD - N64 Disk Drive

Nintendo® Confidential

   

bkpt

Format
bkpt -s tid addr
bkpt -c tid bpid


What This Tool Does
It sets or clears the target breakpoint. Specifically, it sends a request to set or clear a breakpoint in the target system by way of the dbgif tool. The tid is the thread number. Even though a breakpoint is not thread-specific in this debugger, you must still specify a thread. The addr is the address at which a breakpoint should be set. The bpid argument is the number of the breakpoint to be cleared.

Before executing this command, you must ensure that the dbgif program is running and that the METHOD environment variable is set to indicate whether this is a request for the R4300 CPU or the RCP co-processor. The value zero represents the CPU and the number one represents the RCP. In csh, this is accomplished by specifying:
setenv METHOD 0
Bugs
In the event of a communications failure, the program will dump core. If this happens, you will need to remove the core file manually.

Note that support for the -l option, list breakpoints, is not implemented in this version of the debug monitor.

See Also
dbgif
listthreads



Nintendo® Confidential

Warning: all information in this document is confidential and covered by a non-disclosure agreement. You are responsible for keeping this information confidential and protected. Nintendo will vigorously enforce this responsibility.

Copyright © 1998
Nintendo of America Inc. All rights reserved
Nintendo and N64 are registered trademarks of Nintendo
Last updated January 1998