aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/vmalloc.py
diff options
context:
space:
mode:
authorWeihao Li <liweihao@loongson.cn>2023-09-06 22:53:10 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2023-09-06 22:53:10 +0800
commit937f65935950a0346292120acc5d98033f90e61c (patch)
treed52fe3bb341d74cf9d3a3ecfce3024ce8c4ae56b /scripts/gdb/linux/vmalloc.py
parent0921af6ccfb37dc2d6aefcf744333c14e7ca739d (diff)
downloadlinux-937f65935950a0346292120acc5d98033f90e61c.tar.gz
linux-937f65935950a0346292120acc5d98033f90e61c.tar.bz2
linux-937f65935950a0346292120acc5d98033f90e61c.zip
LoongArch: Adjust {copy, clear}_user exception handler behavior
The {copy, clear}_user function should returns number of bytes that could not be {copied, cleared}. So, try to {copy, clear} byte by byte when ld.{d,w,h} and st.{d,w,h} trapped into an exception. Reviewed-by: WANG Rui <wangrui@loongson.cn> Signed-off-by: Weihao Li <liweihao@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'scripts/gdb/linux/vmalloc.py')
0 files changed, 0 insertions, 0 deletions