[40645 inferior]: GDB task: 0x203, pid: 40645 GNU gdb (GDB) 12.0.50.20220202-git Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-apple-darwin21.3.0". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /Users/siweihe/Developer/ECE496/a.out... Reading symbols from /Users/siweihe/Developer/ECE496/a.out.dSYM/Contents/Resources/DWARF/a.out... (gdb) b main Breakpoint 1 at 0x100003f9d: file test.c, line 2. (gdb) r Starting program: /Users/siweihe/Developer/ECE496/a.out [40645 inferior]: inferior task: 0x1103, pid: 40718 [40645 inferior]: new_ix:0/1, old_ix:0/0, new_id:0x1503 old_id:0x0 [New Thread 0x1503 of process 40718] [40645 inferior]: darwin_wait: waiting for a message ptid=40718.0.0 [40718 inferior]: ptrace (PT_TRACE_ME, 0, 0x0, 0): 0 (no error) [40718 inferior]: ptrace (PT_SIGEXC, 0, 0x0, 0): 0 (no error) message header: bits: 0x1200 size: 0x24 remote-port: 0x0 local-port: 0xe03 reserved: 0x0 id: 0x48 data: 00000000 00000001 00001103 [46836 inferior]: WIFSTOPPED [40645 inferior]: darwin_wait: pid=40718 exit, status=0x57f