diff --git a/readme.txt b/readme.txt index ff023fa..77c3157 100644 --- a/readme.txt +++ b/readme.txt @@ -38,6 +38,10 @@ On Debian, it is sufficient to run this command: Then, just run "make debug". Calcite will be booted in QEMU, and GDB will be attached to it. Use "c" or "continue" in GDB to start execution. +While debugging, it is useful to disable optimizations and enable debugging +information. In the makefile, under CC_EXTRA_FLAGS, you can change "-O3" to +"-Og -ggdb". Then, run "make clean" and then "make" again. + === License Calcite is Copyright 2025 Benji Dial, and licensed under the GNU GPL v3. See