Skip to content

Instantly share code, notes, and snippets.

@egolearner
egolearner / cheat_sheet.txt
Created August 4, 2022 02:47
GDB cheat sheet
GDB commands by function - simple guide
---------------------------------------
More important commands have a (*) by them.
Startup
% gdb -help print startup help, show switches
*% gdb object normal debug
*% gdb object core core debug (must specify core file)
%% gdb object pid attach to running process
% gdb use file command to load object
@egolearner
egolearner / faiss_install_notes_on_catalina.md
Last active November 4, 2020 05:52 — forked from maxime/faiss_install_notes_on_high_sierra.md
Install Facebook FAISS on macOS Catalina

Those instructions are working for me as of Nov. 2020. Using Homebrew and maOS 10.15.7

Install xCode command line tools (if you don't have it already)

xcode-select --install

Install LLVM