gdbgui
gdbgui copied to clipboard
GDBGUI on Windows provide paths with backslashes that doesn't supported by GDB
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
Thanks for reporting this. I do not use windows for development, so perhaps you or someone else can fix the issue. I unfortunately don't have the bandwidth to take this on.