How Debuggers Work: Getting and Setting x86 Registers
Learning debugger internals is suprisingly frustrating. I think it was the the GDB source code that didn&#x27;t explain what anything was in its source files about interacting with registers, and just had a comment at the top that said something like &quot;this header file is for GDB internals, you&#x27;re probably looking for the man page&quot;. Then I found a post on Stackoverflow looking for the exact same info I was, but it was closed for &quot;being too narrow and likely no use to anyone else&quot;.