| |||
| Home > Changing the Execution Context > Resetting the PC to the image entry point > Procedure | |||
To reset the PC to the image entry point, either:
Select Debug ? Set PC to Entry Point from the Code window main menu.
Click
the Set PC to Entry button on the Image toolbar.
This has the following effect:
If the Registers pane is displayed, the color of the PC register value changes to blue.
The code view changes to show the code at the new PC location.
A red box is drawn around the entry point instruction or line of code, to indicate the new PC location.
The Call Stack pane changes to show the new context. Although the Locals, Statics, and This tabs show the variables that are in scope at the new context, the Call Stack tab does not have any traceback information.
A RESTART command is issued (see the RealView Debugger v3.0 Command Line Reference Guide).