Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] Use CDT debugger to attach to a running process

You have to start gdbserver manually on your target.
In eclipse, you specify the path to gdb not gdbserver.
Try using
/usr/bin/gdb
instead of /usr/bin/gdbserver
 
Marc


From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Xuan Chen
Sent: Sunday, June 27, 2010 6:13 PM
To: cdt-dev@xxxxxxxxxxx
Subject: [cdt-dev] Use CDT debugger to attach to a running process


This posting is related to a previous posting:

http://dev.eclipse.org/mhonarc/lists/cdt-dev/msg19589.html

Thanks, Marc, for your information.  I did not get the mails from this mailing list sent to my inbox any more (could be I accidently unsubscribe it? ).  So I thought I did not post it properly and posted it again.  

I tried your suggestion, and now, I put "/usr/bin/gdbserver" in the Main  page of the Debugger tab.  But I still got the same message, except this time, it complains about "Error while launching command: \usr\bin\gdbserver --version".
It seems to me, the debugger treat this as local gdb command, instead of the remote one.









Thanks,

Xuan Chen,  Problem Determination Tools for IBM i
(905) 413-3769 T/L 313-3769
xuanchen@xxxxxxxxxx


Back to the top