Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Launching gdb on (remote) target
Launching gdb on (remote) target [message #84838] Wed, 29 October 2003 22:35
Eclipse UserFriend
Originally posted by: tclement.apcc.com

So far no luck launching gdb on the target using Eclipse CDT.
Any further suggestions would be greatly appreciated.

I tried this statement 'ssh -l user 159.215.65.209 gdb myprogramname'
(which works just fine on the command line)
in the GDB Debugger, Cygwin GDB Debugger and GDB Server
fields, double-quoted, single-quoted and not quoted.
Each time, I get this error: "Failed Launching CDI Debugger: Error
creating session: Exec error:Launching failed"

DETAILS:
I am using Eclipse 2.1.1 with CDT 1.2.0 (on Windows 2000 host) and trying
to connect to a NetBSD 1.6ZD (ix86) target running gdb 5.3.
The target does not support GDB Server 5.3 or greater(yet), so I am trying
to work-around by launching gdb on the target, and debugging remotely from
the
Eclipse CDT.

I also tried putting the line 'ssh -l user 159.215.65.209 gdb
myprogramname'
in a DOS batch file (remote.bat) and using
"c:\winnt\system32\cmd.exe \C" in the GDB Debugger: field, and
"remote.bat" in the GDB Command File: field.

The CDT Debugger gives me the "Failed Launching CDI Debugger: Error
creating session: Exec error:Launching failed" error.

The remote.bat file executes correctly on the command line.

Thanks,
Ted

Theodore Clement
Staff Firmware Engineer
AEG Research & Development
American Power Conversion
132 Fairgrounds Road
W. Kingston, RI 02892
Previous Topic:Debugging problem
Next Topic:Problems with cdt plugin on eclipse
Goto Forum:
  


Current Time: Fri Jul 19 05:20:33 GMT 2024

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

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

Back to the top