Skip to content

Commit

Permalink
README.md: Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mborgerson committed Jul 7, 2023
1 parent 281c041 commit 7b8b8e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 7b8b8e3

Please sign in to comment.