5 comments

Thank for reporting the problem. Just to be sure: you build GDB on Linux and then launch it on Windows, right? What is the toolchain set in CLion on Windows? Did you try running `x86_64-linux-gnu-gdb.exe` from the MinGW-W64 command line?

0
Avatar
Permanently deleted user

I built GDB on Ubuntu 12.04 and then tried to launch it on Windows 7 from command line (cmd.exe). I'm not sure what "MinGW-W64" command line is. I tried to launch GDB from Git-Bash command line and got an error "Segmentation fault".

0

OK, I see. Please try one of the pre-built packages attached to https://youtrack.jetbrains.com/issue/CPP-8137

0
Avatar
Permanently deleted user

Thanks, pre-built packages are partially working. So gdb can connect to gdbserver, I can pause my program and it shows me the call stack  but it doesn't show the source code. I use program itself as a symbol file and I did setup path mapping.

0

No problem. To address the issue with missing source code we'll need debugger logs. Please enable logging as described here, reproduce the case and send the resulting log to our support channel.

0

Please sign in to leave a comment.