浏览代码

libobs/util: Use SIGTRAP for os_breakpoint

SIGTRAP is the correct value to use to specify a breakpoint.
jp9000 10 年之前
父节点
当前提交
d1cbb2742e
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);
 }