Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Error with GDB version
Error with GDB version [message #1855168] Fri, 30 September 2022 08:00 Go to next message
Lionel Reynaud is currently offline Lionel ReynaudFriend
Messages: 2
Registered: September 2022
Junior Member
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 Go to previous messageGo to next message
Lionel Reynaud is currently offline Lionel ReynaudFriend
Messages: 2
Registered: September 2022
Junior Member
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 Go to previous message
Davion Zaip is currently offline Davion ZaipFriend
Messages: 1
Registered: December 2022
Junior Member
Lionel Reynaud wrote on Fri, 30 September 2022 08:00
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


Is it fix it or not?
Previous Topic:C++ algorithms
Next Topic:Possibility of real-time indexing of includes and error highlighting
Goto Forum:
  


Current Time: Sun Jan 19 23:29:31 GMT 2025

Powered by FUDForum. Page generated in 0.03536 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top