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

2014-05-16 Thread Michael H Nguyen
On 05/16/2014 04:29 PM, Michael H Nguyen wrote: 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

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

2014-05-16 Thread Michael H Nguyen
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 th