1
0
Эх сурвалжийг харах

libobs/util: Use SIGTRAP for os_breakpoint

SIGTRAP is the correct value to use to specify a breakpoint.
jp9000 10 жил өмнө
parent
commit
d1cbb2742e

+ 1 - 1
libobs/util/platform-nix.c

@@ -594,5 +594,5 @@ void os_inhibit_sleep_destroy(os_inhibit_t *info)
 
 void os_breakpoint()
 {
-	raise(SIGINT);
+	raise(SIGTRAP);
 }