Skip to content

Instantly share code, notes, and snippets.

View dluman's full-sized avatar

Douglas Luman dluman

View GitHub Profile
@dluman
dluman / build_gdb.sh
Last active December 18, 2023 19:11 — forked from m0sys/build_gdb.sh
Apple ARM GDB Build from Source with Python Support
#!/usr/bin/env sh
# NOTE: First, have to ignore the following warnings to make it build on M1/M2 Chip.
#
# -Wno-constant-logical-operand -Wno-format-nonliteral -Wno-self-assign
#
# To do so the above line should be appended to consts CFLAGS and CXXFLAGS
# under the 'Programs producing files for the HOST machine' section of
# the generated Makefile in dir 'build-gdb'.