Summary of C-SPY system macros
This table summarizes the pre-defined system macros:
Macro | Description |
|---|---|
Aborts the launch of the debugger | |
Cancels all ordered interrupts | |
Cancels an interrupt | |
Clears a breakpoint | |
Closes a file that was opened by | |
Delays execution | |
Disables generation of interrupts | |
Verifies the driver type | |
Enables generation of interrupts | |
Interprets the input string as an expression and evaluates it | |
Expands all argument variables in a string | |
Fills a specified memory area with a byte value | |
Fills a specified memory area with a 2-byte value | |
Fills a specified memory area with a 4-byte value | |
Gets the number local cores being debugged. | |
Gets the number of the current core. | |
Checks if C-SPY is running in batch mode or not. | |
Checks if a C-SPY macro symbol is defined. | |
Loads a debug image | |
Restores the contents of a file to a specified memory zone | |
Saves the contents of a specified memory area to a file | |
Displays a Yes/Cancel dialog box for user interaction | |
Displays a Yes/No dialog box for user interaction | |
Opens a file for I/O operations | |
Generates an interrupt | |
Informs the interrupt simulation system that an interrupt handler has finished executing | |
Reads from the specified file | |
Reads one byte from the specified file | |
Reads one byte from the specified memory location | |
Reads two bytes from the specified memory location | |
Reads four bytes from the specified memory location | |
Registers macros from the specified file | |
Rewinds a file opened by | |
Switches focus from the current core to the specified core. | |
Sets a code breakpoint | |
Sets a data breakpoint | |
Sets a data log breakpoint | |
Sets a log breakpoint | |
Sets a simulation breakpoint | |
Sets the number of bytes to collect from an application started with | |
Sets the timeout for an application started with | |
Sets a timer start breakpoint | |
Sets a timer stop breakpoint | |
Sets a trace start trigger breakpoint | |
Sets a trace stop trigger breakpoint | |
Returns the file name and source location if the current execution location corresponds to a source location | |
Searches a given string for the occurrence of another string | |
Extracts a substring from another string | |
Starts an external application | |
Starts an external application with | |
Starts an external application with | |
Returns the version of the target debugger | |
Returns a copy of the parameter string where all the characters have been converted to lower case | |
Prints strings | |
Returns a copy of the parameter string where all the characters have been converted to upper case | |
Unloads a debug image | |
Returns the current host computer CPU time in milliseconds | |
Writes to the specified file | |
Writes one byte to the specified file | |
Writes one byte to the specified memory location | |
Writes a two-byte word to the specified memory location | |
Writes a four-byte word to the specified memory location |