Debug mex function with CUDA

1 visualización (últimos 30 días)
davide
davide el 7 de Jul. de 2014
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

Respuestas (0)

Categorías

Más información sobre MATLAB Report Generator en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by