After commit #1685 GDB is no longer working on macOS. Everything was working fine before that change.
Reproduction
Compile the software
Invoke ./fbt blackmagic
Target
No response
Logs
arm-none-eabi-gdb-py -ex "target extended-remote /dev/cu.usbmodemblackmagic1" -ex "set confirm off" -ex "monitor swdp_scan" -ex "monitor debug_bmp enable" -ex "attach 1" -ex "set mem inaccessible-by-default off" -ex "source debug/FreeRTOS/FreeRTOS.py" -ex "source debug/PyCortexMDebug/PyCortexMDebug.py" -ex "svd_load debug/STM32WB55_CM4.svd" -ex compare-sections build/f7-firmware-D/firmware.elf
GNU gdb (GNU Arm Embedded Toolchain 10.3-2022.08) 10.2.90.20210621-git
Copyright (C) 2021 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 "--host=x86_64-apple-darwin10 --target=arm-none-eabi".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from build/f7-firmware-D/firmware.elf...
I'm sorry, Dave, I can't do that. Symbol format `elf32-littlearm' unknown.
Remote debugging using /dev/cu.usbmodemblackmagic1
/Users/xxx/Projects/Others/FlipperZERO/flipperzero-firmware/toolchain/x86_64-darwin/bin/arm-none-eabi-gdb-py: line 13: 71572 Abort trap: 6 DYLD_LIBRARY_PATH="$LIB_OPENSSL_PATH" PYTHONHOME="$PY_HOME" "$SCRIPT_PATH/arm-none-eabi-gdb-py-bin" "$@"
scons: *** [phony_blackmagic] Error 134
********** ERRORS **********
Failed building phony_blackmagic: Error 134
Describe the bug.
After commit #1685 GDB is no longer working on macOS. Everything was working fine before that change.
Reproduction
Target
No response
Logs
Anything else?
No response