From 7b8b8e3ef16f9b4d1d18edfb833b342d4cb5830a Mon Sep 17 00:00:00 2001 From: Matt Borgerson Date: Fri, 7 Jul 2023 00:47:36 -0700 Subject: [PATCH] README.md: Fix typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b6ebb90..ab555a6 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ You'll want to set up a debug environment. ### GDB debugging -To create an executable with symbols, add `-DCMAKE_BUILD_TYPE=Debug` argument to CMake when configuring the project. For example, when using the LLVM toolchain: +To create an executable with symbols when building with the LLVM toolchain, add `-DCMAKE_BUILD_TYPE=Debug` argument to CMake when configuring the project. During the build process, a `.gdbinit` script is generated. This script will help initialize a gdb session for debugging. It will be loaded automatically when `gdb` is invoked from the current directory. You can launch xemu with a GDB server by passing the `-s` flag.