Error with GDB version [message #1855168] |
Fri, 30 September 2022 08:00  |
Eclipse User |
|
|
|
Hi
I have installed the latest Eclipse C++ CDT and I use TDM-GCC-64.
All work fine but impossible to debug.
I have this error :
Quote:Could not determine GDB version using command: gdb --version
gdbwrapper: AssignProcessToJobObject failed
When I try in the bin directory of TDM-GCC-64, I have the correct message :
Quote:
>gdb --version
GNU gdb (GDB) 8.3.1
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
I try all things since 2 days and I am desperate !
Please, an idea to solve this problem ?
Best regards,
Lionel
|
|
|
Re: Error with GDB version [message #1855190 is a reply to message #1855168] |
Fri, 30 September 2022 15:33   |
Eclipse User |
|
|
|
Hi
Finally, I fix the problem !
The solution has been to uninstall absolutely all (Eclipse, msys, mingw, TDM, Code::Bloks, ...).
Then suppress all folders including .eclipse, . p2.
Then suppress all related things in ENV and PATH
Then run regedit to suppress all keys related to eclipse, msys, ...
Then restart computer
Then first re-install mingw build from niXman github (the only that is really complete)
Then add the mingw64\bin to the PATH
Then open a console an try g++ --console and gdb --console. Should work !
Then re-install Eclipse from installer
Then try a simple basic project create with the IDE : Should work : compile, run and debug
And finally recreate your project from scratch (very important : don't import old project !!!!)
After that, you can take a coffee :)
|
|
|
Re: Error with GDB version [message #1856613 is a reply to message #1855168] |
Sat, 17 December 2022 12:56  |
Eclipse User |
|
|
|
Lionel Reynaud wrote on Fri, 30 September 2022 08:00Hi
I have installed the latest Eclipse C++ CDT and I use TDM-GCC-64.
All work fine but impossible to debug.
I have this error :
Quote:Could not determine GDB version using command: gdb --version
gdbwrapper: AssignProcessToJobObject failed
When I try in the bin directory of TDM-GCC-64, I have the correct message :
Quote:
>gdb --version
GNU gdb (GDB) 8.3.1
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
I try all things since 2 days and I am desperate !
Please, an idea to solve this problem ?
Best regards,
Lionel
Is it fix it or not?
|
|
|
Powered by
FUDForum. Page generated in 0.02533 seconds