Skip to content

Instantly share code, notes, and snippets.

View kirakira-dev's full-sized avatar
💭
1F2003D5 me 🥺

kirakira kirakira-dev

💭
1F2003D5 me 🥺
View GitHub Profile
@kirakira-dev
kirakira-dev / switch-gdb-cheatsheet.md
Created September 24, 2025 03:46 — forked from jam1garner/switch-gdb-cheatsheet.md
GDB for Switch Modding Cheatsheet/Tutorial

This is a mini-tutorial of sorts for getting started with gdb on the Switch, with the target audience being people who want to mod and/or reverse games, with no prerequisite knowledge of gdb. The goal will be to walk you through some of the basic workflows needed to use a debugger on the Switch, while being brief enough for skimming for when you forget things.

If some part is unclear, your OS doesn't have install instructions, or you feel part of your workflow should be added here, feel free to comment any additions.

(If you only need a quick reference Jump to the Appendix)

Installing GDB

First off you'll need a version of GDB compatible with aarch64. This can be obtained via either a distribution of

# KIRAKIRA'S SECRET COMMUNICATION GIST
This is a Gist designed for me to communicate with anyone when my WeChat has been ***ed. Leave a comment below to communicate.