[Intel-gfx] i-g-t + GDB

Michael H Nguyen michael.h.nguyen at intel.com
Sat May 17 01:29:58 CEST 2014


Hi,

I am trying to step through i-g-t & libdrm source w/ GDB but single 
stepping seems erratic so I am guessing the build is optimized. Is 
changing "CFLAGS = -g -O2" to "CFLAGS = -g -O0" the right thing to do? 
If so, how can I do that globally one time versus touching every 
Makefile inside the igt and libdrm projects? Maybe pass an additional 
parameter to autogen.sh, I'm not sure ?

Thanks,
Mike





More information about the Intel-gfx mailing list