--- - branch: MAIN date: Tue Jun 4 16:30:19 UTC 2019 files: - new: '1.123' old: '1.122' path: src/sys/arch/amd64/amd64/netbsd32_machdep.c pathrev: src/sys/arch/amd64/amd64/netbsd32_machdep.c@1.123 type: modified id: 20190604T163019Z.b27cc29473771cad38ee8d1a2e87b1191cbdbdd8 log: | compat32: Implement PT_GETDBREGS and PT_SETDBREGS Uncomment and improve the implementation of compat32 support for PT_GETDBREGS and PT_SETDBREGS requests. The new implementation uses x86_dbregs_read() and x86_dbregs_write() function instead of accessing pcb directly. While this might be a little slower, it guarantees that the needed pcb field is allocated correctly. Furthermore, the code introduces necessary sanity checks for PT_SETDBREGS arguments. module: src subject: 'CVS commit: src/sys/arch/amd64/amd64' unixtime: '1559665819' user: mgorny