gdbgui icon indicating copy to clipboard operation
gdbgui copied to clipboard

GDBGUI on Windows provide paths with backslashes that doesn't supported by GDB

Open sepavel opened this issue 5 years ago • 1 comments

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

sepavel avatar Aug 22 '18 16:08 sepavel

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.

cs01 avatar Sep 30 '18 04:09 cs01