Re: [Mesa-dev] Debugging into Mesa Driver

2014-06-11 Thread Roshan Chaudhari
Thanks a lot for your help.! CFLAGS='-O0 -ggdb3' CXXFLAGS='-O0 -ggdb3' ./autogen.sh --prefix=/usr --libdir=/usr/lib/i386-linux-gnu --with-gallium-drivers=svga --with-dri-drivers= --enable-xa --disable-dri3; make; did the trick. On Thu, Jun 5, 2014 at 9:01 AM, Ian Romanick i...@freedesktop.org

Re: [Mesa-dev] Debugging into Mesa Driver

2014-06-05 Thread Pekka Paalanen
On Wed, 4 Jun 2014 21:46:38 -0700 roshan chaudhari rgc...@gmail.com wrote: Thanks for reply. I have added CFLAGS='-Og -ggdb3' CXXFLAGS='-Og -ggdb3' into configure file and ran The advice was to add those to the configure command line, not into the configure file. Undo all your edits from

Re: [Mesa-dev] Debugging into Mesa Driver

2014-06-05 Thread Timothy Arceri
On Wed, 2014-06-04 at 21:46 -0700, roshan chaudhari wrote: Thanks for reply. I have added CFLAGS='-Og -ggdb3' CXXFLAGS='-Og -ggdb3' into configure file and ran ./configure --enable-debug ; make; make install Where are you installing it to?? You don't really want to blow away Ubuntu's

Re: [Mesa-dev] Debugging into Mesa Driver

2014-06-05 Thread Ian Romanick
On 06/04/2014 09:46 PM, roshan chaudhari wrote: Thanks for reply. I have added CFLAGS='-Og -ggdb3' CXXFLAGS='-Og -ggdb3' into configure file and ran ./configure --enable-debug ; make; make install but still it did not step into driver. Are you sure it's using the driver you built

[Mesa-dev] Debugging into Mesa Driver

2014-06-04 Thread roshan chaudhari
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

Re: [Mesa-dev] Debugging into Mesa Driver

2014-06-04 Thread Brian Paul
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

Re: [Mesa-dev] Debugging into Mesa Driver

2014-06-04 Thread Ian Romanick
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

Re: [Mesa-dev] Debugging into Mesa Driver

2014-06-04 Thread roshan chaudhari
Thanks for reply. I have added CFLAGS='-Og -ggdb3' CXXFLAGS='-Og -ggdb3' into configure file and ran ./configure --enable-debug ; make; make install but still it did not step into driver. On Wed, Jun 4, 2014 at 1:09 PM, Ian Romanick i...@freedesktop.org wrote: On 06/04/2014 11:14 AM, roshan