Explorar o código

libobs/util: Use SIGTRAP for os_breakpoint

SIGTRAP is the correct value to use to specify a breakpoint.
jp9000 %!s(int64=10) %!d(string=hai) anos
pai
achega
d1cbb2742e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      libobs/util/platform-nix.c

+ 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);
 }