microsoft / WinDbg-Samples

Sample extensions, scripts, and API uses for WinDbg.
MIT License
702 stars 118 forks source link

Added support for VMWare x64 arch. #75

Closed alexsmendez closed 1 year ago

alexsmendez commented 1 year ago

This PR enable debugging x64 VMWare Windows VMs. Changes:

  1. The exdiconfigdata.xml file has changed to include the x64 server.
  2. The GetContext function has been updated to check for the existence of the x64 CR0, ... registers before trying to fecth them, since the VMWare GDB server does not support AMD64 CR0, CR1, etc. registers.
  3. The ReadMemory function has been updated to be in synch with the GDBserver library changes in the Debugger internal depot.