(gdb) break 6
Breakpoint 1 at 0x100003eaf: file writefile.c, line 9.
(gdb) run
Starting program: /Users/test/workspace/cprograms/a.out
注: このバージョンの macOS にはシステム整合性保護があります。
!priv->threads.empty ()' が失敗したためstartup-with-shell' is enabled, gdb has worked around this by caching a copy of your shell. The shell used by "run" is now: /Users/test/Library/Caches/gdb/bin/sh *warning: Mach error at "../../gdb/darwin-nat.c:273" in function "void darwin_nat_target::check_new_threads(inferior *)": (ipc/send) invalid destination port (0x10000003) ../../gdb/darwin-nat.c:1686: internal-error: void darwin_nat_target::init_thread_list(inferior *): Assertion
.*
GDB 内部の問題が検出されたため、これ以上のデバッグは信頼できないことが判明する可能性があります。このデバッグ セッションを終了しますか? (y または n)