Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Attaching debug failed in eclipse 3.7 + cdt 8.0
icon5.gif  Attaching debug failed in eclipse 3.7 + cdt 8.0 [message #775225] Thu, 05 January 2012 10:38 Go to next message
Eclipse UserFriend
I'm running Eclipse 3.7 + CDT 8.0 on Linux Redhat 9.0 with gdb version 5.3post-0.20021129.18rh.

I created a new "C/C++ Attach to Application" in "Debug Configurations". When I launch this debug, the following error window pops up instead of the process selection dialog:

'Launch xxxxx' has encountered a problem.
Error in final launch sequence
<< Details
Error in final launch sequence
Failed to execute MI command:
-gdb-set breakpoint pending on
Error message from debugger back end:
No symbol table is loaded. Use the "file" command.
No symbol table is loaded. Use the "file" command.
---------------------

This procedure can be done successfully on another computer with Debian system with gdb version 7.3-debian. I guess gdb version is the cause of the error. Because of running "gdb --interpreter=mi" manually, MI command "-gdb-set breakpoint pending on" meets the error "No symbol table is loaded. Use the "file" command" in gdb 5.3post, but succeeds in gdb version 7.3-debian.

This is only my guess. I wonder if there is gdb denpendency for Eclipse 3.7+CDT 8.0. Thank you.
Re: Attaching debug failed in eclipse 3.7 + cdt 8.0 [message #775230 is a reply to message #775225] Thu, 05 January 2012 10:46 Go to previous messageGo to next message
Eclipse UserFriend
CDT 8.0 supports GDB >= 6.6. We highly recommend the latest GDB if possible.

What you can try is use the old integration of GDB in CDT. It may work for your older GDB, although I haven't used it with a remote target:
http://wiki.eclipse.org/CDT/User/FAQ#How_can_I_choose_another_debugger_integration_for_CDT.3F

Marc
Re: Attaching debug failed in eclipse 3.7 + cdt 8.0 [message #775357 is a reply to message #775230] Thu, 05 January 2012 15:41 Go to previous message
Eclipse UserFriend
Marc, thank you. The old debugger integration works for me. My problem was solved.
Previous Topic:Can't start Tomcat6 in Eclipse Java EE IDE
Next Topic:debugging on (embedded) remote target
Goto Forum:
  


Current Time: Sun Jul 20 03:37:20 EDT 2025

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

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

Back to the top