DDD를 이용한 원격 debugging 을 해보려고 합니다.
아래와 같이 설명되어 있는 Internet 문서를 보고 해보려고 하는데, 잘 안되네요
제 환경은 일단 Target 도 x86이고 Host도 x86 입니다
그리고 , debugging하려고 하는 program을 아래처럼 지정하면,
일단 Host에 있는 DDD가 수행되면서 "GDB could not be started"라는 Message가 나오네요,
Target에는 GDB를 실행해 놓은 상태이고요, Remote Host에서는 GDB를 수행하지 않은
상태인데요 ..
이런경우는 Remote Host에서도 GDB를 수행해야 하는 건가요?
어떤 문제때문에 이런 error가 나온건지 잘 몰라서 질문 드립니다.
조언 부탁 드립니다.
----------------------------------------------------------
Using DDD with a Remote Inferior Debugger
In order to run the inferior debugger on a remote host, you need remsh (called rsh on BSD systems) access on the remote host.
To run the debugger on a remote host hostname, invoke DDD as
ddd --host hostname remote-program
If your remote username differs from the local username, use
ddd --host hostname --login username remote-program
or
ddd --host username@hostname remote-program
instead.
댓글 달기