Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ptp-dev] Debugger problem in CVS HEAD ?

Hi,

Is there any problem with the debugger on the latest code in CVS ?
I'm trying to debug a simple *Hello World* application, Linux x86, and
i'm getting the following error:

	Error on taks: 0 - Time out - Command start debugger

The Eclipse console output is as follows:

sessionCreate(0,60000)
bind(0.0.0.0/0.0.0.0:0)
port=45412
accept thread starting...
-> ProxyRuntimeSubmitJobCommand tid=5 debugArgs=--host=localhost
debugArgs=--debugger=gdb-mi debugArgs=--debugger_path=/usr/bin/gdb
debugArgs=--debug=8 debugArgs=--port=45412 jobNumProcs=1 debug=true
jobSubId=JOB_11876203274610 debugExecName=sdm
workingDir=/opt/home/ptp/runtime-ptp-europa/hello execName=hello
execPath=/opt/home/ptp/runtime-ptp-europa/hello/Debug queueId=16777219
debugExecPath=/opt/home/ptp/workspace-ptp-3.3/org.eclipse.ptp.linux.x86/bin
ORTE@Local:   ORTE_SubmitJob (5): debugArgs=--host=localhost
ORTE@Local: Debugging 1 processes of job
'/opt/home/ptp/runtime-ptp-europa/hello/Debug/hello'
ORTE@Local: 	program name
'/opt/home/ptp/runtime-ptp-europa/hello/Debug/hello'
ORTE@Local: About to launch
debugger: /opt/home/ptp/workspace-ptp-3.3/org.eclipse.ptp.linux.x86/bin/sdm on 2 procs
ORTE@Local: SPAWNED [error code 0 = 'Success'], now unlocking
ORTE@Local: NEW JOB (JOB_11876203274610,16777220,2)
ORTE@Local: registering IO forwarding - name = ''
ORTE@LocalProxyRuntimeClient recieved event 0 transid=5
ORTE@LocalProxyRuntimeClient recieved event 220 transid=4
(16777219,1,16777220,3,jobSubId=JOB_11876203274610,name=job02,jobState=STARTED)
ORTE@LocalProxyRuntimeClient recieved event 223 transid=4
(16777220,1,16777221,5,name=0,processState=STARTING,processNodeId=16777218,processIndex=0,processPID=0)
ORTE@LocalProxyRuntimeClient recieved event 230 transid=4
(1,16777220,1,jobState=RUNNING)
debug: received connected event
accept thread exiting...
debug: waiting for connect
event thread starting...
*** SEND COMMAND: Start debugger, tasks: 0
-> ProxyDebugStartSessionCommand tid=2
hello /opt/home/matinata/runtime-ptp-europa/hello/Debug /opt/home/matinata/runtime-ptp-europa/hello
----- debugger error: Time out - Command Start debugger on Tasks: 0
------------
calling session finish***** Debugger event:
org.eclipse.ptp.debug.external.core.cdi.event.ErrorEvent@6ed964

ORTE@Local: sdm: shutdown completed
debug: received disconnected event
event thread exited
ORTE@Local: MI: SEND -gdb-set environment OMPI_MCA_ns_nds_jobid=2
Debug server failed to connect
ORTE@Local: MI: RECV ~"Using host libthread_db library
\"/lib/libthread_db.so.1\".\n"
ORTE@Local: MI: RECV (gdb) 
ORTE@Local: MI: RECV ^done
ORTE@Local: (gdb) 
ORTE@Local: MI: SEND -gdb-set environment OMPI_MCA_ns_nds_vpid=0
ORTE@Local: MI: RECV ^done
ORTE@Local: (gdb) 
ORTE@Local: MI: SEND -gdb-set environment OMPI_MCA_ns_nds_num_procs=1
ORTE@Local: MI: RECV ^done
ORTE@Local: (gdb) 
ORTE@Local: MI: SEND -gdb-set confirm off
ORTE@Local: MI: RECV ^done
ORTE@Local: (gdb) 
ORTE@Local: MI: SEND -gdb-version
ORTE@Local: MI: RECV ~"GNU gdb Red Hat Linux (6.5-15.fc6rh)\n"
ORTE@Local: MI: RECV ~"Copyright (C) 2006 Free Software Foundation,
Inc.\n"
ORTE@Local: MI: RECV ~"GDB is free software, covered by the GNU General
Public License, and you are\n"
ORTE@Local: MI: RECV ~"welcome to change it and/or distribute copies of
it under certain conditions.\n"
ORTE@Local: MI: RECV ~"Type \"show copying\" to see the conditions.\n"
ORTE@Local: MI: RECV ~"There is absolutely no warranty for GDB.  Type
\"show warranty\" for details.\n"
ORTE@Local: MI: RECV ~"This GDB was configured as
\"i386-redhat-linux-gnu\".\n"
ORTE@Local: MI: RECV ^done
ORTE@Local: (gdb) 
ORTE@Local: SDM[8,0]: ------------------- gdb version: 6.500000

Also, there are the following related processes running:

ptp  5143  5142  5 11:32 ?
00:00:00 /opt/home/ptp/workspace-ptp-3.3/org.eclipse.ptp.linux.x86/bin/sdm --host=localhost --debugger=gdb-mi --debugger_path=/usr/bin/gdb --debug=8 --port=45412 --jobid=2
ptp  5144  5142  0 11:32 ?
00:00:00 /opt/home/ptp/workspace-ptp-3.3/org.eclipse.ptp.linux.x86/bin/sdm --host=localhost --debugger=gdb-mi --debugger_path=/usr/bin/gdb --debug=8 --port=45412 --jobid=2
ptp  5184  5143  0 11:32 ?        00:00:00 gdb -q -tty /dev/null -i
mi /opt/home/ptp/runtime-ptp-europa/hello/Debug/hello


Regards,
-- 
Ricardo M. Matinata
IDE/Hybrid, Linux on Cell/B.E. Development
LTC Systems Enablement | IBM Hortolandia, SP, Brazil



Back to the top