| |||
| Home > Altering the Target Execution Environment > Changing the value of a register > Changing debugger internals | |||
Debugger internals appear in tabs in the Registers view. The tabs that appear depend on your debug target. You can change the values of these internals if required. However, be aware that changing some debugger internals is not recommended, or has other side-effects.
It is strongly recommended that you do not change the semihosting ARM and Thumb SuperVisor Call (SVC) numbers. If you do, you must:
Change all the code in your application, including library code, to use the new SVC number.
Change the ARM SVC and Thumb SVC settings to use the new SVC numbers.
To do this for a connection, change the Arm_svc_num and Thumb_svc_num settings
in the Connection Properties.
For a hardware target connection, you can temporarily override the semihosting setting in the Connection Properties of the related Debug Configuration.
For non ARMv7-M processors with the semihosting vector set
to the default (0x8), you cannot enable semihosting
if the SVC vector catch is enabled.
To do this:
Select Registers from the View menu to display the Registers view.
Click the Debug tab.
Select either True or False from
the Semihosting enabled drop-down list.
In a multiprocessor configuration, this affects the current connection only.
You can also set the variable semihost_enabled directly
using the CEXPRESSION CLI command, for example:
cexpression @semihost_enabled=1
Set the variable to 1 to temporarily enable
semihosting, or 0 to temporarily disable semihosting.
To permanently set the semihosting state for a connection,
change the Enabled setting in the Semihosting group
of the Connection Properties for the required Debug Configuration.
For a target connection through RVISS, you can temporarily override the semihosting setting in the Connection Properties of the related Debug Configuration. To do this:
Select Registers from the View menu to display the Registers view.
Click the Semihost tab.
Set the Semihosting State value
to either 1 (True) or 0 (False).
You can also set the variable semihost_state directly
using the CEXPRESSION CLI command, for example:
cexpression @semihost_state=1
the following in the RealView Debugger Target Configuration Guide:
the following in the RealView Debugger Command Line Reference Guide:
Alphabetical command reference for details of the CEXPRESSION command.