Gdb debugging is carried out in the terminal of imac, and after hitting the breakpoint, the operation reports an error. What is the reason for this?

I wrote a simple. C and makefile, installed through HomeBrew gdb, version is GNU gdb (GDB) 8.1, after the break point to run the error, the error is as follows: please tell me what is the reason, thank you!

localhost:skx_learn shikaixun$ gdb sort
GNU gdb (GDB) 8.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
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-darwin17.3.0".
Type "show configuration" for configuration details.
For bug reporting instructions, Please see:
http://www.gnu.org/software/g..
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/g..
For help, Type "help".
Type "apropos word" to search for commands related to "word".
Reading symbols from sort.done.
(gdb) b 4
Breakpoint 1 at 0x100000dc5: file main.c, line 4.
(gdb) r
Starting program: / Users/shikaixun/skx_learn/sort
[New Thread 0x1803 of process 674]
[New Thread 0x2803 of process 674]
During startup program terminated with signal SIGTRAP, Trace/breakpoint trap.

Mar.22,2021
Menu