GDBGUI on Windows provide paths with backslashes that doesn't supported by GDB
Open
- Dominant language
- TypeScript
- Stars
- 10.4k
- Forks
- 521
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
Environment:
GDB: 7.11.1
Windows 10x64
Program was built using ubunty subsystem under Windows 10 with debug information
GDBGUI sends http request that includes the following
105:42/gdb_listener,["run_gdb_command",{"cmd":["-break-insert \"C:\\mnt\\c\\Project\\filename.cpp:523\""]}]
when I want to add breakpoint
and GDB removes backslashes (function mi_parse_escape in \\gdb\mi\mi-parse.c), so create_breakpoint function work with location
C:mntcProjectfilename.cpp:523
and get "file not found" error
Contributor guide
Assessment
This issue has not been assessed yet.