Browse Source

libobs/util: Use SIGTRAP for os_breakpoint

SIGTRAP is the correct value to use to specify a breakpoint.
jp9000 10 years ago
parent
commit
d1cbb2742e
1 changed files with 1 additions and 1 deletions
  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()
 void os_breakpoint()
 {
 {
-	raise(SIGINT);
+	raise(SIGTRAP);
 }
 }