Launching gdb on (remote) target [message #84838] |
Wed, 29 October 2003 22:35 |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03647 seconds