1.3.134 set debug-from

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().

Syntax

set debug-from expression

Where:

expression

Specifies 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 1-137 Examples

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
Non-ConfidentialPDF file icon PDF versionARM DUI0452Z
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.