In this section, I will detail the steps I performed to prepare a Linux system as a debugging host for the Mac OS X kernel:
Step 1: Install an ancient Red Hat 7.3 Linux operating system.
Step 2: Get the necessary software packages.
Step 3: Build Apple’s debugger on the Linux host.
Step 4: Prepare the debugging environment.
Because Apple’s GNU Debugger (gdb) version that I used needs a GNU C Compiler (gcc) less than version 3 to build correctly, I downloaded and installed an ancient Red Hat 7.3 Linux system. To install the Red Hat system, I chose the installation type Custom. When I was asked to select the packages to install (Package ...