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
|
getgregsFormatgetgregs thread What This Tool Does It retrieves the general purpose register contents for a target system thread. Specifically, it sends a message requesting the contents of the general purpose registers for the specified target system thread through the dbgif tool and displays the register contents (in hex) on stdout. The contents of certain CP0 registers (such as the program counter) are also displayed. Before executing this command, you must ensure that the dbgif program is running and that the METHOD environment variable is set to zero to indicate that this is a request for the R4300 CPU. The co-processor does not have general registers, so it is inappropriate to set METHOD to 1. In csh, this is accomplished by specifying: setenv METHOD 0If the specified thread is running, the displayed values will be the contents of the registers at the time the thread was preempted to service the getgregs request. Bugs In the event of a communications failure, the program will dump core. If this happens, you must remove the core file manually. See Also dbgif listthreads
|