cs01 / cs01/pygdbmi

GdbController cannot recognize window short path of gdb executable

Open
#65 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
260
Forks
53
PR merge metrics
No merged PRs in 30d

Description

**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:\PROGRA~2\GNUARM~1\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`)
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.