All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael H Nguyen <michael.h.nguyen@intel.com>
To: Intel Graphics Development <intel-gfx@lists.freedesktop.org>
Subject: i-g-t + GDB
Date: Fri, 16 May 2014 16:29:58 -0700	[thread overview]
Message-ID: <53769F76.3030405@intel.com> (raw)

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

             reply	other threads:[~2014-05-16 23:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-16 23:29 Michael H Nguyen [this message]
2014-05-17  0:30 ` i-g-t + GDB Michael H Nguyen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53769F76.3030405@intel.com \
    --to=michael.h.nguyen@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.