Technical requirements
With a few additions (which follow), the technical requirements and workspace remain identical to what's described in Chapter 1, A General Introduction to Debugging Software. The code examples can be found within the book's GitHub repository here: https://github.com/PacktPublishing/Linux-Kernel-Debugging.
In addition to the usual, you'll also need to install a few packages as well as a compressed root filesystem image we'll make use of later in the chapter:
- The QEMU ARM and x86 emulator apps and a few miscellaneous packages (all in, they take up close to 400 MB of disk space):
sudo apt install qemu-system-arm qemu-system-x86 lzop libncursesw5 libncursesw5-dev p7zip-full
- Navigate to the book's GitHub repo's
ch11/
directory and download a compressed root filesystem image that we'll make use of later (in the Debugging kernel modules with KGDB section):cd <book_src>/ch11 wget https://github.com/PacktPublishing/Linux...
- Navigate to the book's GitHub repo's