| |||
| Home > DS-5 Debugger commands > DS-5 Debugger commands listed in alphabetical order > set debug-from | |||
This command specifies the address of the temporary breakpoint
for subsequent use by the start command. If you
do not specify this command then the default value used by the start command
is the address of the global function main().
set debug-from expression
Where:
expressionSpecifies an expression that evaluates to an address.
The expression is only evaluated when the start command
is processed, therefore, you can refer to symbols that might not
exist yet but might be made available in the future. You can use
the debugger variable $entrypoint to refer to
the entry point for the currently loaded image.
Example 100. set debug-from
set debug-from *0x8000 # Set start-at setting to address 0x8000 set debug-from *$entrypoint # Set start-at setting to address of $entrypoint set debug-from main+8 # Set start-at setting to address of main+8 set debug-from function1 # Set start-at setting to address of function1
ARM® DS-5™ Using the Debugger: