pciutils version: 3.15.0
OS: Windows 10 (10.0.19045)
pciutils cross compiled for Windows on Linux Mint 22.1 using the command "make CROSS_COMPILE=x86_64-w64-mingw32- HOST=x86_64-windows ZLIB=no IDSDIR=""
Running pciutils 3.15.0 on Windows 10 with the method win32-kldbg returns the error:
Trying method win32-kldbg...Accessing PCI config space via Kernel Local Debugging Driver requires Windows Vista or higher version....No.
This error is logged by the function win32_kldbg_setup when the function win32_is_vista_system returns False. The function win32_is_vista_system looks wrong as it returns false when version.dwMajorVersion >= 6. That should be version.dwMajorVersion < 6.
pciutils version: 3.15.0
OS: Windows 10 (10.0.19045)
pciutils cross compiled for Windows on Linux Mint 22.1 using the command "make CROSS_COMPILE=x86_64-w64-mingw32- HOST=x86_64-windows ZLIB=no IDSDIR=""
Running pciutils 3.15.0 on Windows 10 with the method win32-kldbg returns the error:
Trying method win32-kldbg...Accessing PCI config space via Kernel Local Debugging Driver requires Windows Vista or higher version....No.This error is logged by the function
win32_kldbg_setupwhen the functionwin32_is_vista_systemreturns False. The functionwin32_is_vista_systemlooks wrong as it returns false whenversion.dwMajorVersion >= 6. That should beversion.dwMajorVersion < 6.