Attach gdb to julia

I’m trying to attach gdb (v8.3) to a debug build of julia v1.2, and I get

Attaching to process 20122
[New Thread 0x1803 of process 20122]
[New Thread 0x1903 of process 20122]
[New Thread 0x1a03 of process 20122]
[New Thread 0x1b03 of process 20122]
[New Thread 0x1c03 of process 20122]
[New Thread 0x1d03 of process 20122]
[New Thread 0x1e03 of process 20122]
[New Thread 0x1f03 of process 20122]
Error calling thread_get_state for GP registers for thread 0x1803

warning: Mach error at "i386-darwin-nat.c:132" in function "virtual void i386_darwin_nat_target::fetch_registers(struct regcache *, int)": (os/kern) invalid argument (0x4)
Reading symbols from /Users/goretkin/repos/julia/usr/bin/julia-debug...

warning: can't find symbol '_ZN4llvm30VerifyDisableABIBreakingChecksE' in minsymtab
[warnings sometimes repeat indefinitely]

warning: can't find symbol '_ZN4llvm22AggressiveAntiDepState11UnionGroupsEjj' in minsymtab

warning: can't find symbol '_ZN4llvm22AggressiveAntiDepState12GetGroupRegsEjRNSt3__16vectorIjNS1_9allocatorIjEEEEPNS1_8multimapIjNS0_17RegisterReferenceENS1_4lessIjEENS3_INS1_4pairIKjS8_EEEEEE' in minsymtab

warning: can't find symbol '_ZN4llvm22AggressiveAntiDepState6IsLiveEj' in minsymtab

warning: can't find symbol '_ZN4llvm22AggressiveAntiDepState8GetGroupEj' in minsymtab

These seem to be macOS-specific issues that didn’t return too much from Googling. Does anyone has suggestions for addressing these warnings?

LLDB is recommended on macOS, GDB was not really maintained on macOS for quite a while (but there have been patches in the past year).