332,141 1-gdb-set cuda break_on_launch none 332,141 1^done 332,142 (gdb) 332,151 2-gdb-set cuda coalescing off 332,152 ~"Coalescing of the CUDA commands output is off.\n" 332,152 2^done 332,152 (gdb) 332,153 3-gdb-set cuda api_failures ignore 332,153 3^done 332,153 (gdb) 332,154 4-environment-cd /home/christos/cuda-workspace/cuda_eclipse_test1 332,154 4^done 332,154 (gdb) 332,155 5-gdb-set breakpoint pending on 332,155 5^done 332,155 (gdb) 332,155 6-gdb-set detach-on-fork on 332,155 6^done 332,156 (gdb) 332,156 7-enable-pretty-printing 332,156 7^done 332,156 (gdb) 332,157 8maintenance set python print-stack off 332,157 &"maintenance set python print-stack off\n" 332,157 8^done 332,157 (gdb) 332,158 9source .cuda-gdbinit 332,158 &"source .cuda-gdbinit\n" 332,158 &".cuda-gdbinit: No such file or directory.\n" 332,158 9^error,msg=".cuda-gdbinit: No such file or directory." 332,158 (gdb) 332,159 10-gdb-set target-async off 332,159 10^done 332,159 (gdb) 332,160 11-gdb-set auto-solib-add on 332,161 11^done 332,161 (gdb) 332,165 12-file-exec-and-symbols /home/christos/cuda-workspace/cuda_eclipse_test1/Debug/cuda_eclipse\ _test1 332,167 12^done 332,167 (gdb) 332,176 13-break-insert -f cuda_eclipse_test1.cu:52 332,193 13^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x0000000000400bd7"\ ,func="main()",file="cuda_eclipse_test1.cu",fullname="/home/christos/cuda-workspace/cuda_eclipse_tes\ t1/src/cuda_eclipse_test1.cu",line="52",times="0",original-location="cuda_eclipse_test1.cu:52"} 332,194 (gdb) 332,199 14-break-insert -t -f main 332,200 14^done,bkpt={number="2",type="breakpoint",disp="del",enabled="y",addr="0x0000000000400ba8",\ func="main()",file="cuda_eclipse_test1.cu",fullname="/home/christos/cuda-workspace/cuda_eclipse_test\ 1/src/cuda_eclipse_test1.cu",line="46",times="0",original-location="main"} 332,200 (gdb) 332,201 15-inferior-tty-set /dev/pts/2 332,201 15^done 332,201 (gdb) 332,205 16-exec-run 332,206 =thread-group-started,id="i1",pid="4477" 332,206 =thread-created,id="1",group-id="i1" 332,206 16^running 332,206 17-list-thread-groups --available 332,206 *running,thread-id="all" 332,206 (gdb) 332,210 =library-loaded,id="/lib64/ld-linux-x86-64.so.2",target-name="/lib64/ld-linux-x86-64.so.2",h\ ost-name="/lib64/ld-linux-x86-64.so.2",symbols-loaded="0",thread-group="i1" 332,215 =library-loaded,id="/opt/cuda/lib64/libcudart.so.5.0",target-name="/opt/cuda/lib64/libcudart\ .so.5.0",host-name="/opt/cuda/lib64/libcudart.so.5.0",symbols-loaded="0",thread-group="i1" 332,215 =library-loaded,id="/usr/lib64/libstdc++.so.6",target-name="/usr/lib64/libstdc++.so.6",host-\ name="/usr/lib64/libstdc++.so.6",symbols-loaded="0",thread-group="i1" 332,215 =library-loaded,id="/lib64/libm.so.6",target-name="/lib64/libm.so.6",host-name="/lib64/libm.\ so.6",symbols-loaded="0",thread-group="i1" 332,215 =library-loaded,id="/lib64/libgcc_s.so.1",target-name="/lib64/libgcc_s.so.1",host-name="/lib\ 64/libgcc_s.so.1",symbols-loaded="0",thread-group="i1" 332,215 =library-loaded,id="/lib64/libc.so.6",target-name="/lib64/libc.so.6",host-name="/lib64/libc.\ so.6",symbols-loaded="0",thread-group="i1" 332,216 =library-loaded,id="/lib64/libdl.so.2",target-name="/lib64/libdl.so.2",host-name="/lib64/lib\ dl.so.2",symbols-loaded="0",thread-group="i1" 332,216 =library-loaded,id="/lib64/libpthread.so.0",target-name="/lib64/libpthread.so.0",host-name="\ /lib64/libpthread.so.0",symbols-loaded="0",thread-group="i1" 332,216 =library-loaded,id="/lib64/librt.so.1",target-name="/lib64/librt.so.1",host-name="/lib64/lib\ rt.so.1",symbols-loaded="0",thread-group="i1" 332,237 ~"[Thread debugging using libthread_db enabled]\n" 332,239 *stopped,reason="breakpoint-hit",disp="del",bkptno="2",frame={addr="0x0000000000400ba8",func\ ="main",args=[],file="cuda_eclipse_test1.cu",fullname="/home/christos/cuda-workspace/cuda_eclipse_te\ st1/src/cuda_eclipse_test1.cu",line="46"},thread-id="1",stopped-threads="all",core="4" 332,239 (gdb) 332,262 &"warning: Can not parse XML OS data; XML support was disabled at compile time\n" 332,263 17^error,msg="Can not fetch data now.\n" 332,263 (gdb) 332,338 18-list-thread-groups 332,338 18^done,groups=[{id="i1",type="process",pid="4477",executable="/home/christos/cuda-workspace\ /cuda_eclipse_test1/Debug/cuda_eclipse_test1",cores=["4"]}] 332,340 (gdb) 332,365 19-cuda-info-kernels 332,365 19^done,InfoCudaKernelsTable={nr_rows="0",nr_cols="9",hdr=[{width="1",alignment="1",col_name\ ="current",colhdr=" "},{width="6",alignment="1",col_name="kernel",colhdr="Kernel"},{width="3",alignm\ ent="1",col_name="device",colhdr="Dev"},{width="4",alignment="1",col_name="grid",colhdr="Grid"},{wid\ th="8",alignment="1",col_name="sms_mask",colhdr="SMs Mask"},{width="7",alignment="1",col_name="gridD\ im",colhdr="GridDim"},{width="8",alignment="1",col_name="blockDim",colhdr="BlockDim"},{width="4",ali\ gnment="1",col_name="name",colhdr="Name"},{width="4",alignment="-1",col_name="arguments",colhdr="Arg\ s"}],body=[]} 332,366 (gdb) 332,393 20-list-thread-groups 332,393 20^done,groups=[{id="i1",type="process",pid="4477",executable="/home/christos/cuda-workspace\ /cuda_eclipse_test1/Debug/cuda_eclipse_test1",cores=["4"]}] 332,393 (gdb) 332,410 21-list-thread-groups i1 332,411 21^done,threads=[{id="1",target-id="Thread 0x7ffff7d77720 (LWP 4477)",frame={level="0",addr=\ "0x0000000000400ba8",func="main",args=[],file="cuda_eclipse_test1.cu",fullname="/home/christos/cuda-\ workspace/cuda_eclipse_test1/src/cuda_eclipse_test1.cu",line="46"},state="stopped",core="4"}] 332,413 (gdb) 332,417 22-thread-select 1 332,417 23-stack-info-depth 11 332,417 22^done,new-thread-id="1",frame={level="0",addr="0x0000000000400ba8",func="main",args=[],fil\ e="cuda_eclipse_test1.cu",fullname="/home/christos/cuda-workspace/cuda_eclipse_test1/src/cuda_eclips\ e_test1.cu",line="46"} 332,417 (gdb) 332,418 23^done,depth="1" 332,418 (gdb) 332,419 24-stack-list-frames 332,419 24^done,stack=[frame={level="0",addr="0x0000000000400ba8",func="main",file="cuda_eclipse_tes\ t1.cu",fullname="/home/christos/cuda-workspace/cuda_eclipse_test1/src/cuda_eclipse_test1.cu",line="4\ 6"}] 332,420 (gdb) 332,436 25-thread-info 1 332,436 25^done,threads=[{id="1",target-id="Thread 0x7ffff7d77720 (LWP 4477)",frame={level="0",addr=\ "0x0000000000400ba8",func="main",args=[],file="cuda_eclipse_test1.cu",fullname="/home/christos/cuda-\ workspace/cuda_eclipse_test1/src/cuda_eclipse_test1.cu",line="46"},state="stopped",core="4"}] 332,436 (gdb) 336,407 26-exec-continue 336,408 26^running 336,409 *running,thread-id="all" 336,410 (gdb) 336,410 *stopped,reason="breakpoint-hit",disp="keep",bkptno="1",frame={addr="0x0000000000400bd7",fun\ c="main",args=[],file="cuda_eclipse_test1.cu",fullname="/home/christos/cuda-workspace/cuda_eclipse_t\ est1/src/cuda_eclipse_test1.cu",line="53"},thread-id="1",stopped-threads="all",core="4" 336,410 (gdb) 336,446 27-cuda-info-kernels 336,447 27^done,InfoCudaKernelsTable={nr_rows="0",nr_cols="9",hdr=[{width="1",alignment="1",col_name\ ="current",colhdr=" "},{width="6",alignment="1",col_name="kernel",colhdr="Kernel"},{width="3",alignm\ ent="1",col_name="device",colhdr="Dev"},{width="4",alignment="1",col_name="grid",colhdr="Grid"},{wid\ th="8",alignment="1",col_name="sms_mask",colhdr="SMs Mask"},{width="7",alignment="1",col_name="gridD\ im",colhdr="GridDim"},{width="8",alignment="1",col_name="blockDim",colhdr="BlockDim"},{width="4",ali\ gnment="1",col_name="name",colhdr="Name"},{width="4",alignment="-1",col_name="arguments",colhdr="Arg\ s"}],body=[]} 336,447 (gdb) 336,451 28-thread-select 1 336,451 29-stack-info-depth 11 336,451 28^done,new-thread-id="1",frame={level="0",addr="0x0000000000400bd7",func="main",args=[],fil\ e="cuda_eclipse_test1.cu",fullname="/home/christos/cuda-workspace/cuda_eclipse_test1/src/cuda_eclips\ e_test1.cu",line="53"} 336,452 (gdb) 336,452 29^done,depth="1" 336,452 (gdb) 336,467 30-thread-info 1 336,468 30^done,threads=[{id="1",target-id="Thread 0x7ffff7d77720 (LWP 4477)",frame={level="0",addr=\ "0x0000000000400bd7",func="main",args=[],file="cuda_eclipse_test1.cu",fullname="/home/christos/cuda-\ workspace/cuda_eclipse_test1/src/cuda_eclipse_test1.cu",line="53"},state="stopped",core="4"}] 336,468 31-list-thread-groups 336,468 (gdb) 336,468 31^done,groups=[{id="i1",type="process",pid="4477",executable="/home/christos/cuda-workspace\ /cuda_eclipse_test1/Debug/cuda_eclipse_test1",cores=["4"]}] 336,468 (gdb) 338,824 32-exec-continue 338,825 32^running 338,825 *running,thread-id="1" 338,827 (gdb) 338,830 =library-loaded,id="/usr/lib64/libcuda.so",target-name="/usr/lib64/libcuda.so",host-name="/u\ sr/lib64/libcuda.so",symbols-loaded="0",thread-group="i1" 338,831 =library-loaded,id="/lib64/libz.so.1",target-name="/lib64/libz.so.1",host-name="/lib64/libz.\ so.1",symbols-loaded="0",thread-group="i1" 338,842 32^error,msg="fatal: All CUDA devices are used for display and cannot be used while debuggi\ ng. (error code = 24)" 338,843 (gdb)