summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2023-12-01 16:09:29 +0300
committerAlexander Gordeev <agordeev@linux.ibm.com>2023-12-11 16:33:04 +0300
commitf88d36845391f8df8faa9d28818bfbdd67af0d91 (patch)
treed0104a336cffb02730484eaa2f61fd71cc5f906d /scripts/gdb/linux/utils.py
parent207022d39d3b158ca3581e321212f799fa5e7e24 (diff)
downloadlinux-f88d36845391f8df8faa9d28818bfbdd67af0d91.tar.xz
s390/ctlreg: return old register contents when changing bits
Change local_ctl_set_bit() and local_ctl_clear_bit() so they return the previous value of the to be changed control register. This is useful if a bit is only changed temporarily and the previous content needs to be restored. Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions