virtual display, linux, debug

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2023-03-29 20:25:41 +08:00
parent bcf08ba26d
commit c944d6093d
3 changed files with 72 additions and 19 deletions

View File

@@ -57,6 +57,6 @@ where
{
unsafe {
GLOBAL_CALLBACK = Some(Box::new(callback));
// libc::signal(libc::SIGSEGV, breakdown_signal_handler as _);
libc::signal(libc::SIGSEGV, breakdown_signal_handler as _);
}
}