All tools/GDB

GDB

gdb

GDB, the GNU Project debugger, allows you to see what is going on inside another program while it executes.

Detected by gdb | macOS, Linux, Windows |www.sourceware.org

Sync rules

What travels, what stays, what never leaves
GDB in your home directory Every rule on this page, by file
set disassembly-flavor intel
# Allow the project's own .gdbinit and -gdb.py scripts to load.
set auto-load safe-path /Users/octocat/Projectsmachine-local
add-auto-load-safe-path /Users/octocat/Projects/hello/.gdbinitmachine-local
# Where this machine's unstripped libraries were unpacked.
set solib-search-path /Users/octocat/symbols/lib:/usr/local/libmachine-local
define bt-all
thread apply all backtrace full

Each machine keeps its own copy of these.

· ~/.gdbearlyinit Sync
add-auto-load-safe-pathset auto-load safe-pathset solib-search-path

Each machine keeps its own copy of these.

· gdbearlyinit Sync
add-auto-load-safe-pathset auto-load safe-pathset solib-search-path

Each machine keeps its own copy of these.

· gdbearlyinit Sync

Only what the catalog names. A directory that syncs brings everything inside it except what is listed as excluded here.

Use it with your dotfile manager

Same data, in the shape your tool already reads
Opens Otty and adds this tool to what it syncs

Opens otty://sync/add/gdb. Otty ships with this catalog, so the link only has to name the tool — nothing is downloaded.

Every one of these is generated from the same rules as this page. None of them splits add-auto-load-safe-path and set auto-load safe-path for you — that part is Otty’s own sync, or a template you write by hand.