Not sure if I'm using gdb right. I got this:
(gdb) file /usr/local/Cellar/alpine/2.24/bin/alpine
Reading symbols from /usr/local/Cellar/alpine/2.24/bin/alpine...
(No debugging symbols found in /usr/local/Cellar/alpine/2.24/bin/alpine)
../../gdb/thread.c:95: internal-error: struct thread_info *inferior_thread(): Assertion `current_thread_ != nullptr' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) y
This is a bug, please report it. For instructions, see:
<
https://www.gnu.org/software/gdb/bugs/>.
../../gdb/thread.c:95: internal-error: struct thread_info *inferior_thread(): Assertion `current_thread_ != nullptr' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) n