Debug mex function with CUDA

조회 수: 1 (최근 30일)
davide
davide 2014년 7월 7일
I would like to debug my mex function but encounter some problems.
The operations that run for doing so are the following:
I open matlab with the command matlab-Ddebbuger (where debbuger is the name of the debugger of the language used in the mex function, in my case -Dcuda-gdb)
Use command dbmex dbstop dbstep or dbstep to advance in the process of debugging
When I dbstep at the time of the call to mex function I get the following error message:
entry point located at address 0xcc025a5c Add breakpoints at the debugger prompt and issue a "continue" to resume execution of MATLAB. Program received signal SIGUSR1, User defined signal 1. 0x00007ffff58acd84 in pthread_cond_wait @ @ GLIBC_2.3.2 () from / lib/x86_64-linux-gnu/libpthread.so.0
and then Matlab crash. Could someone tell me where am I wrong or where he is the problem?
Sorry for my English. Thank you,
Davide

답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Report Generator에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by