This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Compile without optimizations?


On Wed, Jan 30, 2002 at 01:43:33AM +0000, Salman Khilji wrote:
> How do I compile gdb without compiler optimizations?  I am stepping thru 
> some code and it is jumping back and forth and is really driving me nuts!

Same as anything else.  Set CFLAGS when you configure, or when you
make.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]