Skip to content

GdbController cannot recognize window short path of gdb executable #65

@Hoohaha

Description

@Hoohaha

Describe the bug
When gdb executable is short format like this:
C:/PROGRA~2/GNUARM~1/102021~1.10/bin/AR470E~1.EXE

Full path: "C:\PROGRA2\GNUARM1\102021~1.10\bin\arm-none-eabi-gdb.exe"

Then the consrtuctor will raise error: gdb executable could not be resolved from

Checked the code, function distutils.spawn.find_executable() will return None for C:/PROGRA~2/GNUARM~1/102021~1.10/bin/AR470E~1.EXE

To Reproduce

gdb = GdbController(`C:/PROGRA~2/GNUARM~1/102021~1.10/bin/AR470E~1.EXE`)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions