Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[modm_tools] GDB with OpenOCD backend does not work on Windows #591

Open
salkinium opened this issue Mar 24, 2021 · 1 comment
Open

[modm_tools] GDB with OpenOCD backend does not work on Windows #591

salkinium opened this issue Mar 24, 2021 · 1 comment

Comments

@salkinium
Copy link
Member

salkinium commented Mar 24, 2021

There are two issues:

  1. AttributeError: module 'os' has no attribute 'setsid' and AttributeError: module 'os' has no attribute 'killpg'. We use these to start and kill the OpenOCD process in the background of GDB. No clue how to fix that.
  2. /dev/null does not exist on Windows, however that can easily be fixed:
    if silent:
        null_file = "nul" if "Windows" in platform.platform() else "/dev/null"
        commands.append("log_output " + null_file)
@salkinium
Copy link
Member Author

I "fixed" running OpenOCD in the background on Windows only to discover that arm-none-eabi-gdb does not support TUI mode on Windows and gdbgui dropped Windows support recently due to lack of gevents support.

I'm not sure how to fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant