On 06/04/2014 11:14 AM, roshan chaudhari wrote:
Hello,
         I just cloned the mesa driver from git repository. I am trying
to debug the opengl application with mesa driver. I am not sure which
flag to enable for debugging and where, I built a driver with
-enable-debug in Makefile and added --DEBUG in CFLAGS in Makefile but
still when I try to step into driver code it does not allow me. I am
doing it with gdb in ubuntu.

Can anyone please help me with that?

Try adding CFLAGS="-g -O0" CXXFLAGS="-g -O0" to your configure command.

-Brian


_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to